<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>okochang</author_name>
  <author_url>https://blog.hatena.ne.jp/okochang/</author_url>
  <blog_title>okochangの馬鹿でありがとう</blog_title>
  <blog_url>https://okochang.hatenablog.jp/</blog_url>
  <categories>
    <anon>AWS</anon>
  </categories>
  <description>最近、自分のテスト環境用にSSLサーバ証明書を買ったついでにEC2をリバースプロキシ、S3をバックエンドにした構成を整理してみた。 サーバの構成イメージは以下のような感じ。コンテンツはS3に置きたいし、カスタムドメインでSSLを使いたいって場合の構成。 環境がVPCであることは単純な私の好みなのでお気になさらずに。 S3設定 S3バケットのWebサイト機能を有効化（indexドキュメントとerrorドキュメントを配置） EC2からしかアクセス出来ないようにBucket Policyを設定（必須ではない） EC2のApacheに行う設定 mod_rewriteを使った場合 # Reverse P…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fokochang.hatenablog.jp%2Fentry%2F2012%2F11%2F08%2F095251&quot; title=&quot;S3をバックにEC2をリバースプロキシにする - okochangの馬鹿でありがとう&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/o/okochang/20121108/20121108093339.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-11-08 09:52:51</published>
  <title>S3をバックにEC2をリバースプロキシにする</title>
  <type>rich</type>
  <url>https://okochang.hatenablog.jp/entry/2012/11/08/095251</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
