AWS ECS Blue/Green Deployment Setup Using Terraform
Published in
5 min readSep 30, 2021
In this post, we’ll deploy a simple ECS application with Blue/Green deployment, using Terraform. We’ll refer to the setup created in Gerd Koenig and Stephane Maarek’s awesome Udemy course, Amazon ECS & Fargate Master Class — Docker on AWS and will create the entire infrastructure using Terraform.
Note: Some working experience with ECS,Code Pipeline and Terraform is expected to better understand the setup we are going to create.
Step 1: Create a codecommit repo and place the code given at…