06. πΎ EBS Snapshot
An EBS Snapshot is a point-in-time backup of an EBS volume. You can create it anytime β detaching the volume is optional but recommended.
Snapshots can be copied across Availability Zones or Regions.

Useful for backup, restore, and migration of volumes.

βοΈ EBS Snapshot Featuresβ
ποΈ EBS Snapshot Archiveβ
- Move snapshots to an archive tier (up to 75% cheaper).
- Restore time: 24β72 hours.
π§Ί Recycle Bin for Snapshotsβ
- Retain deleted snapshots for accidental recovery.
- Configure retention policies (from 1 day to 1 year).
πͺ Creating an EBS Snapshotβ
πͺ Stepsβ
-
Go to EC2 Dashboard β Elastic Block Store β Volumes.
-
Select the volume you want to back up.
-
Click Actions β Create Snapshot.

-
(Optional) Add a Description or Tags for identification.
-
Click Create Snapshot.

π‘ You donβt need to detach the volume to take a snapshot but itβs recommended to ensure data consistency.
π Copying an EBS Snapshotβ
πͺ Stepsβ
- Go to EC2 Dashboard β Elastic Block Store β Snapshots.
- Select the snapshot you want to copy.
- Click Actions β Copy Snapshot.
- Choose the Destination Region or Availability Zone.
- (Optional) Encrypt the copy or add tags.

- Click Copy Snapshot.
π― Why Copy a Snapshot?β
| Reason | Description |
|---|---|
| Cross-Region Backup | Protect data from regional failures by keeping backups in another Region. |
| Migration | Move EBS volumes or AMIs to a different Region for deployment. |
| Sharing | Copy and share snapshots with other AWS accounts. |
| Compliance | Maintain geographically distributed backups for disaster recovery. |
π½ Creating a Volume from a Snapshotβ
πͺ Stepsβ
- Go to EC2 Dashboard β Elastic Block Store β Snapshots.
- Select the snapshot you want to restore.
- Click Actions β Create Volume from Snapshot.
- Choose:
- Volume Type (e.g.,
gp3,io2) - Size (can be larger than the snapshot)
- Availability Zone (where youβll attach the instance)
- Volume Type (e.g.,
- Click Create Volume.

π― Why Create a Volume from a Snapshot?β
| Use Case | Description |
|---|---|
| Data Recovery | Restore data from a previous backup. |
| Cloning | Create identical volumes for testing or scaling. |
| Migration | Recreate the volume in another Region or AZ. |
π§Ί Creating a Retention Rule for Recycling Snapshots, Volumes or AMIβ
πͺ Stepsβ
- Go to EC2 Dashboard β Elastic Block Store β Recycle Bin.
- Click Create Retention Rule.
- Under Resource Type, select EBS Snapshots.
- Set:
- Retention Period: e.g.,
7 days,30 days, or up to1 year. - Resource Tags: define which snapshots the rule applies to.
- Retention Period: e.g.,
- Click Create Rule.

- Now any deleted snapshot will go to recycle bin first.