Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CloudFront のオリジン保護アップデート(マネージドプレフィックスリスト、OAC)
Search
YAMASHITA Mitsuhiro(山下 光洋)
November 23, 2022
Technology
0
760
CloudFront のオリジン保護アップデート(マネージドプレフィックスリスト、OAC)
2022/11/24 APNオンラインセミナー「2022年のAWSアップデートを 振り返ろう ~Season 4~」で発表した資料です。
YAMASHITA Mitsuhiro(山下 光洋)
November 23, 2022
Tweet
Share
More Decks by YAMASHITA Mitsuhiro(山下 光洋)
See All by YAMASHITA Mitsuhiro(山下 光洋)
yamashita-kumonokai-vol11.pdf
yamamanx
0
390
Amazon Location Service入門ハンズオン
yamamanx
0
700
AWS re:Invent 2022 re:Cap セキュリティ
yamamanx
0
84
AWSを理解するということ~JAWS DAYS 2022
yamamanx
0
250
Amazon Connectで 自動化による日直からの解放
yamamanx
0
700
Webサイトのモニタリングを可視化する選択肢
yamamanx
0
460
Amazon Connectで自動化はじめました
yamamanx
1
580
Other Decks in Technology
See All in Technology
Amplifyとゼロからはじめた AIコーディング。失敗と気づき
mkdev10
1
150
問 1:以下のコンパイラを証明せよ(予告編) #kernelvm / Kernel VM Study Kansai 11th
ytaka23
3
590
20250514 1Passwordを使い倒す道場 vol.1
east_takumi
0
130
Datadog のトライアルを成功に導く技術 / Techniques for a successful Datadog trial
nulabinc
PRO
0
160
ソフトウェアテスト 最初の一歩 〜テスト設計技法をワークで体験しながら学ぶ〜 #JaSSTTokyo / SoftwareTestingFirstStep
nihonbuson
PRO
2
190
クラウドネイティブ環境の脅威モデリング
kyohmizu
2
430
2025年8月から始まるAWS Lambda INITフェーズ課金/AWS Lambda INIT phase billing changes
quiver
1
1.1k
DynamoDB のデータを QuickSight で可視化する際につまづいたこと/stumbling-blocks-when-visualising-dynamodb-with-quicksight
emiki
0
170
ペアーズにおける評価ドリブンな AI Agent 開発のご紹介
fukubaka0825
9
2.7k
LangfuseではじめるAIアプリのLLMトレーシング
codenote
0
190
LLM アプリケーションのためのクラウドセキュリティ - CSPM の実装ポイント-
osakatechlab
0
440
テストコードにはテストの意図を込めよう(2025年版) #retechtalk / Put the intent of the test 2025
nihonbuson
PRO
10
1.8k
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
14
1.5k
Agile that works and the tools we love
rasmusluckow
329
21k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.8k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
5
570
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Optimising Largest Contentful Paint
csswizardry
37
3.2k
How STYLIGHT went responsive
nonsquared
100
5.5k
The World Runs on Bad Software
bkeepers
PRO
68
11k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
The Invisible Side of Design
smashingmag
299
50k
Transcript
2022年のAWSアップデートを 振り返ろう ~Season 4~ CloudFront のオリジン保護アップデート (マネージドプレフィックスリスト、OAC)
•山下 光洋 トレノケート株式会社 AWS認定インストラクター (ATP Award 2018,2019,2020
最優秀インストラクター、 2021,2022 APN AWS Top Engineers, All Certification ) クラウドトレーニングアドボケイト プロトタイプビルダー Twitter: @yamamanx 自己紹介
年表 1990 2000 2010 2020 🟠1995 🟠1997 🟠2002 🟠2003 🟠2011
🟠2009 🟠2008 🟠2014 🟠2016 🟠2018 🟠2020 🟠2021 🟠2019 不動産業 ホテルシステム内製 バンド HP、予約フォー ム、掲示板内製 製造業 配送管理DB内製 ソフトウェア業 企業向けソフ トウェア受託開発 LuggageRoom Lotus Awards CTO Innovation Award ActRoom Lotus Technical Award 2009 for Best Architect 情シス業 コーディングに よる自動化 GoogleApps ヤマムギ ブログ AWSで自動化 kintone Twilio SendGrid JAWS DAYS, AWS Summit登 壇 AAI Champion AWS Best Instructor 2018 AWS Best Instructor 2019 AWS緑本出版 AWS Best Instructor 2020 AWS Linux入門ガイ ド出版 2021 APN AWS Top Engineers AWS DVA本出版 AWS SAP本出版
Trainocate #trainocate
Trainocate #trainocate
Our Locations • India • Japan • China • Thailand
• Vietnam • Philippines • Singapore • Malaysia • Indonesia • Hong Kong • Taiwan • Sri Lanka • Australia • USA • UAE
アジェンダ 1. これまでのオリジン保護 2. ALBオリジンの保護(マネージドプレフィックスリスト) 3. S3オリジンの保護(OAC)
これまでの オリジン保護 カスタムヘッダー+WAF カスタムヘッダー+ルーティング セキュリティグループ更新Lambda OAI
AWS Cloud Region Download distribution Application Load Balancer S3 これまでのオリジン保護
AWS Cloud Region Download distribution Application Load Balancer S3 カスタムヘッダー
+ WAF Custom Header Key: Value WAF Web ACL 5USD / 月 ルール 1USD / 月 リクエスト 0.6USD / 100万リクエスト
AWS Cloud Region Download distribution Application Load Balancer S3 カスタムヘッダー
+ ルーティング Custom Header Key: Value Target Group
AWS Cloud Region Download distribution Application Load Balancer S3 セキュリティグループ更新Lambda
Security group Lambda function https://ip-ranges.amazonaws.com/ip-ranges.json
AWS Cloud Region Download distribution Application Load Balancer S3 OAI
Orgin Access Identity
ALBオリジンの 保護 マネージドプレフィックスリスト
AWS Cloud Region Download distribution Application Load Balancer S3 セキュリティグループ更新Lambda
Security group Lambda function https://ip-ranges.amazonaws.com/ip-ranges.json • Lambdaのコスト • 運用コスト • コードメンテナンス
AWS Cloud Region Download distribution Application Load Balancer S3 マネージドプレフィックスリスト
2022年2月 Security group 【注意】 セキュリティグループルール数デフォルト制限値 60 CloudFrontのプレフィックスリストは 55でカウント
S3オリジンの 保護 OAC
AWS Cloud Region Download distribution Application Load Balancer S3 OAI
Orgin Access Identity • SSE-KMSをサポートしていない • 署名バージョン2をサポートしていないリージョンでの PUT には追加ヘッダーが必要 • 署名バージョン2をサポートしていないリージョンでの POSTはサポートしていない
AWS Cloud Region Download distribution Application Load Balancer S3 OAC
Orgin Access Control • SSE-KMSのサポート • 署名バージョン2をサポートしていないリージョンの PUT、 POSTもサポート
AWS Cloud Region Download distribution Application Load Balancer S3 OAC
Orgin Access Control KMS
署名バージョン2をサポートするリージョン 米国東部 (バージニア北部) 米国西部 (北カリフォルニア) 米国西部
(オレゴン) ヨーロッパ (アイルランド) アジアパシフィック (東京) アジアパシフィック (シンガポール) アジアパシフィック (シドニー) 南米 (サンパウロ) 【OAI】 ※ これらのリージョン以外はPUTに追加処理が必要、 POSTはサポートされない ※ 2022年12月以降のリージョンではOAIはサポートさ れない。
まとめ オリジンを保護する選択肢が増えました。 ALBオリジンはルーティングで保護してきました が、今年からセキュリティグループでマネージドプ レフィックスを使用してます。 S3はOAIを新たに使う必要はなし。 OAIもOACに移行しといたほうがよさそう。
re:Invent 2022を楽しみましょう♪
【ご案内】AWS Discovery Day 2022 リアル開催 12/6(火) 大阪、12/12(月) 福岡、12/19(月) 名古屋