Amazon ECS
#44 · Level 3 · Modern architecture · ContainersConcept
Section titled “Concept”Amazon ECS is AWS’s own container manager, which runs and looks after your containers. What a container looks like — which image, how much CPU and memory — is written in a task definition. A group of containers started from that design is called a task, and a service keeps a set number of tasks running at all times. All of these live inside a cluster. Containers can run on your own EC2 instances or on Fargate, and ECS works easily with load balancers and ECR.
Simple example
Section titled “Simple example”A restaurant manager: how many cooks (containers) are needed, who works at which stove, and who replaces someone who falls sick — the manager decides it all.
Why it’s needed
Section titled “Why it’s needed”Running many containers by hand, restarting any that stop, connecting them to a load balancer — ECS does all of this itself.
Where it’s used
Section titled “Where it’s used”Web apps, APIs, background workers — any work run in containers.
Key terms
Section titled “Key terms”| English | Simple meaning |
|---|---|
| Task Definition | Instructions for how a container should run |
| Task | A running container |
| Service | Keeps a set number of tasks running at all times |
| Cluster | The whole working group put together |
Azure equivalent
Section titled “Azure equivalent”Azure Container Apps
Related
Section titled “Related”What is a Container? · AWS Fargate · Amazon EKS
Learn more
Section titled “Learn more”For details and the latest information, see the official documentation: