Deploying to AWS ECS Fargate
AWS Elastic Container Service (ECS) Fargate is a cost-effective and easy-to-configure way to deploy your container in the cloud.
ECS consists of four major parts:
- A 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.
- A 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.
In the top right corner of the AWS console, be sure to select the region that is closest to your users. For me, this is the 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...