I want to restore an Amazon Elastic Block Store (Amazon EBS) volume that's attached to an Amazon Elastic Compute Cloud (Amazon EC2) instance from an EBS snapshot.
Use one of the following ways to restore the EBS volume from an EBS snapshot.
To restore data from an EBS snapshot, you can create a new EBS volume from the EBS snapshot. The new EBS volume has the data of the EBS snapshot from the time that the snapshot was first created.
Attach the EBS volume to an existing EC2 instance, mount the volume inside the EC2 instance, and then read or copy the data.
You can't restore an EBS snapshot on to an existing EBS volume. Instead, create a new EBS volume. Then, replace the old root volume of the EC2 instance with the new EBS volume.
To replace the root volume of the EC2 instance, complete the following steps:
Or, to restore the instance's root volume to a specific snapshot that you created from the root volume, replace the root volume.
To create an Amazon Machine Image (AMI) from an EBS snapshot, complete the following steps:
Note: The AMI becomes the root volume for your new EC2 instance.
After you create the image, make sure that it's available. Then, launch a new EC2 instance that uses the EBS snapshot for the root volume.