Ravi Sir's Cards › AWS
Cluster, task, service
This revision card explains Cluster, task, service. It starts from the need that wrong words in an interview sound like you never ran containers on AWS. It describes cluster = home for services. Task definition = recipe. Task = one running copy. Service = keep N tasks healthy. The how-to section covers how to create cluster , then register task definition , then create service with desired count and launch type Fargate. An example on the card is kill one task; the service starts a replacement so count stays at N.
Read card text
What this card says
Why do we need it?
Wrong words in an interview sound like you never ran containers on AWS.
What is it?
Cluster = home for services. Task definition = recipe. Task = one running copy. Service = keep N tasks healthy.
How to do it
Create cluster → register task definition → create service with desired count and launch type Fargate.
desiredCount
Example
Kill one task; the service starts a replacement so count stays at N.