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
3k
paperboy.el
glidenote
1
4.3k
Terminal Study vol.2
glidenote
3
6.3k
2012-04-19-mysql-casual-vol3.pdf
glidenote
0
8.6k
Other Decks in Technology
See All in Technology
駆け出しリーダーとしての第一歩〜開発チームとの新しい関わり方〜 / Beginning Journey as Team Leader
kaonavi
0
120
なぜfreeeはハブ・アンド・スポーク型の データメッシュアーキテクチャにチャレンジするのか?
shinichiro_joya
2
400
Docker Desktop で Docker を始めよう
zembutsu
PRO
0
150
Reactフレームワークプロダクトを モバイルアプリにして、もっと便利に。 ユーザに価値を届けよう。/React Framework with Capacitor
rdlabo
0
120
完全自律型AIエージェントとAgentic Workflow〜ワークフロー構築という現実解
pharma_x_tech
0
330
AWSマルチアカウント統制環境のすゝめ / 20250115 Mitsutoshi Matsuo
shift_evolve
0
110
GoogleのAIエージェント論 Authors: Julia Wiesinger, Patrick Marlow and Vladimir Vuskovic
customercloud
PRO
0
130
comilioとCloudflare、そして未来へと向けて
oliver_diary
6
440
Amazon Q Developerで.NET Frameworkプロジェクトをモダナイズしてみた
kenichirokimura
1
200
0→1事業こそPMは営業すべし / pmconf #落選お披露目 / PM should do sales in zero to one
roki_n_
PRO
1
1.2k
2025年のARグラスの潮流
kotauchisunsun
0
790
Unsafe.BitCast のすゝめ。
nenonaninu
0
200
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Being A Developer After 40
akosma
89
590k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Building an army of robots
kneath
302
45k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.5k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
240
Adopting Sorbet at Scale
ufuk
74
9.2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
960
How to Ace a Technical Interview
jacobian
276
23k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Gamification - CAS2011
davidbonilla
80
5.1k
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!