How to create a Continuous Deployment process using ECS Fargate Docker Travis
7 min readAug 8, 2018
Introduction
We are sharing this article to help your team adopt a continuous deployment process so you can iterate on product faster, and push site updates seamlessly.
Here is a brief overview of how the development process works:
- You push a commit on a Github branch
- Travis is triggered based on this commit and will start building docker image based on your GitHub Dockerfile
- Travis pushes the docker image on your ECR repository
- Finally, Travis executes scripts to make deploy on an ECS-Fargate cluster
- Optional: You could make the same job as Travis but with AWS CodePipeline
You must know some concepts first:
- VPC
- Security groups
- Elastic container services
- Fargate concepts
- Load Balancer
- Auto Scaling
- Docker
- Travis
- Subnetting concepts
ECS organization
How does ECS work?