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
540
最近のSRE支援ニーズ考察 | sogaoh's LT @ Road to SRE NEXT@札幌
sogaoh
PRO
1
240
サーバーなしでWordPress運用、できますよ。
sogaoh
PRO
0
320
複業SRE、どこまでいける?++
sogaoh
PRO
0
71
複業SRE、どこまでいける?
sogaoh
PRO
0
370
Webアプリケーション周りのいろいろなアップグレード戦記
sogaoh
PRO
0
190
NPOと取り組むスモールスタートな業務IT化 | TRACK C8
sogaoh
PRO
0
96
業務委託やコミュニティメンバーでも活用できる IAM Identity Center
sogaoh
PRO
0
1.5k
PHPプロダクトのDeployをラクにするCLIツールたち
sogaoh
PRO
1
760
Other Decks in Technology
See All in Technology
木を見て森も見る-モジュールが織りなすプロダクトの森
kworkdev
PRO
0
300
Platform Engineering for Private Cloud
cote
PRO
0
100
激動の一年を通じて見えてきた「技術でリードする」ということ
ktr_0731
8
8.4k
UIパフォーマンス最適化: AIを活用して100倍の速度向上を実現した事例
kinocoboy2
1
660
newmo の創業を支える Software Architecture と Platform Engineering
110y
5
590
テストコードにはテストの意図を込めよう(2025年版) #retechtalk / Put the intent of the test 2025
nihonbuson
PRO
11
2.2k
Next.jsと状態管理のプラクティス
uhyo
6
2.4k
Developer 以外にこそ使って欲しい Amazon Q Developer
mita
0
180
分解し、導き、託す ログラスにおける“技術でリードする” 実践の記録
hryushm
1
530
事業と組織から目を逸らずに技術でリードする
ogugu9
19
5.3k
Google CloudのAI Agent関連のサービス紹介
shukob
0
150
dbtとリバースETLでデータ連携の複雑さに立ち向かう
morookacube
0
1.6k
Featured
See All Featured
Facilitating Awesome Meetings
lara
54
6.4k
The World Runs on Bad Software
bkeepers
PRO
68
11k
GitHub's CSS Performance
jonrohan
1031
460k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Producing Creativity
orderedlist
PRO
344
40k
Gamification - CAS2011
davidbonilla
81
5.3k
How GitHub (no longer) Works
holman
314
140k
Making the Leap to Tech Lead
cromwellryan
133
9.3k
Fireside Chat
paigeccino
37
3.4k
Documentation Writing (for coders)
carmenintech
71
4.8k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
5
590
For a Future-Friendly Web
brad_frost
177
9.7k
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