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
Dockerホットデプロイ運用の話 / Operations for Zero Downtim...
Search
Akira Maeda
September 21, 2016
Technology
4
3.1k
Dockerホットデプロイ運用の話 / Operations for Zero Downtime Docker Deployment
Akira Maeda
September 21, 2016
Tweet
Share
More Decks by Akira Maeda
See All by Akira Maeda
Working With Terraform
glidenote
3
9k
Sensu Deep Talks #1
glidenote
14
3.2k
vim study vol.2
glidenote
1
160
octopress
glidenote
3
2.9k
paperboy.el
glidenote
1
4.2k
Terminal Study vol.2
glidenote
3
6.3k
2012-04-19-mysql-casual-vol3.pdf
glidenote
0
8.5k
Other Decks in Technology
See All in Technology
PHPからGoへのマイグレーション for DMMアフィリエイト
yabakokobayashi
1
170
Amazon Kendra GenAI Index 登場でどう変わる? 評価から学ぶ最適なRAG構成
naoki_0531
0
120
UI State設計とテスト方針
rmakiyama
2
650
LINE Developersプロダクト(LIFF/LINE Login)におけるフロントエンド開発
lycorptech_jp
PRO
0
120
AWS re:Invent 2024で発表された コードを書く開発者向け機能について
maruto
0
200
Storage Browser for Amazon S3
miu_crescent
1
240
APIとはなにか
mikanichinose
0
100
re:Invent をおうちで楽しんでみた ~CloudWatch のオブザーバビリティ機能がスゴい!/ Enjoyed AWS re:Invent from Home and CloudWatch Observability Feature is Amazing!
yuj1osm
0
130
re:Invent 2024 Innovation Talks(NET201)で語られた大切なこと
shotashiratori
0
320
Fanstaの1年を大解剖! 一人SREはどこまでできるのか!?
syossan27
2
170
Amazon VPC Lattice 最新アップデート紹介 - PrivateLink も似たようなアップデートあったけど違いとは
bigmuramura
0
200
LINEスキマニにおけるフロントエンド開発
lycorptech_jp
PRO
0
330
Featured
See All Featured
Being A Developer After 40
akosma
87
590k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Site-Speed That Sticks
csswizardry
2
190
Fashionably flexible responsive web design (full day workshop)
malarkey
405
66k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
The Language of Interfaces
destraynor
154
24k
How GitHub (no longer) Works
holman
311
140k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
Optimizing for Happiness
mojombo
376
70k
Adopting Sorbet at Scale
ufuk
73
9.1k
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Transcript
DockerϗοτσϓϩΠӡ༻ͷ JAWS Container #6 AKira Maeda Kaizen Platform, Inc.
I’m Akira Maeda @glidenote Kaizen Platform, Inc. ڞஶɹ αʔό/ΠϯϑϥΤϯδχΞཆಡຊ DevOpsฤ
‣ ࠂӡ༻Λվળ͢ΔαʔϏε ‣ ݄ʹЌϦϦʔε ‣ ࠂαʔϏεͳͷͰߴτϥϑΟοΫ ‣ ৴པੑɺϋΠύϑΥʔϚϯε͕ཁٻ͞ΕΔ
Kaizen Ad Infrastructure
&-# &-# &$ &$ #JH2VFSZ ैདྷͷߏ
"-# &-# &$4 &$ #JH2VFSZ ৽͍͠ߏ
ALB + ECS
‣ "-# 5BSHFU(SPVQ ͱ&$4 4FSWJDF ΛΈ߹Θͤ Δͱ%PDLFSͷϗοτσϓϩΠ͕༰қʹ࣮ݱग़དྷΔ ‣ ϩʔυόϥϯαԼͷ৽چίϯςφೖΕସ͑ΛࣗಈͰͬ ͯ͘ΕΔͷͰɺࣗલͰ࣮͠ͳͯ͘ྑ͍
3. docker push 4. ecs-deploy 5. docker pull 2. docker
build, test 1. git merge deployment branch Deploy Flow
σϓϩΠલͷঢ়ଶ
σϓϩΠޙͷঢ়ଶ
σϓϩΠྃ
αʔϏεஅແ͠ʹ ίϯςφͷೖΕସ͕͑Ͱ͖Δ
ৄ͍ͪ͜͠Βʹ http://blog.glidenote.com/blog/2016/09/02/alb-ecs-docker-hot-deploy/
ίϯςφೖΕସ͑ʹ͕͔͔࣌ؒΔ ‣ ෳίϯςφΛར༻͠ͳ͍߹ɺ͠ͳ͍ͱίϯςφͷೖ Εସ͕͑͘ɺ৽چίϯςφ͕ࠞࡏ͢Δ͕࣌ؒ͘ͳΔɻ ‣ ίϯςφʹର͢ΔΠϯελϯεɺ.JOJNVNIFBMUIZ QFSDFOUɺ.BYJNVNQFSDFOUͳͲͷௐ͕ඞཁ ‣ ݱࡏσϓϩΠϑϩʔͷதͰɺ FDTDMJTDBMFDBQBCJMJUZJBNTJ[F/
ͰσϓϩΠલʹΠϯελϯεΛഒʹ૿͠ɺσϓϩΠޙʹΠ ϯελϯεΛݩʹ͢Α͏ʹ͍ͯ͠Δɻ
͜ͷํ๏ͩͱίϯςφೖΕସ͕͍͑ Minimum healthy percent 100%, Maximum percent 200% SFGTIUUQTBXTBNB[PODPNCMPHTDPNQVUFBNB[POFDTMBVODIFTOFXEFQMPZNFOUDBQBCJMJUJFTDMPVEXBUDINFUSJDTTJOHBQPSFBOE GSBOLGVSUSFHJPOT
͜ͷํ๏ͩͱೖΕସ͑ʹ͕͔͔࣌ؒΔ Minimum healthy percent 50%, Maximum percent 100% SFGTIUUQTBXTBNB[PODPNCMPHTDPNQVUFBNB[POFDTMBVODIFTOFXEFQMPZNFOUDBQBCJMJUJFTDMPVEXBUDINFUSJDTTJOHBQPSFBOE
GSBOLGVSUSFHJPOT
ෳίϯςφ ‣ "-#ͩͱ%ZOBNJD1PSU.BQQJOHʹରԠͯ͠ ͍ΔͷͰɺෳίϯςφͩͱσϓϩΠߴԽͰ͖ Δ ‣ ͨͩσϓϩΠͷͨΊʹ৽نίϯςφͷ$16ɺϝ ϞϦͳͲͷϦιʔεΛ༨Β͓ͤͯ͘ͷͰɺϦιʔε ޮѱ͍
·ͱΊ ‣ "-# &$4Ͱ%PDLFSͷϗοτσϓϩΠ͕༰қʹ ͳͬͨ ‣ σϓϩΠ࣌ͷίϯςφೖΕସ͑ߴԽʹɺ·ͩվ ળͷ༨͕͋Δ
DockerΓ͍ͨਓ͓ͪͯ͠·͢!! https://kaizenplatform.com/hiring/engineer.html#infrastructure_engineer
Thanks!