Posted On: Jun 12, 2018
Amazon Elastic Container Service (Amazon ECS) now has a new daemon scheduling strategy that allows you to automatically run a daemon task on every one of a selected set of instances in your ECS cluster.
A daemon task is a pattern used when building microservices where a task is deployed onto each instance in a cluster to provide common supporting functionality like logging, monitoring, or backups for the tasks running your application code.
Previously, to ensure these daemon tasks were deployed onto a set of instances in your cluster required running complex scripts tied to auto-scaling templates. Alternatively, you could run daemon code as part of every application task, but this added complexity and often consumed more compute resources than necessary.
Now, Amazon ECS includes a daemon scheduling strategy that allows you to deploy, control, and view running daemon tasks on an ECS cluster. This scheduling strategy automatically tracks the changes in the cluster and deploys the required daemon tasks when new instances join the cluster. This helps you optimize for the CPU and memory required by your applications, enabling you to deploy one daemon task to support all application tasks running on each instance.
To learn more visit the Amazon ECS documentation.
Please visit the AWS region table to see all AWS regions where Amazon ECS is available.