Interruptible Capacity Reservations for capacity consumers
The capacity consumer is the account that launches instances into shared interruptible Capacity Reservations, understanding that their instances may be terminated when the owner reclaims capacity.
This section covers how you (the capacity consumer) can launch instances into an interruptible Capacity Reservation and learn about what happens when capacity is reclaimed by the owner.
Topics
View an interruptible Capacity Reservation
Use the following procedures to view an interruptible Capacity Reservation.
Note
Interruptible Capacity Reservations are by default targeted Capacity Reservations, so you need to target them specifically in your instance launch. Unlike open reservations, interruptible reservations will not automatically cover matching instances. You must explicitly specify the reservation ID when launching.
Launch instances into interruptible reservations
Use the following procedure to launch Amazon EC2 instances into interruptible Capacity Reservations within your account.
Note
We recommend that you only use interruptible Capacity Reservations for applications that can be interrupted.
Launch instances with Auto Scaling Groups
You can also launch instances into interruptible reservations using Auto Scaling Groups with launch templates. Configure the launch template with the interruptible market type and reservation ID, then create your Auto Scaling Group using that template. For more information, see Interruptible Capacity Reservations with EC2 Auto Scaling.
Interruption experience
When capacity is reclaimed by the owner, you receive an interruption notice 2 minutes before instance termination. This warning comes through EventBridge events, giving you time to:
-
Save your work or checkpoint your applications
-
Shut down processes
-
Prepare for instance termination
The EventBridge event includes details about which instances will be terminated and the exact termination time. For more information, see Instance interruption warning.