Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Deployment and rollback in Amazon ECS
Search
Kyosuke Ochimizu
March 12, 2021
Technology
710
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Deployment and rollback in Amazon ECS
CloudNative Days Spring 2021 ONLINE での登壇資料です。
Kyosuke Ochimizu
March 12, 2021
More Decks by Kyosuke Ochimizu
See All by Kyosuke Ochimizu
ステートフルアプリケーションのコンテナ化の歴史/The journey of stateful containers
otty246
2
190
AWS Containers: State of the Union
otty246
0
180
Amazon EKS Auto Mode への移行手法を詳解/Deep Dive: Migrate to EKS Auto Mode
otty246
2
620
Karpenter を用いた Kubernetes 環境でのコンテナ活用最適化/Optimizing Container Workloads using Karpenter on Kubernetes
otty246
1
400
AWS Developer Live Show「難しい事抜きでまずはアプリケーションをコンテナ化してみよう」/ Let's try containerizing your application
otty246
0
300
[JAWS-UG コンテナ支部 #22] AWS コンテナサービスアップデート/JAWS-UG Containers 22
otty246
2
930
AWS コンテナサービスアップデート / JAWS-UG コンテナ支部 #18 / JAWS-UG Container 18-1
otty246
0
1.8k
Other Decks in Technology
See All in Technology
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.8k
Running Kotlin + Quarkus with Lambda
nealle
1
470
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
120
[AWS 秋のクラウドオペレーション祭り 2026]AWS DevOps Agentで変わるリリースと運用対応 ~リリース管理機能と Directed actions のご紹介~
furuton
4
1.2k
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.3k
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
240
Claude Code本は、どのように執筆チームで書かれたか
oikon48
1
370
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
280
Snapshot Testing in Practice: Predictable and Reliable SwiftUI Views
fespinoza
0
210
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
120
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
440
組み立てて楽しむ AWS Blocks 入門
kmiya84377
0
230
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
225
10k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
450
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
350
Paper Plane (Part 1)
katiecoart
PRO
2
11k
What's in a price? How to price your products and services
michaelherold
247
13k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
590
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
350
Why Our Code Smells
bkeepers
PRO
340
58k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
490
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Are puppies a ranking factor?
jonoalderson
2
4k
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