Deploy on Amazon ECS with Fargate

Modify CodeDeploy and CodePipeline for Amazon ECS on AWS Fargate

We now have working end-to-end DevOps pipeline with Blue Green Deployment using Amazon ECS with Amazon EC2 launch type. As we have seen in above section, one of the overhead using EC2 launch type is to manage EC2 fleet of servers.

Let’s modify our pipeline to use AWS Fargate launch type in Amazon ECS cluster.

Amazon ECS - AWS Fargate

As per given Solution Architecture diagram snippet, portion highlighted in Green will be taken care by AWS Fargate. So, we don’t require Launch configuration, Autoscaling Groups, EC2 Instances and Capacity Providers for Autoscaling Groups.