Scheduling tasks
The Amazon ECS is an optimistic concurrency system in a shared state with elastic scheduling capabilities for containers and tasks. Amazon ECS uses Amazon ECS API's same state information for clusters to make appropriate decisions for placement. Amazon ECS has the ability to manually run tasks (for single run task or batch jobs) or service schedulers (for long-running tasks), where it places the task on the cluster for you. It allows you to define constraints and a task placement strategy, to run the task in the configuration you have selected, such as spread out in Availability Zones. You can also integrate with third-party or custom schedulers.
We can divide this section into the following topics:
- Service scheduler
- Manually running tasks
- Running tasks on a cron-like schedule
- Custom schedulers
- Task life cycle
- Task retirement
Service scheduler
The service scheduler is best suited for applications and long running services that are stateless. It will ensure that the stated numbers...