Screenshot 2025-03-08 at 6.35.22 PM.png

Cluster

A Cluster is a logical grouping of resources used by ECS to manage and run containerized applications. A cluster is essentially a pool of computing resources (e.g., EC2 instances or Fargate) where your tasks (containers) run.

Task

A Task is a running instance of a containerized application in ECS. It's the basic unit of work in ECS. A task is defined by a Task Definition, which specifies the Docker image to use, resource requirements (like CPU and memory), networking configurations, environment variables, and more.

Service

A Service is a higher-level abstraction on top of tasks in ECS. A service allows you to maintain and scale a specified number of task instances running and ensures that the desired number of tasks are continuously running.

Screenshot 2025-03-08 at 6.38.03 PM.png

image.png