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
gcloud move 10 times in 4 hours
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Hisashi SOGA
PRO
September 26, 2017
Technology
1.2k
0
Share
gcloud move 10 times in 4 hours
Google Cloud Platform の機能を利用して、4時間のメンテナンスで 10 台のインスタンスのリージョン移行を成功裏に complete した話
Hisashi SOGA
PRO
September 26, 2017
More Decks by Hisashi SOGA
See All by Hisashi SOGA
2026年春から始めるOpenTelemetry | sogaoh's LT @ PHP Conference ODAWARA 2026
sogaoh
PRO
0
220
わが10年の叡智をぶつけたカオスなクラウドインフラが、なくなるということ。
sogaoh
PRO
1
1.6k
厳しい現実のクラウドインフラを理想形に引き戻そうとした120日 | sogaoh's session @ YAPC::Fukuoka 非公式リジェクトコン
sogaoh
PRO
0
130
わりとなんでもできちゃう Fargate Spot bastion (with ecsta とか) | sogaoh's LT @ キチピー リジェクトコン【非公式】 2025
sogaoh
PRO
0
120
2025年春に見直したい、リソース最適化の基本
sogaoh
PRO
0
1.1k
最近のSRE支援ニーズ考察 | sogaoh's LT @ Road to SRE NEXT@札幌
sogaoh
PRO
1
400
サーバーなしでWordPress運用、できますよ。
sogaoh
PRO
1
480
複業SRE、どこまでいける?++
sogaoh
PRO
0
140
複業SRE、どこまでいける?
sogaoh
PRO
0
480
Other Decks in Technology
See All in Technology
Terraformモジュールは、なぜ「魔境」化するのか
hayama17
1
120
Spring Boot における AOT Cache 活用テクニックと 起動時間改善事例
ntt_dsol_java
0
180
Javaで学ぶSOLID原則
negima
1
240
大規模災害時でも高い信頼性を維持するアプリケーション基盤の実現/nikkei-tech-talk46
nikkei_engineer_recruiting
0
120
形式手法特論:公平性制約の位相的特徴づけ #kernelvm / Kernel VM Study Kansai 12th
ytaka23
1
580
管理アカウント単一運用からAWS Organizationsに移行するの大変で滅
hiramax
0
320
AI時代の私の技術インプットとアウトプット術
tonkotsuboy_com
15
7.9k
さきさん文庫の書籍ができるまで
sakiengineer
0
320
layerx-fde-practices
cipepser
6
2.9k
APIテストとは?
nagix
0
160
Dynamic Workersについて
yusukebe
2
470
TypeScript Compiler APIとPHP-Parserを活用し、TypeScriptとPHPで型を共有する
shuta13
0
200
Featured
See All Featured
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
300
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.3k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
190
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
350
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Un-Boring Meetings
codingconduct
0
300
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
370
Design in an AI World
tapps
1
220
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
810
Rails Girls Zürich Keynote
gr2m
96
14k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
190
Transcript
gcloud move 10 times in 4 hours 2017/09/27 @sogaoh 1
Presentation Slide at https://gcpug-tokyo.connpass.com/event/66224/
AGENDA • ࣗݾհ • ϛογϣϯ • ରγεςϜ֓ཁ • ͜͏ͬͨ •
ϐϯν • ͓ΘΓʹ 2
ࣗݾհ • ીզɹԝ / Hisashi SOGA – Twitter : @sogaohɹ,
GitHub : sogaoh • Marketing Applications, Inc. / MApps – WebΞϯέʔτ࡞ɾ৴αʔϏε forSurvey – एճऩࠃNo.1ͷ MApps Panel • DevOpsਪਐࣨ – ࣄۀϦεΫ͔ΒձࣾΛकΔݱࡏ 5 ਓͷ Team – Data Center ͔Β Public Cloud ͷҠసͳͲʹऔΓΈத 3
ϛογϣϯ • γεςϜͷશαʔόʔͷϦʔδϣϯΛมߋ͢Δ – Ҋ݅ड࣌ͷʮ͓ଋʯ • ϝϯςφϯεʹͯ͠γεςϜΛࢭΊͯΑ͍ͷ̐࣌ؒ – ͱ͋Δฏͷະ໌ʹ࣮ࢪ 4
ରγεςϜ֓ཁ 5
͜͏ͬͨ • λʔϛφϧͱཧίϯιʔϧΛݟͳ͕Β • Global IPͷ༧ • Ҡߦͷ࣮ࢪ • Global
IP ઃఆ • ҎԼͷॱͰ • db×2ɾnas • cache • web × 4 • httpproxyɾreverse-proxy 6 $ gcloud compute addresses create [static-ip-xxx] \ --region [Ҡߦઌregion] $ gcloud compute instances move [instance] \ --zone [Ҡߦݩ] --destination-zone [Ҡߦઌ] $ gcloud compute instances describe [instance] --zone [Ҡߦઌ] ɹɹɹɹɹ $ gcloud compute instances delete-access-config [instance] \ -zone [Ҡߦઌ] --access-config-name [֬ೝͨ͠name] $ gcloud compute instances add-access-config [instance] \ --zone [Ҡߦઌ] \ --access-config-name [༧ͨ͠GlobalIP໊] \ --address [IPΞυϨε]
ϐϯν • ҠߦઌϦʔδϣϯͷϦιʔεׂΓ͕ͯΓͳ͍ʢGlobalIP:8ʣ • ࣄલਃ͕ඞཁͩͬͨ • GoogleαϙʔτͷϨεϙϯεʹײಈ • ࿈ܞγεςϜଆͷઃఆௐ •
Ұ୴ɺมߋޙͷGlobalIPΛՃ • ্͛ʹϦϑϨογϡ͕ඞཁͩͬͨ • ṖͷϨεϙϯελΠϜٸಅ 7
͓ΘΓʹ • ͜Ε͚ͩ؆୯ʹΛΫϦΞͰ͖ΔGCPੌ͍ • ॲཧ࣌ؒɻٳΜͰΔՋ͕ͳ͍ɻ • ੍࣌ؒݶͷ͋Δϛογϣϯͷফੌ͍ • Ϧϋʔαϧ͠ͳ͍ͱޭ͠ͳ͍ɻ४උॏཁɻ •
͜ΜͳνʔϜʹjoin͍ͨ͠ͱࢥͬͨํ↓ͥͻɹ 8 https://jp.stanby.com/ats/marketing-applications/jobs