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
LINE Developersプロダクト(LIFF/LINE Login)におけるフロントエンド開発
lycorptech_jp
PRO
0
120
MLOps の現場から
asei
6
630
サイバー攻撃を想定したセキュリティガイドライン 策定とASM及びCNAPPの活用方法
syoshie
3
1.2k
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
180
.NET 9 のパフォーマンス改善
nenonaninu
0
690
大幅アップデートされたRagas v0.2をキャッチアップ
os1ma
2
520
AI時代のデータセンターネットワーク
lycorptech_jp
PRO
1
280
生成AIのガバナンスの全体像と現実解
fnifni
1
180
NW-JAWS #14 re:Invent 2024(予選落ち含)で 発表された推しアップデートについて
nagisa53
0
250
LINEヤフーのフロントエンド組織・体制の紹介【24年12月】
lycorp_recruit_jp
0
530
プロダクト開発を加速させるためのQA文化の築き方 / How to build QA culture to accelerate product development
mii3king
1
260
Jetpack Composeで始めるServer Cache State
ogaclejapan
2
160
Featured
See All Featured
BBQ
matthewcrist
85
9.4k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Building Your Own Lightsaber
phodgson
103
6.1k
A Philosophy of Restraint
colly
203
16k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Music & Morning Musume
bryan
46
6.2k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
YesSQL, Process and Tooling at Scale
rocio
169
14k
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!