๐Ÿ“ธ What is an EBS Snapshot?

๐Ÿ“ธ What is an EBS Snapshot?

An EBS Snapshot is a point-in-time backup of an Amazon EBS volume, stored in Amazon S3 (though not directly accessible like regular S3 objects).

โœ… Snapshots are incremental โ€” only the blocks that changed since the last snapshot are saved, reducing storage costs.


๐Ÿ“ฆ Key Features:

Feature Description
Backup mechanism Creates a backup of EBS volume (can be used to restore or clone)
Incremental After the first full snapshot, only changed data is saved
Cross-region copy Snapshots can be copied across AWS regions
Volume restoration Can create new EBS volumes from any snapshot
Automation Supports scheduled snapshots using Data Lifecycle Manager (DLM)
Encryption Supports both encrypted and unencrypted snapshots

๐Ÿ” How Snapshots Work

  • You take a snapshot of an EBS volume (e.g., a disk attached to EC2).
  • AWS saves a copy of all the data blocks (first time) or only changed blocks (subsequent).
  • You can use the snapshot to:
    • Restore the volume
    • Create new volumes
    • Copy to other regions
    • Share with other AWS accounts

๐Ÿงช Creating a Snapshot (via AWS Console or CLI)

๐Ÿ–ฅ๏ธ AWS CLI:

aws ec2 create-snapshot \
ย  --volume-id vol-12345678 \
ย  --description "My backup snapshot"

๐Ÿ”„ Restore from Snapshot

You can create a new volume from a snapshot:

aws ec2 create-volume \
ย  --snapshot-id snap-12345678 \
ย  --availability-zone us-east-1a

๐Ÿ“‰ Cost Optimization

  • Snapshots are incremental, but you pay for total storage used
  • You can delete old snapshots manually or via Data Lifecycle Manager
  • Use EBS Snapshot Archive for long-term storage at lower cost

๐Ÿ” Security

  • Encrypt at rest using AWS KMS
  • You can share snapshots with other AWS accounts (only unencrypted ones by default)

โœ… Summary

Feature Value
Backup Type Incremental block-level
Storage Location Amazon S3 (managed, not visible)
Restore Support Yes โ€“ new EBS volume
Cross-region copy โœ… Yes
Automation โœ… With Data Lifecycle Manager (DLM)
Security โœ… Encryption & access control
Back to blog

Leave a comment