SlideShare a Scribd company logo
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
K Y I V
11.05.2019
CI/CD for Modern Applications
Massimo Re Ferrè
Developer Advocate
Amazon Web Services
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Who Am I ?
Amazon Web Services (Developer Advocate)
VMware (Solutions Architect and Technical Product Manager)
IBM (Professional Services and Solutions Architect)
Developer (many kilos ago)
Email: mreferre@amazon.com
Twitter: @mreferre
Github: github.com/mreferre
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How software value gets created (in the old model)
Monolithic
application
“Time to user”: months / years
Very heavy
manual
integrations
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How software value gets created (in the new model)
“Time to user”: hours / days
Small
independent
components…
End-to-end
(hands off)
automation
…. with
different
release cycles
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What are the compute options to run my code?
Instances
Containers
Lambda
Containers control plane
Containers data plane
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS compute abstractions layers
AWS
Lambda
Amazon
EC2
Metal
AWS
Fargate
Amazon
EKS
physicalseverVMcontainerfunction
Levelofabstraction
Provider space
(managed by AWS)
Consumer space
(managed by the customer)
Amazon
ECS
For this session, we are going to focus on this (as an example)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
ECS w/ EC2 data plane
AWS Account Cust Account
VPC
Amazon EC2
TaskService
ENI
aws ecs run-task … --launch-type EC2 …
You have to manage this
capacity (e.g. with ASGs)
Amazon ECS
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Scaling metrics
https://garbe.io/blog/2017/04/12/a-better-solution-to-ecs-autoscaling/
https://medium.com/thron-tech/aws-ecs-host-auto-scaling-with-custom-cloudwatch-metrics-and-aws-lambda-b9a9f55faf1d
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Need for speed – (all lines are made up)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Need for speed – real example (all lines are for real)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
ECS w/ FARGATE data plane
AWS Account
AWS Fargate
Cust Account
VPC
TaskService
ENI
aws ecs run-task … --launch-type FARGATE …
You don’t have to manage
capacity
Amazon ECS
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Blue/Green and the pressure on infrastructure
Task
Auto Scaling group
Instance
Task Task Task Task Task Task Task Task Task Task Task
Instance Instance Instance
Task Task Task Task Task Task Task Task Task Task Task Task
AWS Fargate
On ECS/EC2 On ECS/Fargate
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Blue/Green and the pressure on infrastructure
Task
Auto Scaling group
Instance
Task Task Task Task Task Task Task Task Task Task Task
Task Task Task Task Task Task Task Task Task Task Task Task
Instance Instance Instance
Task Task Task Task Task Task Task Task Task Task Task Task
Task Task Task Task Task Task Task Task Task Task Task Task
AWS Fargate
On ECS/EC2 On ECS/Fargate
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Blue/Green and the pressure on infrastructure
Task
Auto Scaling group
Instance
Task Task Task Task Task Task Task Task Task Task Task
Task Task Task Task Task Task Task Task Task Task Task Task
Instance Instance Instance
Task Task Task Task Task Task Task Task Task Task Task Task
Task Task Task Task Task Task Task Task Task Task Task Task
AWS Fargate
Instance Instance Instance Instance
On ECS/EC2 On ECS/Fargate
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Blue/Green and the pressure on infrastructure
Auto Scaling group
Instance Instance Instance Instance
AWS Fargate
Instance Instance Instance Instance
Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task
On ECS/EC2 On ECS/Fargate
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Blue/Green and the pressure on infrastructure
AWS Fargate
Auto Scaling group
Instance Instance Instance Instance
Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task
On ECS/EC2 On ECS/Fargate
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Blue/Green deployments
Service
Target-Group-Green Task Task Task
Service
Amazon ECR
Amazon ECS
Amazon ALB
Image1
THIS IS VER1
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Blue/Green deployments
Service
Target-Group-Green
Target-Group-Blue
Task Task Task
Service
Amazon ECR
Amazon ECS
Amazon ALB
Image1
THIS IS VER1
THIS IS VER1
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Blue/Green deployments
Service
Target-Group-Green
Target-Group-Blue
Task Task Task
Service
AWS CodeCommit AWS CodeBuild
AWS CodePipeline
AWS CodeDeploy Amazon ECR
Amazon ECS
Amazon ALB
Image1
THIS IS VER1
THIS IS VER1
<html>
<body>
<h1>THIS IS VER 1</h1>
</body>
</html>
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Blue/Green deployments
Service
Target-Group-Green
Target-Group-Blue
Task Task Task
Service
AWS CodeCommit AWS CodeBuild
AWS CodePipeline
AWS CodeDeploy Amazon ECR
Amazon ECS
<html>
<body>
<h1>THIS IS VER 1</h1>
</body>
</html>
<html>
<body>
<h1>THIS IS A NEW VER</h1>
</body>
</html>
Amazon ALB
Image1
Image2
THIS IS VER1
THIS IS VER1
Trigger
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Blue/Green deployments
Service
Target-Group-Green
Target-Group-Blue
Task Task Task
Service
AWS CodeCommit AWS CodeBuild
AWS CodePipeline
AWS CodeDeploy Amazon ECR
Amazon ECS
Amazon ALB
Image1
Image2
Task Task TaskTHIS IS A NEW VER
THIS IS VER1
<html>
<body>
<h1>THIS IS A NEW VER</h1>
</body>
</html>
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Blue/Green deployments
Service
Target-Group-Green
Target-Group-Blue Service
AWS CodeCommit AWS CodeBuild
AWS CodePipeline
AWS CodeDeploy Amazon ECR
Amazon ECS
Amazon ALB
Image1
Image2
Task Task TaskTHIS IS A NEW VER
THIS IS A NEW VER
<html>
<body>
<h1>THIS IS A NEW VER</h1>
</body>
</html>
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo?

More Related Content

What's hot

Build AR/VR apps with AWS - SVC202 - Atlanta AWS Summit
Build AR/VR apps with AWS - SVC202 - Atlanta AWS SummitBuild AR/VR apps with AWS - SVC202 - Atlanta AWS Summit
Build AR/VR apps with AWS - SVC202 - Atlanta AWS Summit
Amazon Web Services
 
Get hands-on with AWS DeepRacer and compete in the AWS DeepRacer League - AIM...
Get hands-on with AWS DeepRacer and compete in the AWS DeepRacer League - AIM...Get hands-on with AWS DeepRacer and compete in the AWS DeepRacer League - AIM...
Get hands-on with AWS DeepRacer and compete in the AWS DeepRacer League - AIM...
Amazon Web Services
 
Introduction to AWS Amplify CLI
Introduction to AWS Amplify CLIIntroduction to AWS Amplify CLI
Introduction to AWS Amplify CLI
Amazon Web Services
 
You're in the Cloud, now What?
You're in the Cloud, now What?You're in the Cloud, now What?
You're in the Cloud, now What?
Amazon Web Services
 
AWS Canberra User Group - September 2019 Intro
AWS Canberra User Group - September 2019 IntroAWS Canberra User Group - September 2019 Intro
AWS Canberra User Group - September 2019 Intro
Brian Farnhill
 
[REPEAT] Get hands on with AWS DeepRacer & compete in the AWS DeepRacer Leagu...
[REPEAT] Get hands on with AWS DeepRacer & compete in the AWS DeepRacer Leagu...[REPEAT] Get hands on with AWS DeepRacer & compete in the AWS DeepRacer Leagu...
[REPEAT] Get hands on with AWS DeepRacer & compete in the AWS DeepRacer Leagu...
Amazon Web Services
 
Build your APPs in Lean and Agile Way using AWS Amplify
Build your APPs in Lean and Agile Way using AWS AmplifyBuild your APPs in Lean and Agile Way using AWS Amplify
Build your APPs in Lean and Agile Way using AWS Amplify
Amazon Web Services
 
Create Immersive Experiences Using Amazon Sumerian (ARV204-R1) - AWS re:Inven...
Create Immersive Experiences Using Amazon Sumerian (ARV204-R1) - AWS re:Inven...Create Immersive Experiences Using Amazon Sumerian (ARV204-R1) - AWS re:Inven...
Create Immersive Experiences Using Amazon Sumerian (ARV204-R1) - AWS re:Inven...
Amazon Web Services
 
2019-11-09 DevOpsNG - What I've learned from DevOps
2019-11-09 DevOpsNG - What I've learned from DevOps2019-11-09 DevOpsNG - What I've learned from DevOps
2019-11-09 DevOpsNG - What I've learned from DevOps
Cobus Bernard
 
e커머스 통합운영 자동화 사례 및 보안강화 방안 - 양수연 상무, 삼성SDS / 임선진 팀장, 삼성SDS :: AWS Summit Seou...
e커머스 통합운영 자동화 사례 및 보안강화 방안 - 양수연 상무, 삼성SDS / 임선진 팀장, 삼성SDS :: AWS Summit Seou...e커머스 통합운영 자동화 사례 및 보안강화 방안 - 양수연 상무, 삼성SDS / 임선진 팀장, 삼성SDS :: AWS Summit Seou...
e커머스 통합운영 자동화 사례 및 보안강화 방안 - 양수연 상무, 삼성SDS / 임선진 팀장, 삼성SDS :: AWS Summit Seou...
Amazon Web Services Korea
 
Amazon and Region Build Engineering
Amazon and Region Build EngineeringAmazon and Region Build Engineering
Amazon and Region Build Engineering
Rich Alberth
 
Get hands-on with AWS DeepRacer and compete in the AWS DeepRacer League - AIM...
Get hands-on with AWS DeepRacer and compete in the AWS DeepRacer League - AIM...Get hands-on with AWS DeepRacer and compete in the AWS DeepRacer League - AIM...
Get hands-on with AWS DeepRacer and compete in the AWS DeepRacer League - AIM...
Amazon Web Services
 
Use AWS RoboMaker to Develop a Robot Application to Track and Find Fido (ROB2...
Use AWS RoboMaker to Develop a Robot Application to Track and Find Fido (ROB2...Use AWS RoboMaker to Develop a Robot Application to Track and Find Fido (ROB2...
Use AWS RoboMaker to Develop a Robot Application to Track and Find Fido (ROB2...
Amazon Web Services
 
Well-Architected フレームワーク概要
Well-Architected フレームワーク概要Well-Architected フレームワーク概要
Well-Architected フレームワーク概要
淳 千葉
 
【14-C-8】みんなの暮らしを支えるAmazon S3の裏側、お伝えします
【14-C-8】みんなの暮らしを支えるAmazon S3の裏側、お伝えします【14-C-8】みんなの暮らしを支えるAmazon S3の裏側、お伝えします
【14-C-8】みんなの暮らしを支えるAmazon S3の裏側、お伝えします
Developers Summit
 
Building a Serverless AI Powered Twitter Bot: Collision 2018
Building a Serverless AI Powered Twitter Bot: Collision 2018Building a Serverless AI Powered Twitter Bot: Collision 2018
Building a Serverless AI Powered Twitter Bot: Collision 2018
Amazon Web Services
 
Building machine learning inference pipelines at scale (March 2019)
Building machine learning inference pipelines at scale (March 2019)Building machine learning inference pipelines at scale (March 2019)
Building machine learning inference pipelines at scale (March 2019)
Julien SIMON
 
Building and Deploying Your First Serverless Application
Building and Deploying Your First Serverless ApplicationBuilding and Deploying Your First Serverless Application
Building and Deploying Your First Serverless Application
Amazon Web Services
 
To Infinity and Beyond: What's new with Serverless
To Infinity and Beyond: What's new with ServerlessTo Infinity and Beyond: What's new with Serverless
To Infinity and Beyond: What's new with Serverless
Amazon Web Services
 
AWS App Sync (DC Startup Week 2019)
AWS App Sync (DC Startup Week 2019)AWS App Sync (DC Startup Week 2019)
AWS App Sync (DC Startup Week 2019)
Rich Alberth
 

What's hot (20)

Build AR/VR apps with AWS - SVC202 - Atlanta AWS Summit
Build AR/VR apps with AWS - SVC202 - Atlanta AWS SummitBuild AR/VR apps with AWS - SVC202 - Atlanta AWS Summit
Build AR/VR apps with AWS - SVC202 - Atlanta AWS Summit
 
Get hands-on with AWS DeepRacer and compete in the AWS DeepRacer League - AIM...
Get hands-on with AWS DeepRacer and compete in the AWS DeepRacer League - AIM...Get hands-on with AWS DeepRacer and compete in the AWS DeepRacer League - AIM...
Get hands-on with AWS DeepRacer and compete in the AWS DeepRacer League - AIM...
 
Introduction to AWS Amplify CLI
Introduction to AWS Amplify CLIIntroduction to AWS Amplify CLI
Introduction to AWS Amplify CLI
 
You're in the Cloud, now What?
You're in the Cloud, now What?You're in the Cloud, now What?
You're in the Cloud, now What?
 
AWS Canberra User Group - September 2019 Intro
AWS Canberra User Group - September 2019 IntroAWS Canberra User Group - September 2019 Intro
AWS Canberra User Group - September 2019 Intro
 
[REPEAT] Get hands on with AWS DeepRacer & compete in the AWS DeepRacer Leagu...
[REPEAT] Get hands on with AWS DeepRacer & compete in the AWS DeepRacer Leagu...[REPEAT] Get hands on with AWS DeepRacer & compete in the AWS DeepRacer Leagu...
[REPEAT] Get hands on with AWS DeepRacer & compete in the AWS DeepRacer Leagu...
 
Build your APPs in Lean and Agile Way using AWS Amplify
Build your APPs in Lean and Agile Way using AWS AmplifyBuild your APPs in Lean and Agile Way using AWS Amplify
Build your APPs in Lean and Agile Way using AWS Amplify
 
Create Immersive Experiences Using Amazon Sumerian (ARV204-R1) - AWS re:Inven...
Create Immersive Experiences Using Amazon Sumerian (ARV204-R1) - AWS re:Inven...Create Immersive Experiences Using Amazon Sumerian (ARV204-R1) - AWS re:Inven...
Create Immersive Experiences Using Amazon Sumerian (ARV204-R1) - AWS re:Inven...
 
2019-11-09 DevOpsNG - What I've learned from DevOps
2019-11-09 DevOpsNG - What I've learned from DevOps2019-11-09 DevOpsNG - What I've learned from DevOps
2019-11-09 DevOpsNG - What I've learned from DevOps
 
e커머스 통합운영 자동화 사례 및 보안강화 방안 - 양수연 상무, 삼성SDS / 임선진 팀장, 삼성SDS :: AWS Summit Seou...
e커머스 통합운영 자동화 사례 및 보안강화 방안 - 양수연 상무, 삼성SDS / 임선진 팀장, 삼성SDS :: AWS Summit Seou...e커머스 통합운영 자동화 사례 및 보안강화 방안 - 양수연 상무, 삼성SDS / 임선진 팀장, 삼성SDS :: AWS Summit Seou...
e커머스 통합운영 자동화 사례 및 보안강화 방안 - 양수연 상무, 삼성SDS / 임선진 팀장, 삼성SDS :: AWS Summit Seou...
 
Amazon and Region Build Engineering
Amazon and Region Build EngineeringAmazon and Region Build Engineering
Amazon and Region Build Engineering
 
Get hands-on with AWS DeepRacer and compete in the AWS DeepRacer League - AIM...
Get hands-on with AWS DeepRacer and compete in the AWS DeepRacer League - AIM...Get hands-on with AWS DeepRacer and compete in the AWS DeepRacer League - AIM...
Get hands-on with AWS DeepRacer and compete in the AWS DeepRacer League - AIM...
 
Use AWS RoboMaker to Develop a Robot Application to Track and Find Fido (ROB2...
Use AWS RoboMaker to Develop a Robot Application to Track and Find Fido (ROB2...Use AWS RoboMaker to Develop a Robot Application to Track and Find Fido (ROB2...
Use AWS RoboMaker to Develop a Robot Application to Track and Find Fido (ROB2...
 
Well-Architected フレームワーク概要
Well-Architected フレームワーク概要Well-Architected フレームワーク概要
Well-Architected フレームワーク概要
 
【14-C-8】みんなの暮らしを支えるAmazon S3の裏側、お伝えします
【14-C-8】みんなの暮らしを支えるAmazon S3の裏側、お伝えします【14-C-8】みんなの暮らしを支えるAmazon S3の裏側、お伝えします
【14-C-8】みんなの暮らしを支えるAmazon S3の裏側、お伝えします
 
Building a Serverless AI Powered Twitter Bot: Collision 2018
Building a Serverless AI Powered Twitter Bot: Collision 2018Building a Serverless AI Powered Twitter Bot: Collision 2018
Building a Serverless AI Powered Twitter Bot: Collision 2018
 
Building machine learning inference pipelines at scale (March 2019)
Building machine learning inference pipelines at scale (March 2019)Building machine learning inference pipelines at scale (March 2019)
Building machine learning inference pipelines at scale (March 2019)
 
Building and Deploying Your First Serverless Application
Building and Deploying Your First Serverless ApplicationBuilding and Deploying Your First Serverless Application
Building and Deploying Your First Serverless Application
 
To Infinity and Beyond: What's new with Serverless
To Infinity and Beyond: What's new with ServerlessTo Infinity and Beyond: What's new with Serverless
To Infinity and Beyond: What's new with Serverless
 
AWS App Sync (DC Startup Week 2019)
AWS App Sync (DC Startup Week 2019)AWS App Sync (DC Startup Week 2019)
AWS App Sync (DC Startup Week 2019)
 

Similar to From 0 to Blue-Green deployments on AWS Fargate

Breaking the monolith (an example)
Breaking the monolith (an example)Breaking the monolith (an example)
Breaking the monolith (an example)
Massimo Ferre'
 
AWS Summit London 2019 - Containers on AWS
AWS Summit London 2019 - Containers on AWSAWS Summit London 2019 - Containers on AWS
AWS Summit London 2019 - Containers on AWS
Massimo Ferre'
 
Amazon EC2 Strategie per l'ottimizzazione dei costi
Amazon EC2 Strategie per l'ottimizzazione dei costiAmazon EC2 Strategie per l'ottimizzazione dei costi
Amazon EC2 Strategie per l'ottimizzazione dei costi
Amazon Web Services
 
AWSome Day 2019 - Mexico City
AWSome Day 2019 - Mexico CityAWSome Day 2019 - Mexico City
AWSome Day 2019 - Mexico City
Amazon Web Services
 
Building with Containers on AWS by Tony Pujals .pdf
Building with Containers on AWS by Tony Pujals .pdfBuilding with Containers on AWS by Tony Pujals .pdf
Building with Containers on AWS by Tony Pujals .pdf
Amazon Web Services
 
Usare la tecnologia Container su AWS
Usare la tecnologia Container su AWSUsare la tecnologia Container su AWS
Usare la tecnologia Container su AWS
Amazon Web Services
 
Getting Started with Containers in the Cloud: AWS Developer Workshop at Web S...
Getting Started with Containers in the Cloud: AWS Developer Workshop at Web S...Getting Started with Containers in the Cloud: AWS Developer Workshop at Web S...
Getting Started with Containers in the Cloud: AWS Developer Workshop at Web S...
Amazon Web Services
 
AWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern ApplicationsAWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern Applications
Amazon Web Services
 
Containers on AWS: An Introduction
Containers on AWS: An IntroductionContainers on AWS: An Introduction
Containers on AWS: An Introduction
Amazon Web Services
 
Container, Container, Container -유재석 (AWS 솔루션즈 아키텍트)
Container, Container, Container -유재석 (AWS 솔루션즈 아키텍트)Container, Container, Container -유재석 (AWS 솔루션즈 아키텍트)
Container, Container, Container -유재석 (AWS 솔루션즈 아키텍트)
Amazon Web Services Korea
 
Running Container on AWS - Builders Day Israel
Running Container on AWS - Builders Day IsraelRunning Container on AWS - Builders Day Israel
Running Container on AWS - Builders Day Israel
Amazon Web Services
 
"Resiliency and Availability Design Patterns for the Cloud", Sebastien Storma...
"Resiliency and Availability Design Patterns for the Cloud", Sebastien Storma..."Resiliency and Availability Design Patterns for the Cloud", Sebastien Storma...
"Resiliency and Availability Design Patterns for the Cloud", Sebastien Storma...
Provectus
 
20190318 Amazon EC2 スポットインスタンス再入門
20190318 Amazon EC2 スポットインスタンス再入門20190318 Amazon EC2 スポットインスタンス再入門
20190318 Amazon EC2 スポットインスタンス再入門
Amazon Web Services Japan
 
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
AWS Summits
 
Containers-AWS-Webinar-13-11-2018.pdf
Containers-AWS-Webinar-13-11-2018.pdfContainers-AWS-Webinar-13-11-2018.pdf
Containers-AWS-Webinar-13-11-2018.pdf
Amazon Web Services
 
How to build a FullStack Airline Ticketing Web App.pdf
How to build a FullStack Airline Ticketing Web App.pdfHow to build a FullStack Airline Ticketing Web App.pdf
How to build a FullStack Airline Ticketing Web App.pdf
Amazon Web Services
 
Amazon Web Services User Group Sydney - February 2018
Amazon Web Services User Group Sydney - February 2018Amazon Web Services User Group Sydney - February 2018
Amazon Web Services User Group Sydney - February 2018
PolarSeven Pty Ltd
 
How AWS builds Serverless services using Serverless
How AWS builds Serverless services using ServerlessHow AWS builds Serverless services using Serverless
How AWS builds Serverless services using Serverless
Chris Munns
 
Continuous Delivery on AWS with Zero Downtime
Continuous Delivery on AWS with Zero DowntimeContinuous Delivery on AWS with Zero Downtime
Continuous Delivery on AWS with Zero Downtime
Casey Lee
 
Best Practices for Implementing Mobile & Web App Testing in the Cloud (MOB205...
Best Practices for Implementing Mobile & Web App Testing in the Cloud (MOB205...Best Practices for Implementing Mobile & Web App Testing in the Cloud (MOB205...
Best Practices for Implementing Mobile & Web App Testing in the Cloud (MOB205...
Amazon Web Services
 

Similar to From 0 to Blue-Green deployments on AWS Fargate (20)

Breaking the monolith (an example)
Breaking the monolith (an example)Breaking the monolith (an example)
Breaking the monolith (an example)
 
AWS Summit London 2019 - Containers on AWS
AWS Summit London 2019 - Containers on AWSAWS Summit London 2019 - Containers on AWS
AWS Summit London 2019 - Containers on AWS
 
Amazon EC2 Strategie per l'ottimizzazione dei costi
Amazon EC2 Strategie per l'ottimizzazione dei costiAmazon EC2 Strategie per l'ottimizzazione dei costi
Amazon EC2 Strategie per l'ottimizzazione dei costi
 
AWSome Day 2019 - Mexico City
AWSome Day 2019 - Mexico CityAWSome Day 2019 - Mexico City
AWSome Day 2019 - Mexico City
 
Building with Containers on AWS by Tony Pujals .pdf
Building with Containers on AWS by Tony Pujals .pdfBuilding with Containers on AWS by Tony Pujals .pdf
Building with Containers on AWS by Tony Pujals .pdf
 
Usare la tecnologia Container su AWS
Usare la tecnologia Container su AWSUsare la tecnologia Container su AWS
Usare la tecnologia Container su AWS
 
Getting Started with Containers in the Cloud: AWS Developer Workshop at Web S...
Getting Started with Containers in the Cloud: AWS Developer Workshop at Web S...Getting Started with Containers in the Cloud: AWS Developer Workshop at Web S...
Getting Started with Containers in the Cloud: AWS Developer Workshop at Web S...
 
AWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern ApplicationsAWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern Applications
 
Containers on AWS: An Introduction
Containers on AWS: An IntroductionContainers on AWS: An Introduction
Containers on AWS: An Introduction
 
Container, Container, Container -유재석 (AWS 솔루션즈 아키텍트)
Container, Container, Container -유재석 (AWS 솔루션즈 아키텍트)Container, Container, Container -유재석 (AWS 솔루션즈 아키텍트)
Container, Container, Container -유재석 (AWS 솔루션즈 아키텍트)
 
Running Container on AWS - Builders Day Israel
Running Container on AWS - Builders Day IsraelRunning Container on AWS - Builders Day Israel
Running Container on AWS - Builders Day Israel
 
"Resiliency and Availability Design Patterns for the Cloud", Sebastien Storma...
"Resiliency and Availability Design Patterns for the Cloud", Sebastien Storma..."Resiliency and Availability Design Patterns for the Cloud", Sebastien Storma...
"Resiliency and Availability Design Patterns for the Cloud", Sebastien Storma...
 
20190318 Amazon EC2 スポットインスタンス再入門
20190318 Amazon EC2 スポットインスタンス再入門20190318 Amazon EC2 スポットインスタンス再入門
20190318 Amazon EC2 スポットインスタンス再入門
 
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
 
Containers-AWS-Webinar-13-11-2018.pdf
Containers-AWS-Webinar-13-11-2018.pdfContainers-AWS-Webinar-13-11-2018.pdf
Containers-AWS-Webinar-13-11-2018.pdf
 
How to build a FullStack Airline Ticketing Web App.pdf
How to build a FullStack Airline Ticketing Web App.pdfHow to build a FullStack Airline Ticketing Web App.pdf
How to build a FullStack Airline Ticketing Web App.pdf
 
Amazon Web Services User Group Sydney - February 2018
Amazon Web Services User Group Sydney - February 2018Amazon Web Services User Group Sydney - February 2018
Amazon Web Services User Group Sydney - February 2018
 
How AWS builds Serverless services using Serverless
How AWS builds Serverless services using ServerlessHow AWS builds Serverless services using Serverless
How AWS builds Serverless services using Serverless
 
Continuous Delivery on AWS with Zero Downtime
Continuous Delivery on AWS with Zero DowntimeContinuous Delivery on AWS with Zero Downtime
Continuous Delivery on AWS with Zero Downtime
 
Best Practices for Implementing Mobile & Web App Testing in the Cloud (MOB205...
Best Practices for Implementing Mobile & Web App Testing in the Cloud (MOB205...Best Practices for Implementing Mobile & Web App Testing in the Cloud (MOB205...
Best Practices for Implementing Mobile & Web App Testing in the Cloud (MOB205...
 

More from Massimo Ferre'

Generative AI for the rest of us
Generative AI for the rest of usGenerative AI for the rest of us
Generative AI for the rest of us
Massimo Ferre'
 
IDI_2023_MRF-Final.pdf
IDI_2023_MRF-Final.pdfIDI_2023_MRF-Final.pdf
IDI_2023_MRF-Final.pdf
Massimo Ferre'
 
Web Assembly (on the server)
Web Assembly (on the server)Web Assembly (on the server)
Web Assembly (on the server)
Massimo Ferre'
 
IDI 2022: Making sense of the '17 ways to run containers on AWS'
IDI 2022: Making sense of the '17 ways to run containers on AWS'IDI 2022: Making sense of the '17 ways to run containers on AWS'
IDI 2022: Making sense of the '17 ways to run containers on AWS'
Massimo Ferre'
 
Codemotion 2020 - Containers Meet Serverless
Codemotion 2020 - Containers Meet ServerlessCodemotion 2020 - Containers Meet Serverless
Codemotion 2020 - Containers Meet Serverless
Massimo Ferre'
 
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
Massimo Ferre'
 
IDI 2020 - Containers Meet Serverless
IDI 2020 - Containers Meet ServerlessIDI 2020 - Containers Meet Serverless
IDI 2020 - Containers Meet Serverless
Massimo Ferre'
 
Containers Meetup (AWS+CNCF) Milano Jan 15th 2020
Containers Meetup (AWS+CNCF) Milano Jan 15th 2020Containers Meetup (AWS+CNCF) Milano Jan 15th 2020
Containers Meetup (AWS+CNCF) Milano Jan 15th 2020
Massimo Ferre'
 
Meetup CNCF Torino - Amazon EKS March 29th 2019
Meetup CNCF Torino - Amazon EKS March 29th 2019 Meetup CNCF Torino - Amazon EKS March 29th 2019
Meetup CNCF Torino - Amazon EKS March 29th 2019
Massimo Ferre'
 
End-to-end CI/CD deployments of containerized applications using AWS services
End-to-end CI/CD deployments of containerized applications using AWS servicesEnd-to-end CI/CD deployments of containerized applications using AWS services
End-to-end CI/CD deployments of containerized applications using AWS services
Massimo Ferre'
 
Containers at AWS: State of the Union
Containers at AWS: State of the Union  Containers at AWS: State of the Union
Containers at AWS: State of the Union
Massimo Ferre'
 

More from Massimo Ferre' (11)

Generative AI for the rest of us
Generative AI for the rest of usGenerative AI for the rest of us
Generative AI for the rest of us
 
IDI_2023_MRF-Final.pdf
IDI_2023_MRF-Final.pdfIDI_2023_MRF-Final.pdf
IDI_2023_MRF-Final.pdf
 
Web Assembly (on the server)
Web Assembly (on the server)Web Assembly (on the server)
Web Assembly (on the server)
 
IDI 2022: Making sense of the '17 ways to run containers on AWS'
IDI 2022: Making sense of the '17 ways to run containers on AWS'IDI 2022: Making sense of the '17 ways to run containers on AWS'
IDI 2022: Making sense of the '17 ways to run containers on AWS'
 
Codemotion 2020 - Containers Meet Serverless
Codemotion 2020 - Containers Meet ServerlessCodemotion 2020 - Containers Meet Serverless
Codemotion 2020 - Containers Meet Serverless
 
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
 
IDI 2020 - Containers Meet Serverless
IDI 2020 - Containers Meet ServerlessIDI 2020 - Containers Meet Serverless
IDI 2020 - Containers Meet Serverless
 
Containers Meetup (AWS+CNCF) Milano Jan 15th 2020
Containers Meetup (AWS+CNCF) Milano Jan 15th 2020Containers Meetup (AWS+CNCF) Milano Jan 15th 2020
Containers Meetup (AWS+CNCF) Milano Jan 15th 2020
 
Meetup CNCF Torino - Amazon EKS March 29th 2019
Meetup CNCF Torino - Amazon EKS March 29th 2019 Meetup CNCF Torino - Amazon EKS March 29th 2019
Meetup CNCF Torino - Amazon EKS March 29th 2019
 
End-to-end CI/CD deployments of containerized applications using AWS services
End-to-end CI/CD deployments of containerized applications using AWS servicesEnd-to-end CI/CD deployments of containerized applications using AWS services
End-to-end CI/CD deployments of containerized applications using AWS services
 
Containers at AWS: State of the Union
Containers at AWS: State of the Union  Containers at AWS: State of the Union
Containers at AWS: State of the Union
 

Recently uploaded

“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Zilliz
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 

Recently uploaded (20)

“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 

From 0 to Blue-Green deployments on AWS Fargate

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. K Y I V 11.05.2019 CI/CD for Modern Applications Massimo Re Ferrè Developer Advocate Amazon Web Services
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Who Am I ? Amazon Web Services (Developer Advocate) VMware (Solutions Architect and Technical Product Manager) IBM (Professional Services and Solutions Architect) Developer (many kilos ago) Email: mreferre@amazon.com Twitter: @mreferre Github: github.com/mreferre
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. How software value gets created (in the old model) Monolithic application “Time to user”: months / years Very heavy manual integrations
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. How software value gets created (in the new model) “Time to user”: hours / days Small independent components… End-to-end (hands off) automation …. with different release cycles
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What are the compute options to run my code? Instances Containers Lambda Containers control plane Containers data plane
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS compute abstractions layers AWS Lambda Amazon EC2 Metal AWS Fargate Amazon EKS physicalseverVMcontainerfunction Levelofabstraction Provider space (managed by AWS) Consumer space (managed by the customer) Amazon ECS For this session, we are going to focus on this (as an example)
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. ECS w/ EC2 data plane AWS Account Cust Account VPC Amazon EC2 TaskService ENI aws ecs run-task … --launch-type EC2 … You have to manage this capacity (e.g. with ASGs) Amazon ECS
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scaling metrics https://garbe.io/blog/2017/04/12/a-better-solution-to-ecs-autoscaling/ https://medium.com/thron-tech/aws-ecs-host-auto-scaling-with-custom-cloudwatch-metrics-and-aws-lambda-b9a9f55faf1d
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Need for speed – (all lines are made up)
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Need for speed – real example (all lines are for real)
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. ECS w/ FARGATE data plane AWS Account AWS Fargate Cust Account VPC TaskService ENI aws ecs run-task … --launch-type FARGATE … You don’t have to manage capacity Amazon ECS
  • 14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Blue/Green and the pressure on infrastructure Task Auto Scaling group Instance Task Task Task Task Task Task Task Task Task Task Task Instance Instance Instance Task Task Task Task Task Task Task Task Task Task Task Task AWS Fargate On ECS/EC2 On ECS/Fargate
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Blue/Green and the pressure on infrastructure Task Auto Scaling group Instance Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Instance Instance Instance Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task AWS Fargate On ECS/EC2 On ECS/Fargate
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Blue/Green and the pressure on infrastructure Task Auto Scaling group Instance Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Instance Instance Instance Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task AWS Fargate Instance Instance Instance Instance On ECS/EC2 On ECS/Fargate
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Blue/Green and the pressure on infrastructure Auto Scaling group Instance Instance Instance Instance AWS Fargate Instance Instance Instance Instance Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task On ECS/EC2 On ECS/Fargate
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Blue/Green and the pressure on infrastructure AWS Fargate Auto Scaling group Instance Instance Instance Instance Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task Task On ECS/EC2 On ECS/Fargate
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Blue/Green deployments Service Target-Group-Green Task Task Task Service Amazon ECR Amazon ECS Amazon ALB Image1 THIS IS VER1
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Blue/Green deployments Service Target-Group-Green Target-Group-Blue Task Task Task Service Amazon ECR Amazon ECS Amazon ALB Image1 THIS IS VER1 THIS IS VER1
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Blue/Green deployments Service Target-Group-Green Target-Group-Blue Task Task Task Service AWS CodeCommit AWS CodeBuild AWS CodePipeline AWS CodeDeploy Amazon ECR Amazon ECS Amazon ALB Image1 THIS IS VER1 THIS IS VER1 <html> <body> <h1>THIS IS VER 1</h1> </body> </html>
  • 23. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Blue/Green deployments Service Target-Group-Green Target-Group-Blue Task Task Task Service AWS CodeCommit AWS CodeBuild AWS CodePipeline AWS CodeDeploy Amazon ECR Amazon ECS <html> <body> <h1>THIS IS VER 1</h1> </body> </html> <html> <body> <h1>THIS IS A NEW VER</h1> </body> </html> Amazon ALB Image1 Image2 THIS IS VER1 THIS IS VER1 Trigger
  • 24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Blue/Green deployments Service Target-Group-Green Target-Group-Blue Task Task Task Service AWS CodeCommit AWS CodeBuild AWS CodePipeline AWS CodeDeploy Amazon ECR Amazon ECS Amazon ALB Image1 Image2 Task Task TaskTHIS IS A NEW VER THIS IS VER1 <html> <body> <h1>THIS IS A NEW VER</h1> </body> </html>
  • 25. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Blue/Green deployments Service Target-Group-Green Target-Group-Blue Service AWS CodeCommit AWS CodeBuild AWS CodePipeline AWS CodeDeploy Amazon ECR Amazon ECS Amazon ALB Image1 Image2 Task Task TaskTHIS IS A NEW VER THIS IS A NEW VER <html> <body> <h1>THIS IS A NEW VER</h1> </body> </html>
  • 26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Demo?