- Create an instance that supports hibernation
- Hibernate the instance
- Start the instance
- What way is there to prove that instance was hibernated from OS perspective?
-
Create an instance that supports hibernation
-
Go to EC2 service
-
Go to instances and create an instance
-
In "Configure instance" make sure to check "Enable hibernation as an additional stop behavior"
-
In "Add storage", make sure to encrypt EBS and make sure the size > instance RAM size (because hibernation saves the RAM state)
-
Review and Launch
-
Hibernate the instance
-
Go to the instance page
-
Click on "Instance state" -> "Hibernate instance" -> Hibernate
-
Instance state -> Start
-
Run the "uptime" command, which will display the amount of time the system was up