EC2 Hibernate

It is one of the feature that make EC2 instance can run faster after it is stopped or terminated. When we stop the instance It will store the data in disk (EBS) for next start. Also for terminated It destroy EBS volume. so for this either way everytime we try to start or boot the EC2 instance it is slow then EC hibernate is the mechanism that we save the state of RAM in root EBS volume (require root EBS volume must be encrypted to use Hibernate) Good to know

  • Available for On-demand , Reserved and Spot Instance

  • RAM must be less than 150 GB

  • An instance can not be hibernated more than 60 days

Usecase

  • Service that take time to initialize

  • Saving RAM state

Last updated