AWS CLI EC2 Cheat Sheet/Delete a snapshot

Remove a no-longer-needed snapshot.

Section: EBS Volumes and Snapshots

Delete a snapshot

bash
bash
aws ec2 delete-snapshot --snapshot-id snap-0123456789abcdef0
Explanation

Be careful to preserve restore points required by retention policy.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing EBS Volumes and Snapshots
Create a snapshot
Snapshot an EBS volume.
OpenIn sheetbashsame section
Describe snapshots
List snapshots visible to the account.
OpenIn sheetbashsame section
Describe EBS volumes
List attached and unattached EBS volumes.
OpenIn sheetbashsame section
Create an EBS volume
Create a new volume in a specific AZ.
OpenIn sheetbashsame section
Attach a volume
Attach an existing EBS volume to an instance.
OpenIn sheetbashsame section
Delete a key pair
Remove a key pair from the account.
OpenIn sheetbash3 tag match