Posted On: Nov 17, 2020

Starting today, you can proactively rebalance your workloads running on EC2 Spot Instances without having to wait until the Spot Instance receives a two minute Instance interruption notice. You now have access to a new feature called “EC2 Instance rebalance recommendation”, a signal from Amazon EC2 that notifies you when a Spot Instance is at elevated risk of interruption. The signal can arrive sooner than the two minute Spot Instance interruption notice, giving you the opportunity to proactively rebalance your workload to new or existing Spot Instances that are not at elevated risk of interruption. For example, you can start checkpointing your work early to save as much state as possible before the instance is interrupted. Or you can prevent scheduling new work onto the Spot Instances that received the rebalance recommendation to increase the chance of completing the work.

You can access the EC2 Instance rebalance recommendation signal on a running Spot Instance using Instance Metadata service or using Amazon Event Bridge notifications. To learn more about EC2 Instance rebalance recommendation, please visit this page.

We simplified consuming this new signal by adding a new feature called Capacity Rebalancing to Amazon EC2 Auto Scaling, EC2 Fleet, and Spot Fleet to make it easier for you to manage your workloads backed by Spot Instances. For more information, see Amazon EC2 Auto Scaling Capacity Rebalancing documentation in the Amazon EC2 Auto Scaling User Guide, Capacity Rebalancing for EC2 Fleet and Capacity Rebalancing for Spot Fleet.

Get started with Amazon EC2 Spot instances today using the Amazon Web Services Management Console, Amazon Command Line Interface (CLI), or Amazon SDK.