Performing a Backup and Restore Using AMI and EBS

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

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!

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create an EBS Snapshot

Create a snapshot from a web application server’s EBS volume.

  1. Navigate to EC2 > Instances.
  2. Check the box beside one of the "webserver-instance" instances.
  3. Click the link to the Root device, and then the EBS volume link.
  4. On the Volumes page, click Actions, and then Create Snapshot.
  5. Enter a description.
  6. Click Create Snapshot.
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.

  1. Navigate to the Snapshots page.
  2. Check the box beside the snapshot you just created.
  3. Click Actions, and then Create Volume.
  4. Change the volume size to 10 GiB.
  5. Click Create Volume.
  6. Click Close.
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

  1. Navigate to the Instances page.
  2. Check the box beside one of the webserver-instance instances.
  3. Click Actions, then Image, and then Create Image.
  4. Add a name and description.
  5. Click Create Image, and then Close.
  6. Choose AMIs from the left menu to see the image you created.
  7. Once the image is available, navigate to the instances page.
  8. Click Launch Instance.
  9. Choose My AMIs in the left column.
  10. Click Select, and then you can configure all the other options for a new instance.
  11. For now, click Cancel.

Method 2

  1. Navigate to Snapshots.
  2. Check the box beside the snapshot you made earlier.
  3. Click Actions, and select Create Image.
  4. Enter a name and description.
  5. Change Virtualization type to Hardware-assisted virtualization.
  6. Click Create.
  7. Click Close.
  8. Choose AMIs from the left menu to see the image you created.

Additional Resources

Please log in to the live environment with the cloud_user credentials provided.

Make sure you are using the us-east-1 region throughout the lab.

What are Hands-on Labs

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.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!
Thanks for reaching out!

You’ll hear from us shortly. In the meantime, why not check out what our customers have to say about ACG?