Amazon ECS On Elastigroup’s MCS 

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’s Managed Container Service (MCS) 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.

Key Benefits


More Sophisticated Cluster Scheduling

MCS automatically fetches AWS/ECS CloudWatch metrics like CPUReservation and 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

MCS 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

The Elastigroup’s MCS Autoscaler for ECS automatically scales your cluster up and down based on tasks and services utilization, providing optimized container placement. You can learn more about how the MCS Autoscaler for ECS works here.


What’s Next
  • Start integrating your ECS cluster with Elastigroup’s MCS with the tutorial here.
  • Learn more about the MCS Autoscaler for ECS here.
  • The MCS Autoscaler for ECS utilizes a tetris scaling method to optimally place tasks in your cluster. Learn more about the tetris scaling process here.