Skip to content

Amazon ECS

#44 · Level 3 · Modern architecture · Containers

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.

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.

Running many containers by hand, restarting any that stop, connecting them to a load balancer — ECS does all of this itself.

Web apps, APIs, background workers — any work run in containers.

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 Container Apps

What is a Container? · AWS Fargate · Amazon EKS

For details and the latest information, see the official documentation: