Amazon ECS
AWS container orchestration that runs tasks on EC2 capacity or on serverless Fargate capacity.
How it works
Amazon ECS is an AWS container orchestration service. You describe containers, images, and resources in a task definition; ECS uses that definition to run tasks in a cluster. Tasks can run on EC2 or AWS Fargate. An ECS service can maintain a desired task count and integrate with load balancing and scaling policies.
When to use it
Choose it when the requirement is run and manage Docker tasks using AWS-native orchestration.
Real-world example
A company runs a web application in an ECS service behind an Application Load Balancer. A configured scaling policy can increase the task count as load rises, while the ECS service replaces unhealthy tasks according to its configuration.
Common pitfall
A task definition is not a running task: it describes how to launch one or more containers. A task is an instantiation of that definition and has its own lifecycle state.
Often confused with
Compare its service boundary with AWS Fargate; choose from the workload requirement.
References
Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:
Understand it for real with 3D models and simulated labs
Connect the concept to a working architecture.