Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
GCPでFastlyを使う5つの理由
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
sakajunquality
November 16, 2018
Technology
3.1k
6
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GCPでFastlyを使う5つの理由
酔いどれGCPUG 2018/11/16
https://gcpug-tokyo.connpass.com/event/106834/
sakajunquality
November 16, 2018
More Decks by sakajunquality
See All by sakajunquality
AIと共生する開発者プラットフォーム:バクラクのモノレポ×マイクロサービス基盤
sakajunquality
3
8.1k
DevFest Tokyo 2023: Google Cloudでチームで安全にデプロイをする
sakajunquality
10
2k
Cloud Spanner Monitoring 入門 / Cloud Spanner Monitoring Introduction
sakajunquality
1
1.6k
GKE Overview March 2021: Introducing Autopilot
sakajunquality
1
940
Introduction to Cloud Run 2021
sakajunquality
3
1.7k
Building Reliable Distributed Systems on GCP
sakajunquality
1
330
Istio 1.5 Updates
sakajunquality
4
2.1k
GCP 101: Getting Started through Cloud Run
sakajunquality
6
3.9k
Seeking Observability, Getting Started with Service Mesh
sakajunquality
0
230
Other Decks in Technology
See All in Technology
ビジネス部門からPOを迎えての半年間の進歩と課題
zozotech
PRO
0
150
推論基盤と Scale-Up Interconnect の現状と制約から俯瞰する技術動向
markunet
2
490
"計画的無茶振り"を通してAIネイティブ世代の新人を育てる
subroh0508
1
110
バイブコーディングの特徴と「コケて直す」ループ
happysamurai294
0
110
Claude Code をローカルとサーバー上で利用した際の Bedrock 利用料をユーザー単位で一本化してみる
ohorig
0
170
Microsoft のサポート ライフサイクルを理解する
murachiakira
PRO
0
220
AWS DevOps Agentはどこまで任せられるか 〜機能の現在地と、機能拡張の実践〜
nyankotaro
0
260
Vue.jsのGitHubから学ぶ意思決定
yut0naga1_fa
1
320
小規模OSSモデルは サイバーセキュリティ業務に どこまで使えるか
bbrbbq
0
300
Agent 活用環境の構築・運用のための AWS サービスのご紹介/agentcore-for-building-and-operating-agents
ren8k
1
210
LLMの知識とAIエージェント
happysamurai294
0
110
dbt Semantic Layerで進めるenechainのデータ民主化
akizhou
1
280
Featured
See All Featured
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
450
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
GitHub's CSS Performance
jonrohan
1033
470k
KATA
mclloyd
PRO
35
16k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
68k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Exploring anti-patterns in Rails
aemeredith
4
540
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
590
Faster Mobile Websites
deanohume
310
32k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
590
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Transcript
GCPでFastlyを使う5つの理由 2018.11.16 #酔いどれ #gcpug @sakajunquality
- Google Developers Experts (Since Oct. 2018) - Software Engineer
@ Ubie株式会社 (Since Oct. 2018) - 最近やってること #docker #kubernetes - 好きなこと #coffee #beer - 好きなGCPサービス #BigQuery #GKE #Cloud Build @sakajunquality
こんなツイートが多いですが、Fastlyの人ではありません @sakajunquality
Ubie
CDN
- Content Delivery Network CDN
- Content Delivery Network - GCP: Cloud CDN - other
CDNs… - Fastly - Akamai - CloudFlare - CloudFront - ... CDN
CDN - Static Content - .js .css .jpg .png ...
CDN - Static Content - .js .css .jpg .png …
- Dynamic Content - html / json ...
fastly
Fastly Captured from: https://www.fastly.com/edge-cloud-platform
1. 設定変更・キャッシュのパージが 高速
- CDNの設定変更が高速 - オリジンの設定変更やキャッシュの設定変更 - 具体的には、150 milliseconds or less -
https://www.fastly.com/products/instant-purging 設定変更・キャッシュのパージが高速
Use Case: GCP移行 at Ubie - Heroku から GCP に載せ替えた
Use Case: GCP移行 at Ubie 1 Heroku (移行元)をオリジンにしてサービスを展開
Use Case: GCP移行 at Ubie 2 GCP (移行先)のオリジンを設定しておいて
Use Case: GCP移行 at Ubie 3 設定反映で切り替え
Use Case: GCP移行 at Ubie - 切り戻すときは、Fastlyでロールバックする(高速) - (裏でのデータの移行は必要だけど) -
フロントの切り替えは一瞬
2. L7のロードバランシングができる
L7 ロードバランシング - L7 = アプリケーションレイヤー - パスやホスト名などでオリジンを変えることができる - ヘルスチェックも併用すると、オリジンが落ちたときの切り替えも可能
L7 ロードバランシング 1 ひとつだけオリジンがあったとして・・・
L7 ロードバランシング 2 画像のパスはGCSにしたり
L7 ロードバランシング 3 特定のAPIはGAEにしたり...
3. HTTPヘッダーが自由に変更でき る
HTTPのヘッダー変更 1 - GAEやGCSに挟む場合、ホスト名を変える必要がある
HTTPのヘッダー変更 2 - オリジンに渡すときにパスを変更したいときがある
4. CDN Interconnect
CDN Interconnect - GCP/FastlyのパートナーシップによりNetwork Popの最適化 - CDN・オリジン間通信が高速!
5. BigQueryへアクセスログが保存 できる
BigQueryへアクセスログの保存 - アクセスログをBigQueryへストリーミング - マネージドでサーバー等は不要 - フォーマットを指定できる - 日付ごとにテーブルを分けられる
BigQueryにログを入れると・・・ 集計ができる!
BigQueryにログを入れると・・・ 集計ができる! 全然ヒットしてないじゃん!!!
集計できると・・・ - CDNのパフォーマンスを見ることができる - オリジンのアクセスログと比べたり - キャッシュのヒット率をみたり
他にも・・・ - GSuite SSO - Image Optimization - DDoS -
WAF - ...
まとめ
まとめ - 設定変更やキャッシュのパージが高速 - L7でのロードバランシングができる - HTTPヘッダーを自由に書き換えられる - CDN Interconnectのおかげでネットワークが近い
- BigQueryにアクセスログを入れることができる
まとめ (CDN全体に言えることだけど・・・) - Cacheのパージだけじゃなく - Cashのパージにも気をつける
Thank you