Introduction
When you want to run and manage containers on AWS, you use services and tasks. A service keeps your containers running and replaces them if they stop. A task is a single running container or group of containers based on a task definition.
When you want to run a web app in containers and keep it always available.
When you need to update your app without downtime by replacing old containers with new ones.
When you want to run batch jobs or one-time container tasks on AWS.
When you want to control how many copies of your app run at the same time.
When you want AWS to automatically restart containers if they fail.