Home/Server & Website Managed Operations/Creating EBS Snapshots and Restoring from Snapshots
Server & Website Managed Operations

Creating EBS Snapshots and Restoring from Snapshots

Amazon EC2 instances use Elastic Block Store (EBS) for storage. When necessary, you can restore data using EBS snapshots. Here is an introduction to how to create EBS snapshots and restore them.

Creating a Snapshot

1. Open the EC2 console. As shown below, click “Volumes”, select the volume for which you want to create a snapshot, click “Actions”, and select “Create Snapshot” from the dropdown menu.

Volumes1

2. Enter the snapshot name and description. Click “Create”. Set the “Name” to a distinctive snapshot name for easy identification and selection in the future.

Create-Snapshot1

3. Once created, click “Close”.

Snapshot-close

4. Confirm that the snapshot has been created successfully.

Snapshot-ok

Restoring EBS from a Created Snapshot

To restore data via a snapshot, follow these steps:

  • Create an EBS volume from the previously created snapshot
  • Stop the EC2 instance
  • Detach the volume connected to the EC2 instance
  • Attach the newly created volume to the EC2 instance
  • Start the EC2 instance

1. Create an EBS volume from the previously created snapshot.

Select the newly created “Snapshot”, click “Actions”, and select “Create Volume” from the dropdown menu.

Create-volumes

2. Keep the default settings as shown below and click “Create”.

Create-Volume1

Note: You must create the volume in the same Availability Zone (AZ) as the EC2 instance.

3. Once the volume creation is complete, click “Close”.

Volume-close

4. Confirm the newly created volume.

Volume-ok5. To replace the volume, you need to stop the EC2 instance.

EC2-stop

6. Detach the volume previously connected to the EC2 instance.

Select the volume, click “Actions”, and select “Detach Volume” from the dropdown menu. Volumes-Detach7. Click “Yes, Detach”.

yes-Detach

8. Attach the newly created volume to the EC2 instance.

Select the newly created volume, click “Actions”, and select “Attach Volume” from the dropdown menu. As shown below:

Attach-Volume19. Keep the default settings and click “Add”.

Attach10. Confirm that the volume has been attached successfully.

Attach-Instance111. Successfully restart the instance.

Attach-ok

Additional Notes

EBS snapshots can also be shared with specific users. Interested readers are invited to refer to our blog post [AWS AMI or EBS Snapshot Sharing].

FREE CHECKUP

Free server checkup

We will send a problem checklist and remediation advice within one business day — no obligation to engage.

135 410 16684
Weekdays Mon – Fri 10:00 – 22:00 (UTC+8) · 7×24 emergency response
Call now
CONTACT

Contact Us

How can we help?

* Required