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
AmazonCloudFrontで始めるお手軽簡単CDN
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
濱田孝治
April 19, 2018
Technology
2.5k
2
Share
AmazonCloudFrontで始めるお手軽簡単CDN
あなたのWebサイトも月◯◯円で爆速化できちゃうかも?
濱田孝治
April 19, 2018
More Decks by 濱田孝治
See All by 濱田孝治
事例に見るスマートファクトリーへの道筋〜工場データをAI Readyにする実践ステップ〜
hamadakoji
1
500
ExpoのインダストリーブースでみたAWSが見せる製造業の未来
hamadakoji
0
300
AWS re:Invent 2025で見たGrafana最新機能の紹介
hamadakoji
0
650
re:Inventにおける製造業のこれまでとこれから
hamadakoji
0
620
クラウドとリアルの融合により、製造業はどう変わるのか?〜クラスメソッドの製造業への取組と共に〜
hamadakoji
0
570
ハノーファーメッセ2025で見た生成AI活用ユースケース.pdf
hamadakoji
1
610
OTとITが手を取り合って進める製造業DXの進め方〜食品製造業でのDX事例を元に〜
hamadakoji
2
650
Grafana MCPサーバーによるAIエージェント経由でのGrafanaダッシュボード動的生成
hamadakoji
1
2.6k
製造業における生成AI活用のユースケースと関連技術要素(RAG,MCP)の解説
hamadakoji
0
290
Other Decks in Technology
See All in Technology
AIエージェントを構築して感じた、AI時代のCDKとの向き合い方
smt7174
1
230
QGISプラグイン CMChangeDetector
naokimuroki
1
110
Code Interpreter で、AIに安全に コードを書かせる。
yokomachi
0
3.8k
OBI+APMでお手軽にアプリケーションのオブザーバビリティを手に入れよう
kenshimuto
0
270
Databricksを用いたセキュアなデータ基盤構築とAIプロダクトへの応用.pdf
pkshadeck
PRO
0
300
3つのボトルネックを解消し、リリースエンジニアリングを再定義した話
nealle
0
420
新規サービス開発におけるReact Nativeのリアル〜技術選定の裏側と実践的OSS活用〜
grandbig
2
190
インフラを Excel 管理していた組織が 3 ヶ月で IaC 化されるまで
geekplus_tech
3
190
ログ基盤・プラグイン・ダッシュボード、全部整えた。でも最後は人だった。
makikub
5
1.8k
2026年に相応しい 最先端プラグインホストの設計<del>と実装</del>
atsushieno
0
110
Introduction to Bill One Development Engineer
sansan33
PRO
0
410
Azure PortalなどにみるWebアクセシビリティ
tomokusaba
0
180
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
28
2.5k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
160
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
520
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
480
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Accessibility Awareness
sabderemane
0
96
SEO for Brand Visibility & Recognition
aleyda
0
4.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
110
Transcript
1 2 A 4 41 8/0 9 A
2 70 • 1 • 9 I • @ 2
•
4
5 1 → 3 32 ↑
6 1 → 3 1 → 5
1 → 6 32 ↑ 90 ↑ 106%↑
7 1 → 3 1 → 5
1 → 6 1 → 7 1 → 10 32 ↑ 90 ↑ 106%↑ 113%↑ 123%↑
8 Web X Y New
Industry Benchmarks for Mobile Page Speed - Think With Google https://www.thinkwithgoogle.com/marketing-resources/data-measurement/mobile-page-speed-new-industry-benchmarks/
9 1 3 32%
1 5 90% 1 6 106% 1 7 113% 1 10 123%
10
10 " !
11 ! Web
12 C F D
13 l C l l CA l F l
C l C
14 Web
15 Web 1.
16 Web 1.
17 Web 1. 2.
18 Web 1. 2.
19 Web 1. 2.
3.
21 Web 1. 2.
3.
22 Web 1. 2.
3. ! !
23
24 Web Client Internet Web App Database
25 Client Internet Web App Database •
• Akamai •CloudFront •Cloud Flare • Nginx • Apache mod_cache • APCphp • API Gateway response cache • Amazon ElastiCache • redis • Memcached • Amazon DynamoDB Accelerator DAX
26 AWSConsole Amazon CloudFront Edge
27 CDN CloudFront
28 CDN CloudFront
29 CDN ! $"% # CloudFront
&
30 Web 1. 2.
3. ! !
31 Web 1. 2.
3. ! ! AmazonCloudFront
32 Amazon CloudFront
33 Amazon Cloud Front + Contents Delivery Network)CDN* % %
( ! "# $' &
34 %"Contents Delivery Network • Akamai • &
CDN $ • CloudFlare • !CDN WordPress# • Google Cloud CDN • GCP CDN
35 AmazonCloudFront41 .:2 '7( 36*58=;%%<),9 CloudFront #%&
ClientA ClientB ②%%+0 ③<) ①# ④# ⑤ ! <) '7($&"%/-
36 AmazonCloudFront&" ClientA ① DNS )$ DB '%+ *!
②IP ,xxx.cloudfront.net- )$ DB DNS ③%+Edge #( ④%+Edge CloudFront
37 AmazonCloudFront 2456 114
38
39 CloudFront ① EC2 ② EC21RDS
③ EC2RDS
40 ① ①EC2
41 ① CloudFront Client Route 53 www.example.com EC2
ELB
42 4-)① CloudFront4-5B+2C Client Route 53 www.example.com A<(#(" EC2 ELB
CloudFront '( 3 (#(". CloudFront %!& → D1*@ CloudFront!%!&) $A<(#("?, /;67> EC2D0:8 10 9=
43 ;52#① CloudFront;5<QH8R Client Route 53 www.example.com OG 1(1' CloudFront
CloudFront OG 1(1' .&"/:B !$ AN6E>P S3OG+0,#(17? @9 S3 OG+06E>PS3 IL *+2-1#MD Q3F4%# !)R=JCloudFront;5CK
44 ② ②EC2RDS
45 ② CloudFront Client Route 53 www.example.com ELB
EC2 RDS
46 0)%② CloudFront0)1 Client Route 53 www.example.com +7$$ ELB EC2
RDS CloudFront=7%+7% &; ! !8/ .5 >1:? CloudFront #%"$4( 2< 329CloudFront %$4-*6 ',
47 ③ ③EC2RDS
48 ③ CloudFront Client Route 53 www.example.com
ELB App RDS App App img wp- content/uploads/ NFS EC2
49 0)&③ CloudFront0)1 CloudFront Client :6%% *6%% ELB EC2 RDS
php jpg png js css Route 53 www.example.com S3 :6%% 5( $ S337 #&!%- 2 + *6%% " & 9/8. 4 ,'
50 ③ • WordPress& S3 #(!"$ • % )StaticPress
S3 WP Offload S3 Lite* • goofys'Linux→S3 %
51 '! ③ CloudFront'!( CloudFront Client /, $, ELB EC2
RDS S3 Route 53 www.example.com 2 S3Bucket + UploadsC S S JavaScript ◯ /wp-includes /wp-content Custom Origin WordPress*) $, HTML △0.#,1 /login.php /wp-admin Default(*) CloudFront-%"&
52
53 • CDN $%C 9 />KH • GET/HEAD/OPTION (<I •
URLB $%@L=;8F • +-!&,AF 6E"- J08F • Header / Cookie / Query Strings URL ?57 +-!&,AF '#-1 :2.G $%34D $%,*-)AF
54 %#&"*-31,%%4 • + 2 0 TTL
/( • HTTP& !!% & $& • . ')/( OK
55 *+2"03/BHO8F2!2 P • .23$ ; HeaderCookie Query Strings&13# 8F(3
M5 ;> • URL%C G *+2"03/: H • Whitelist6E '.3,284 = I %-)3&13# * +@7DE • *+ 2!2 .2 J 5?L9 M5NK9A<
56 )-1 ,2 • + . - Amazon CloudFront
• https://aws.amazon.com/jp/cloudfront/dynamic- content/ • CloudFront # %/$!1'(02 • https://docs.aws.amazon.com/ja_jp/AmazonCloudFro nt/latest/DeveloperGuide/Expiration.html • Amazon CloudFront (/ (2015"6&*) • https://dev.classmethod.jp/cloud/cloudfront-cache- control/
57
58 5;4627>-=71? 5;8/ CloudFront< IP"' *< .,CloudFront
CloudFront Client +9(!( ELB EC2 RDS CloudFront$%!&)#:0 CloudFront IP"'*<13
59 $ &#"1' CloudFront CloudFrontAWS WAF IP % ELB
EC2 RDS WAF IP % Client WAF !
60 4<3 526A.@6CB CloudFront Client CloudFront IP%9/1 ELB+ !#$(
;0 ELB EC2 RDS )7* &("'=: IP%9/1 WAF ELB !#$( IP %,>? -8''
61 1;0 3/5=928?> CloudFront( ! $:,. WAF ! $
ELB < :, CloudFront Client *6## ELB EC2 RDS CloudFront( &) +27- ! $" ' % WAF WAF &) +4! $'%" ELB < WAF
62 CloudFront
63 https://aws.amazon.com/jp/cloudfront-cdn/
64 https://aws.amazon.com/jp/cloudfront-cdn/
65 https://classmethod.jp/services/members/
66 https://classmethod.jp/services/members/
66 https://classmethod.jp/services/members/
67
68 • CDNCContents Delivery NetworkDWeb &?84/A7:<9; • Amazon
CloudFront2< @=- % -$ 3=-%-$*#+ 6> • , )"#')-(.!1 CloudFront 50 B