Creating and Restoring a Linux EC2 Snapshot

30 minutes
  • 4 Learning Objectives

About this Hands-on Lab

For this lab, you have been tasked to test a client’s backup and restore capabilities within their AWS test environment. Upon completion of this lab, you will be able to create a new EBS snapshot, create an EBS volume from a snapshot, attach the new volume to an EC2 instance, and restore data from it.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create a Snapshot

Create a snapshot of the existing volume attached to the instance.

Create a New Volume

Create a new EBS volume from the newly created snapshot.

Remove the Important File

Remove the important file from the /mnt directory.

Restore the Important File

Attach the new volume to the EC2 instance, mount the volume to /new_vol, and restore the important file.

Additional Resources

Hello Gurus, in this scenario a client has tasked you with verifying a basic file restore on an EC2 instance by using a snapshot. They have an existing instance running with an attached EBS volume mounted to /mnt. This directory contains an important file. The client has requested you to create a snapshot of this EBS volume, create a new volume from the snapshot, remove the important file in /mnt, then use the new volume to restore the file you removed.

Good luck and have fun, Gurus.

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.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?