Leveraging Amazon EC2 Spot Instances at Scale
Leveraging Amazon EC2 Spot Instances at Scale

Spot Instance Interruptions

You can choose to have the Spot service stop instead of terminate your Amazon EBS-backed Spot Instances when they are interrupted. Spot can then fulfill your request by restarting instances from a stopped state when capacity again becomes available within your price and time requirements.

To use this new feature, choose stop instead of terminate as the interruption behavior when submitting a persistent Spot request. When you choose stop, Spot will shut down your instance upon interruption. The EBS root device and attached EBS volumes are saved and their data persists. When capacity is available again within your price and time requirements, Spot will restart your instance. Upon restart, the EBS root device is restored from its prior state, previously attached data volumes are reattached, and the instance retains its instance ID.

This feature is available for persistent Spot requests and Spot Fleets with the maintain fleet option enabled. You will not be charged for instance usage while your instance is stopped. EBS volume storage is charged at standard rates.