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
Deployment and rollback in Amazon ECS
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Kyosuke Ochimizu
March 12, 2021
Technology
1
610
Deployment and rollback in Amazon ECS
CloudNative Days Spring 2021 ONLINE での登壇資料です。
Kyosuke Ochimizu
March 12, 2021
Tweet
Share
More Decks by Kyosuke Ochimizu
See All by Kyosuke Ochimizu
ステートフルアプリケーションのコンテナ化の歴史/The journey of stateful containers
otty246
2
130
AWS Containers: State of the Union
otty246
0
120
Amazon EKS Auto Mode への移行手法を詳解/Deep Dive: Migrate to EKS Auto Mode
otty246
1
500
Karpenter を用いた Kubernetes 環境でのコンテナ活用最適化/Optimizing Container Workloads using Karpenter on Kubernetes
otty246
1
340
AWS Developer Live Show「難しい事抜きでまずはアプリケーションをコンテナ化してみよう」/ Let's try containerizing your application
otty246
0
250
[JAWS-UG コンテナ支部 #22] AWS コンテナサービスアップデート/JAWS-UG Containers 22
otty246
2
880
AWS コンテナサービスアップデート / JAWS-UG コンテナ支部 #18 / JAWS-UG Container 18-1
otty246
0
1.7k
Other Decks in Technology
See All in Technology
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
960
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
230
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
2.3k
Greatest Disaster Hits in Web Performance
guaca
0
260
Digitization部 紹介資料
sansan33
PRO
1
6.8k
Amazon Bedrock Knowledge Basesチャンキング解説!
aoinoguchi
0
150
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
590
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
470
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
630
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
460
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
460
Featured
See All Featured
Crafting Experiences
bethany
1
49
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
76
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
AI: The stuff that nobody shows you
jnunemaker
PRO
2
260
For a Future-Friendly Web
brad_frost
182
10k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
220
Transcript
Amazon ECS で考える デプロイメントと ロールバック Kyosuke Ochimizu
⾃⼰紹介 2 Kyosuke Ochimizu (落⽔ 恭介) Specialist Solutions Architect, Containers
/ Amazon Web Services Japan Ø SIer Ø 教育業界ベンチャー Ø Cloud Integrator Ø サポートチーム / Amazon Web Services Japan Ø 現在のロール 好きな AWS サービス: Amazon Elastic Container Service (Amazon ECS)
デプロイパイプライン 3 Source Build Test Deploy • アプリケーションコード • 設定
• 依存ライブラリ • テストコード • コンパイル • Unit テスト • 静的解析 • コンテナイメージの 作成 • 結合テスト • 負荷テスト • 本番環境にデプロイ
パイプライン外でのロールバック 4 Source Build Test Deploy Rollback
ロールバックを考慮したパイプライン 5 Source Build Test Deploy Prod Monitoring Rollback
ECS で考えるデプロイパイプライン 6 Source Build Test Deploy 例) AWS CodePipeline
AWS CodeBuild AWS CodeBuild AWS CodeCommit CodePipeline deploy action
パイプライン外でのロールバック 7 AWS CodePipeline AWS CodeBuild AWS CodeBuild AWS CodeCommit
CodePipeline deploy action UpdateService / CreateDeployment previous stable TaskDefinition
ロールバックを考慮したパイプライン 8 AWS CodePipeline AWS CodeBuild AWS CodeBuild AWS CodeCommit
CodePipeline deploy action AWS CodeDeploy Rollback
ロールバックを考慮したパイプライン 9 AWS CodePipeline AWS CodeBuild AWS CodeBuild AWS CodeCommit
CodePipeline deploy action AWS CodeDeploy Rollback Alarm Rollback
まとめ 10 Amazon ECS で考えるデプロイメントとロールバック • パイプライン外でのロールバック Ø 以前の安定稼働していたタスク定義のリビジョンをデプロイ •
ロールバックを考慮したパイプライン Ø デプロイ状況をモニタリングし、必要に応じてロールバックを要求 Ø メトリクスとして観測可能な場合、 CloudWatch アラームによる⾃動ロールバックも可能
Thank you ! 11