-
Notifications
You must be signed in to change notification settings - Fork 4
CloudFrontについてのメモ
mechamogera edited this page Aug 9, 2012
·
2 revisions
-
CloudFrontではGet、Headメソッドのみのサポートとなる(Postがサポート予定)
-
PostやPutなどは403エラーが返る
-
参照
- GET /testで適当な内容を返すEC2を作成
- 作成したEC2をELBから利用できるように設定
- s3にバケットを作って適当なファイルを配置
- CloudFrontを作成
- 作成したs3バケットをoriginに設定する
- CloudFrontを編集
- Distribution SettingのOriginに作成したELBを追加
- Distribution SettingのBehaviorsにOrigin:ELB、Path Pattern:/testのBehaviorを追加
- CloudFrontにGET /testしてみる => OK
- CloudFrontにS3のファイルをGETしてみる => OK