99c4e02ecf
Name it instead "topics" so it won't be strange if some topics included "exercises" directory.
852 B
852 B
AWS EC2 - Hibernate an Instance
Objectives
- 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?
Solution
-
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