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
GCP NEXT Tokyo GCP事例 CyberAgent Game事業 GKEで変える...
Search
CyberAgent SGE Engineer
September 06, 2016
Programming
4
3.7k
GCP NEXT Tokyo GCP事例 CyberAgent Game事業 GKEで変える開発スタイル
GCP NEXT World Tour Tokyo
事例紹介
「ゲーム業界の方必見!GCPのすごいところ」
発表資料
CyberAgent SGE Engineer
September 06, 2016
Tweet
Share
More Decks by CyberAgent SGE Engineer
See All by CyberAgent SGE Engineer
SREチームの立ち上げから5年間とこれから
sgeengineer
0
1.8k
サムザップにおけるNotionの 活用事例とPHPでのNotionAPIを利用した仕組み構築の紹介
sgeengineer
0
2.1k
Laravel OctaneをどうしてもPharで運用したい話
sgeengineer
2
2.6k
大規模Unityゲーム開発の設計事例 〜ドメイン駆動設計とDIコンテナを導入した一年を振り返る〜 / cedec2021-ddd
sgeengineer
2
15k
ロボットを動かすビジュアルプログラミングでできることはPHPでもできる!
sgeengineer
0
1.8k
PHP8版!Swooleのフレームワークを比べてみた
sgeengineer
1
2.8k
「戦国炎舞 -KIZNA-」で行ったAWSのコスト最適化の話
sgeengineer
0
1.9k
AirtestとPocoとOpenSTFによるUnity製スマートフォン向けゲームの実機自動テスト環境構築とその利用方法
sgeengineer
0
5.2k
PHPでgRPCって どこまでいけるの?
sgeengineer
0
5k
Other Decks in Programming
See All in Programming
testingを眺める
matumoto
1
130
私の後悔をAWS DMSで解決した話
hiramax
4
190
Introducing ReActionView: A new ActionView-compatible ERB Engine @ Rails World 2025, Amsterdam
marcoroth
0
510
ソフトウェアテスト徹底指南書の紹介
goyoki
1
140
意外と簡単!?フロントエンドでパスキー認証を実現する WebAuthn
teamlab
PRO
1
150
為你自己學 Python - 冷知識篇
eddie
1
340
テストカバレッジ100%を10年続けて得られた学びと品質
mottyzzz
2
470
機能追加とリーダー業務の類似性
rinchoku
2
940
MCPとデザインシステムに立脚したデザインと実装の融合
yukukotani
4
1.3k
Swift Updates - Learn Languages 2025
koher
2
430
Azure SRE Agentで運用は楽になるのか?
kkamegawa
0
1.4k
UbieのAIパートナーを支えるコンテキストエンジニアリング実践
syucream
2
820
Featured
See All Featured
How GitHub (no longer) Works
holman
315
140k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Optimizing for Happiness
mojombo
379
70k
Site-Speed That Sticks
csswizardry
10
810
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Embracing the Ebb and Flow
colly
87
4.8k
How to Think Like a Performance Engineer
csswizardry
26
1.9k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Transcript
ήʔϜۀքͷํඞݟ!GCP ͷ͍͢͝ͱ͜Ζ גࣜձࣾαΠόʔΤʔδΣϯτɹനҪɹӳ 2016/9/6 ʙGKEͰม͑Δ։ൃελΠϧʙ
• 吳䒭⠓爡؟؎غ٦ؒ٦آؑٝز • SGE窟䭍劤鿇䪮遭窟䭍㹓CTO • 涯❁խ薉 • ؒٝآص، • Twitter
@goodoo • Blog http://ameblo.jp/goodoo • DQ10 ּׅ(FB392-435) فؙٔه 偆蔓➂ ֶծ铩״
؟؎غ٦ؒ٦آؑٝزך٦ي✲噟
4(& </&95>4NBSUQIPOF(BNFT&OUFSUBJONFOU ήʔϜࣄۀʹܞΘΔࢠձ͕ࣾࣾॴଐ͢Δ৫
؎ٝؿٓ橆㞮
•CAךفٓ؎ك٦زؙٓؐس •AWS •GCP(GAEɺGCE) •ֻׁךؙٓؐس 植㖈⢪欽׃גְ橆㞮
僓ַאַגתׅ
剑鵚ך《穈
倜鋉،فٔך涪ׅח ֮ג䮶鵤
傀㶷ך橆㞮ך铬겗䠬 http://bit.ly/2by3DqT
Production橆㞮ה 涪橆㞮ךず♧䚍ך䬐⥂ ך̍
劤䔲חずׄזך http://bit.ly/2bNDdqc
Stagingהך䗍㦩ז䊴
رفٗ؎ָאְ ך2
儗ַַָ http://bit.ly/2c4tVlS
Ⰻ،فٔ؟٦غ ず儗חⴖ剏ְִ http://bit.ly/2bP11pg
إُؗٔذ؍ػحث֮גָ אְ ך3
أ؛٦ٕׅלׅקו אֻז http://bit.ly/2c5YSX3
ֿד
٦يך涪ח 倜זػٓت؎ي http://bit.ly/2bZhJDp
؝ٝذش䪮遭ח滠湡
ؚٕ٦فⰻח✲⢽ָ http://bit.ly/2bxMeU7
⯓➂ח㷕ע
؝ٝذشהְִל
#PSH http://research.google.com/pubs/pub43438.html
ؔ٦؛أزٖ٦ءّٝخ٦ ָٕזֽל麊欽ָ㔭ꨇ http://bit.ly/2cb6PNW
LVCFSOFUFT
涪أة؎ٕ㢌ִ
http://bit.ly/2bynn3t 《穈✲
ٗ٦ٕؕ涪橆㞮ה ؙٓؐس♳ך橆㞮הך ず♧䚍ך䬐⥂ ך̍
kubernetes + minikubeד㹋植 yaml
荈⹛⻉ ך2
Source Push ↓ Source build + Unit Test ↓ Web
API container docker build ↓ nginx container docker build ↓ migration ↓ deploy
醱侧ך橆㞮䩛鯪ח ך3
node Service + Pods branch A branch B branch C
؟٦غך侧孡חׇ׆⡲䧭דֹ
ث؛حزה橆㞮הך 穠ןאֽ ך4
node port:1234 /var/www/feature/1234 ⟃node.js⢪ג儗ך䊨㣗 node port:1235 /var/www/feature/1235 node port:1236 /var/www/feature/1236
node port:1237 /var/www/feature/1237 nginx 1234.example.com 1235.example.com 1236.example.com 1237.example.com server { listen 80; server_name ~^(?<port>\d+)\.example\.com; location / { set $url example.com; proxy_pass http://$url:${port}; } }
LVCFSOFUFT橆㞮ד װג http://bit.ly/2bTwRU4
ث؛حز殢〾הURL穠ןאֽ dev.example.com 1200.example.com 1312.example.com server { listen 80; server_name ~^(?<branch>.+)\.example\.com;
location / { set $url nginx-service-${branch}; proxy_pass http://$url.default.svc.cluster.local; } } nginxךService 䮶ⴓֽ欽 Service API Serverך nginx-service-dev nginx-service-1200 nginx-service-1312 Serviceせ
《穈⚥ךֿה http://bit.ly/2ccpCZ8
ذأزPodד㹋遤׃ג穄 Pod嶊ׅ ך
➙כJenkins؟٦غ♳ד ذأز㹋遤
ـٕ٦ؚٔ٦ٝرفٗ؎ Not Rolling-Update ך
http://bit.ly/2bP11pg Ⰻ،فٔ؟٦غ ず儗חⴖ剏ִ
䖤ך
橆㞮ךず♧䚍ך䬐⥂ ך
رفٗ؎鸞䏝ך♧㹀⻉ ך
اؿزؐؑ،ך غ٦آّٝ،حفָ䩛鯪ח ך
תה
涪橆㞮ח㼎ׅ 倜ז钠陎 http://bit.ly/2bzBYKV
http://bit.ly/2bP48NS 橆㞮ؕآُ،ٕח ⡲湫ׇ
את
㢌⻉ח㼎䘔׃竲ֽ 嚂חׅ麊欽ה ぢֹさֲֿהָ דֹ״ֲחז http://bit.ly/sygcE9
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠