Hibernate is like putting your laptop into sleep mode instead of shutting it down.

When you normally stop an EC2 instance, everything in RAM is wiped. Next boot starts fresh — OS loads again, applications initialize again, which can be slow.

When you hibernate an EC2 instance, the entire contents of RAM are saved to the root EBS volume. When you start the instance again, that RAM state is reloaded and the instance resumes exactly where it left off.

Normal Stop vs Hibernate:

Normal Stop Hibernate
RAM data Lost Saved to EBS
Next boot Fresh start (slow) Resume from saved state (fast)
OS restart Yes No

How it Works

Instance running → Hibernate triggered
    |
RAM contents written to root EBS volume (encrypted)
    |
Instance stops
    |
Start instance again
    |
RAM contents loaded back from EBS
    |
Instance resumes exactly where it left off

The OS is never restarted. Boot time is very fast because the system just reloads memory rather than initializing everything from scratch.


Requirements