fbpx

ECS On Elastigroup With MCS

This article presents ECS’s integration with Elastigroup’s Managed Container Services 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. MCS handles the provisioning, managing and scaling of the underlying cluster on which your containers run. By utilizing Spot instances for your cluster, MCS delivers savings of up to 80% on your compute costs.

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, 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 containers that run on the hosts, as well as safely draining the instance from the attached Elastic Load Balancers.

MCS AutoScaler for ECS

MCS’s ECS AutoScaler automatically scales your cluster up and down based on tasks and services utilization, ensuring the optimal scale for your operations at all times. You can learn more about how the ECS Autoscaler works here.