EC2 Hibernate
Hibernation saves in-memory state to the root EBS volume so a supported instance can resume more quickly.
How it works
EC2 Hibernate saves the RAM contents of a supported instance to its root EBS volume and stops the instance. On restart, the operating system restores the saved memory state, allowing applications to resume without repeating all initialization. Resume time and successful reconnection depend on the workload; not every instance or operating system supports this feature.
When to use it
Choose it when the requirement is reduce startup time while preserving the operating system memory state.
Real-world example
A financial modeling application has a lengthy initialization step. Engineers test hibernation on a supported EC2 instance to preserve its memory state overnight, then measure resume time and verify that the application reconnects correctly.
Common pitfall
Hibernation must be enabled when the instance is launched. The root EBS volume must be encrypted and have enough space for RAM contents and other required data; check the support requirements before using it.
Often confused with
Compare its service boundary with Placement group trade-offs; choose from the workload requirement.
References
Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:
Understand it for real with 3D models and simulated labs
Connect the concept to a working architecture.