Posted On: Sep 21, 2023

You can now inject random Amazon EC2 Spot Instance interruptions into your Spot Fleets directly from the Amazon EC2 console. In 2022, we launched the ability for you to use AWS Fault Injection Simulator (AWS FIS) in the Amazon EC2 console to simulate what happens when Amazon EC2 reclaims a single EC2 Spot Instance. Now, we have enhanced this capability so you can introduce interruptions in a randomly selected set of instances of a Spot Fleet with just a couple of clicks. This makes it easy to test if your Spot Fleet-based application is resilient against the random nature of Spot Interruptions. 

Spot Instances enable you to run compute workloads on Amazon EC2 at a discount in exchange for returning the Spot Instances when Amazon EC2 needs the capacity back. Because it is always possible that your Spot Instance may be interrupted, you should ensure that your application is prepared for a Spot Instance interruption. To trigger Spot Instance interruptions in your Spot Fleet from the Amazon EC2 console, simply navigate to the Spot Request section, select a Spot Fleet request, choose Actions, Initiate interruption, and then input how many instances you want to interrupt. Behind the scenes, we then use AWS FIS to interrupt randomly selected Instances in the Spot Fleet so that you can test how your Spot Fleet-based application will react to a given level of interruptions.

Initiating a Spot Instance interruption through the Amazon EC2 console is now available in all AWS Regions where FIS is available, including the AWS GovCloud (US) Regions.