AWS Elastic Container Service (ECS) Fargate is a cost effective and an easy-to-configure way to deploy your container in the cloud.
ECS consists of four major parts:
- Container Repository, Elastic Container Registry (ECR), where you publish your Docker images
- Services, Tasks and Task Definitions, where you define runtime parameters and port mappings for your container as a task definition that a service runs as tasks
- Cluster, a collection of EC2 instances, where tasks can be provisioned and scaled out or in
- Fargate, a managed cluster service, that abstracts away EC2 instances, load balancer, and security group concerns
At the time of publishing, Fargate is only available in the AWS us-east-1 region.
Our goal is to create a highly-available blue-green deployment, meaning that at least one instance of our application will be up and running in the event...