- ECS provides a way to run Docker containers on a cluster of Amazon EC2 instances. It consists of container instances, tasks, services, and a scheduler.
- A task definition specifies the details of a task/container such as name, image, memory requirements, and port mappings.
- A service keeps desired number of tasks running and provides load balancing using an ELB. It ensures tasks are rescheduled if they fail health checks.
- The launch process involves setting up security, IAM roles, container instances, task definitions, services, and pushing Docker images to ECR.