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
Hisashi SOGA
PRO
September 26, 2017
Technology
0
1.1k
gcloud move 10 times in 4 hours
Google Cloud Platform の機能を利用して、4時間のメンテナンスで 10 台のインスタンスのリージョン移行を成功裏に complete した話
Hisashi SOGA
PRO
September 26, 2017
Tweet
Share
More Decks by Hisashi SOGA
See All by Hisashi SOGA
2025年春に見直したい、リソース最適化の基本
sogaoh
PRO
0
560
最近のSRE支援ニーズ考察 | sogaoh's LT @ Road to SRE NEXT@札幌
sogaoh
PRO
1
260
サーバーなしでWordPress運用、できますよ。
sogaoh
PRO
0
330
複業SRE、どこまでいける?++
sogaoh
PRO
0
73
複業SRE、どこまでいける?
sogaoh
PRO
0
370
Webアプリケーション周りのいろいろなアップグレード戦記
sogaoh
PRO
0
190
NPOと取り組むスモールスタートな業務IT化 | TRACK C8
sogaoh
PRO
0
98
業務委託やコミュニティメンバーでも活用できる IAM Identity Center
sogaoh
PRO
0
1.5k
PHPプロダクトのDeployをラクにするCLIツールたち
sogaoh
PRO
1
760
Other Decks in Technology
See All in Technology
Scale Security Programs with Scorecarding
ramimac
0
440
プラットフォームとしての Datadog / Datadog as Platforms
aoto
PRO
1
340
人とAIとの共創を夢見た2か月 #共創AIミートアップ / Co-Creation with Keito-chan
kondoyuko
1
710
What's Next in OpenShift Q2 CY2025
redhatlivestreaming
1
830
GitHub Coding Agent 概要
kkamegawa
1
1.7k
ソフトウェアは捨てやすく作ろう/Let's make software easy to discard
sanogemaru
10
5.8k
ゴリラ.vim #36 ~ Vim x SNS ~ スポンサーセッション
yasunori0418
1
360
OSMnx Galleryの紹介
mopinfish
0
150
Azure Developer CLI と Azure Deployment Environment / Azure Developer CLI and Azure Deployment Environment
nnstt1
1
130
AIに実況させる / AI Streamer
motemen
3
1.4k
TypeScript と歩む OpenAPI の discriminator / OpenAPI discriminator with TypeScript
kaminashi
1
150
Machine Intelligence for Vision, Language, and Actions
keio_smilab
PRO
0
500
Featured
See All Featured
How to Ace a Technical Interview
jacobian
276
23k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Raft: Consensus for Rubyists
vanstee
137
7k
Code Reviewing Like a Champion
maltzj
523
40k
Embracing the Ebb and Flow
colly
85
4.7k
Designing for humans not robots
tammielis
253
25k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Docker and Python
trallard
44
3.4k
Making Projects Easy
brettharned
116
6.2k
A designer walks into a library…
pauljervisheath
205
24k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
460
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