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
3k
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
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
150
初心者向けAWS Securityの勉強会mini Security-JAWSを9ヶ月ぐらい実施してきての近況
cmusudakeisuke
0
120
iOS/Androidで同じUI体験をネ イティブで作成する際に気をつ けたい落とし穴
fumiyasac0921
1
110
B2B SaaS × AI機能開発 〜テナント分離のパターン解説〜 / B2B SaaS x AI function development - Explanation of tenant separation pattern
oztick139
2
220
The Role of Developer Relations in AI Product Success.
giftojabu1
0
120
誰も全体を知らない ~ ロールの垣根を超えて引き上げる開発生産性 / Boosting Development Productivity Across Roles
kakehashi
1
220
信頼性に挑む中で拡張できる・得られる1人のスキルセットとは?
ken5scal
2
530
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
28
12k
B2B SaaSから見た最近のC#/.NETの進化
sansantech
PRO
0
670
隣接領域をBeyondするFinatextのエンジニア組織設計 / beyond-engineering-areas
stajima
1
270
Terraform Stacks入門 #HashiTalks
msato
0
350
The Rise of LLMOps
asei
5
1.2k
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
95
5.2k
Rails Girls Zürich Keynote
gr2m
94
13k
Designing Experiences People Love
moore
138
23k
Documentation Writing (for coders)
carmenintech
65
4.4k
What's in a price? How to price your products and services
michaelherold
243
12k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Producing Creativity
orderedlist
PRO
341
39k
4 Signs Your Business is Dying
shpigford
180
21k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Side Projects
sachag
452
42k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
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!