- Lab
- A Cloud Guru
Performing a Backup and Restore Using AMI and EBS
Welcome to this live hands-on AWS lab for performing a backup and restore using AMIs and EBS. This lab will explore several common backup and restore methods for the Amazon EC2 service. By completing this lab, you will gain hands-on experience with: * EBS snapshots * Amazon Machine Images (AMIs) For administrators and operations personnel, it is extremely important to understand the need for backing up application resources. These actions are one step you can take to ensure quick recovery from disasters and/or to have the ability to roll back changes if necessary. Good luck, and enjoy the lab!
Path Info
Table of Contents
-
Challenge
Create an EBS Snapshot
Create a snapshot from a web application server's EBS volume.
- Navigate to EC2 > Instances.
- Check the box beside one of the "webserver-instance" instances.
- Click the link to the Root device, and then the EBS volume link.
- On the Volumes page, click Actions, and then Create Snapshot.
- Enter a description.
- Click Create Snapshot.
-
Challenge
Create a New EBS Volume from a Snapshot
Create a new EBS volume from the snapshot you just created in the previous step. This is how you restore an EBS volume from a snapshot.
- Navigate to the Snapshots page.
- Check the box beside the snapshot you just created.
- Click Actions, and then Create Volume.
- Change the volume size to 10 GiB.
- Click Create Volume.
- Click Close.
-
Challenge
Create Two EC2 AMIs
Amazon Machine Images can be created via several different methods. Create two AMIs following the methods detailed in the video.
Method 1
- Navigate to the Instances page.
- Check the box beside one of the webserver-instance instances.
- Click Actions, then Image, and then Create Image.
- Add a name and description.
- Click Create Image, and then Close.
- Choose AMIs from the left menu to see the image you created.
- Once the image is available, navigate to the instances page.
- Click Launch Instance.
- Choose My AMIs in the left column.
- Click Select, and then you can configure all the other options for a new instance.
- For now, click Cancel.
Method 2
- Navigate to Snapshots.
- Check the box beside the snapshot you made earlier.
- Click Actions, and select Create Image.
- Enter a name and description.
- Change Virtualization type to Hardware-assisted virtualization.
- Click Create.
- Click Close.
- Choose AMIs from the left menu to see the image you created.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.