Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

Task vs service in ECS?

This interview card answers: Task vs service in ECS? A task is one running copy of a task definition. A service keeps N tasks healthy and replaces failures. Long-running APIs use a service; one-off batch may run a standalone task. DesiredCount=2 on a service , then two tasks; stop one , then ECS starts another.

Task vs service in ECS? A task is one running copy of a task definition. A service keeps N tasks healthy and replaces failures. Long-running APIs use a service; one-off batch may run a standalone task. desiredCount=2 on a service → two tasks; stop one → ECS starts another.
Task vs service in ECS? · Download PNG
Read card text

What this card says

What it is

A task is one running copy of a task definition. A service keeps N tasks healthy and replaces failures.

Why it matters

Long-running APIs use a service; one-off batch may run a standalone task.

How / example

desiredCount=2 on a service → two tasks; stop one → ECS starts another.

See all AWS revision cards