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.5k
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
930
サムザップにおけるNotionの 活用事例とPHPでのNotionAPIを利用した仕組み構築の紹介
sgeengineer
0
1.3k
Laravel OctaneをどうしてもPharで運用したい話
sgeengineer
1
1.6k
大規模Unityゲーム開発の設計事例 〜ドメイン駆動設計とDIコンテナを導入した一年を振り返る〜 / cedec2021-ddd
sgeengineer
1
10k
ロボットを動かすビジュアルプログラミングでできることはPHPでもできる!
sgeengineer
0
1.1k
PHP8版!Swooleのフレームワークを比べてみた
sgeengineer
1
2k
「戦国炎舞 -KIZNA-」で行ったAWSのコスト最適化の話
sgeengineer
0
1.3k
AirtestとPocoとOpenSTFによるUnity製スマートフォン向けゲームの実機自動テスト環境構築とその利用方法
sgeengineer
0
4k
PHPでgRPCって どこまでいけるの?
sgeengineer
0
4.2k
Other Decks in Programming
See All in Programming
try! Swift Tokyo 初参加報告LT
hinakko2
0
220
if constexpr文はテンプレート世界のラムダ式である
faithandbrave
3
650
Git Rebase
bkuhlmann
11
1.6k
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
430
ゆるい個人開発のススメ
kuroppe1819
10
990
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
1
590
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
8
4.1k
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
1
930
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
490
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
150
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
800
Snowflakeで眠ったデータを起こそう!
estie
0
120
Featured
See All Featured
Facilitating Awesome Meetings
lara
42
5.6k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
25
2.3k
Into the Great Unknown - MozCon
thekraken
10
990
StorybookのUI Testing Handbookを読んだ
zakiyama
13
4.6k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.9k
How GitHub (no longer) Works
holman
304
140k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
125
32k
Done Done
chrislema
178
15k
What’s in a name? Adding method to the madness
productmarketing
PRO
16
2.6k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
9
8.3k
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
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠