ECS reference architecture implementation from https://github.com/awslabs/ecs-refarch-continuous-deployment
-
Terraform for single command deployment
terraform apply
-
Parameterized ECS environment for single container
-
Deploys CloudFormation for all AWS Resources:
- VPC Dependencies
- ECS Cluster
- Frontend ELB
- ECS Service with Application Auto-Scaling
- CodePipeline CI/CD Pipeline.
- CI/CD Structure:
- Polls github repo for Dockerfile at root
- Builds and tags container
- Publishes container to ECR
- Rolls out new container to ECS
- TODO:
.flo.yml
vars become available to CodeBuild Stages. - TODO: Clair container scanning pipeline stage