EC2 - Hibernate Flashcards
1
Q
What is EC2 Hibernate?
A
The process for the in-memory (RAM) state to be preserved incase an instance is stopped.
2
Q
How is the RAM state preserved during EC2 Hibernate?
A
The RAM state is dumped into the root EBS volume when the instance is stopped and then it’s loaded onto the instance as if the instance hadn’t been stopped
3
Q
What are the three use cases for hibernation?
A
- Long-running processing
- Saving the RAM state
- Services that take time to initialise (because the boot time is a lot faster)
4
Q
What are the two pros of using EC2 Hibernate?
A
- The RAM state remains intact even when the instance is stopped.
- The instance boot is much faster because the OS is not stopped/restarted.
5
Q
What are some requirements before you can use EC2 Hibernate?
A
- The root volume must be EBS
- EBS must be encrypted
- EBS volume must be large enough to hold the RAM that is dumped onto it
6
Q
What Instance purchasing options can EC2 Hibernate be used on?
A
On-Demand
Reserved
Spot
7
Q
How long can instances be hibernated for?
A
They cannot be hibernated more than 60 days.