Amazon ECS manages containers using tasks & services
A task is a set of one or more containers defined in a task definition. ECS runs these tasks on servers (ec2) or without servers (Fargate). A service keeps the right number of tasks running & restarts them if they stop.
ECS runs,watches, & restarts containers to keep apps working smoothly