Skip to content

CloudFrontについてのメモ

mechamogera edited this page Aug 9, 2012 · 2 revisions

methodについて

multi-originを試してみる

  1. GET /testで適当な内容を返すEC2を作成
  2. 作成したEC2をELBから利用できるように設定
  3. s3にバケットを作って適当なファイルを配置
  4. CloudFrontを作成
  • 作成したs3バケットをoriginに設定する
  1. CloudFrontを編集
  2. Distribution SettingのOriginに作成したELBを追加
  3. Distribution SettingのBehaviorsにOrigin:ELB、Path Pattern:/testのBehaviorを追加
  4. CloudFrontにGET /testしてみる => OK
  5. CloudFrontにS3のファイルをGETしてみる => OK
Clone this wiki locally