This repo is validated through following test steps:
- Create ECS cluster
- Create Service within the ECS cluster, when adding port mappings, use 0 for host port in portmappings, because we want to deploy tasks of same task definitions to the same instance.
- Create Application Load Balancer and target group
- Use AWS CodeBuild to build an image and push to AWS ECR
- Use AWS CodeDeploy to deploy artifact from step 4 to AWS ECS Service
- Use AWS CodePipeline to chain step 4 and step 5.