Posted On: Jan 25, 2018
Amazon EC2 Spot can now hibernate EBS-backed Amazon EC2 C5 and M5 instances in the event of an interruption. Spot instances can fulfill your request by resuming instances from a hibernated state when capacity is available. Hibernate is just like closing and opening your laptop lid, with your application starting up right where it left off.
This feature is now available on C5 and M5 instance families with memory (RAM) of less than 100 GB running Amazon Linux, Ubuntu and Microsoft Windows operating systems. Hibernation has been available for C3, C4, M4, R3 and R4 instance families since Nov 28, 2017.
Upon hibernation, Spot instances will persist your EBS root volume and any other attached EBS data volumes between sessions. Additionally, data from memory (RAM) is also saved to your EBS root volume. Upon restart, your EBS root device is restored from its prior state, including the RAM content. Previously attached data volumes are reattached and the instance retains its instance ID. You will not be charged for instance usage while your instance is hibernated. Storage is charged at standard EBS storage rates. You can cancel your Spot request at any time in order to terminate hibernated instances.
The feature is available for persistent Spot instance requests and Spot Fleets with maintain fleet option enabled. To learn more about enabling hibernation for your Spot instance requests, read about Spot Hibernation.