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.