Amazon ECS On Elastigroup
This article presents ECS’s integration with
Elastigroup Container Service and the key integration features.
Amazon’s Elastic Container Service (Amazon ECS) is a highly scalable, high-performance container orchestration service that supports Docker containers and allows you to easily run and scale containerized applications on AWS.
Elastigroup handles the provisioning, managing, and scaling of the underlying cluster on which your containers run and provides a
Task Driven Scaling – meaning that it will scale the infrastructure up & down based on the ECS Tasks requirements.
By utilizing Spot instances for your cluster, Elastigroup delivers savings of up to 80% on your compute costs.
More Sophisticated Cluster Scheduling
Elastigroup automatically fetches
AWS/ECS CloudWatch metrics like
MemoryReservation so you can easily scale up or down EC2 resources whenever needed. These metrics are presented within the context of the ECS cluster to enable maximum control over your ECS resources.
Safe Instance Draining
Elastigroup communicates with the ECS cluster’s scheduler to make sure your desired Task and Services are operating as expected. Whenever an EC2 instance is scheduled for replacement (
Predicted EC2 Spot Interruption), whether if its due to a scale-down activity or a Spot instance replacement, Elastigroup invokes the
deregisterContainerInstance action to notify the ECS scheduler and reschedule the Tasks (containers) that run on the hosts, as well as safely draining the instance from the attached Elastic Load Balancers.
Serverless Experience for ECS
Elastigroup automatically scales the cluster up and down based on Tasks and services utilization, ensuring the optimal containers placement. You can learn more about how the ECS Autoscaler works here.