Posted On: Sep 16, 2022

HAQM Elastic Container Service (HAQM ECS) has improved HAQM ECS Capacity Providers to deliver a faster Cluster Auto Scaling experience for scale-in events. HAQM ECS now scales-in excess capacity at a much faster rate, which helps you improve utilization of your infrastructure and saves compute costs.

HAQM ECS is a fully managed container orchestration service that makes it easier for you to deploy, manage, and scale containerized applications. Cluster auto scaling (CAS) is an HAQM ECS capability that manages the HAQM EC2 instances in an Auto Scaling group (ASG) on your behalf, so that you can focus on running your tasks without having to worry about managing infrastructure. With CAS, HAQM ECS manages both scaling-out and scaling-in of HAQM EC2 instances so that your cluster has the optimal capacity for your workloads. During scale-in, HAQM ECS reduces ASG capacity iteratively over several steps to maximize availability while stabilizing capacity to meet demand. Previously, HAQM ECS limited each scale-in step to reduce 5% ASG capacity at a time. With today’s launch, HAQM ECS has increased the scale-in step limit to reduce up to 50% ASG capacity, which translates to fewer scale-in steps and a more responsive scaling-in experience, while still maintaining availability of capacity for spiky traffic patterns. We tested this enhancement for an HAQM ECS service that had scaled-out to 334 c5.xlarge instances for 1000 tasks and required scaling-in to 34 instances for 100 tasks at steady state . The scale-in time period saw an 8x improvement from 80 minutes down to 10 minutes post the scale-in step enhancement. For more details on our performance benchmarking, refer to the blog post.

Faster scaling-in for HAQM ECS Cluster Auto Scaling is automatically available to all HAQM ECS customers in all AWS Regions where HAQM ECS is available. To learn more, refer to the blog post and Cluster Auto Scaling user guide.