|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
This section describes how to delete a snapshot.
If you make periodic snapshots of a volume, the snapshots are incremental so that only the blocks on the device that have changed since your last snapshot are saved in the new snapshot. Even though snapshots are saved incrementally, the snapshot deletion process is designed so that you need to retain only the most recent snapshot in order to restore the volume.
You cannot delete a snapshot of the root device of an EBS volume used by a registered AMI. You must first de-register the AMI before you can delete the snapshot.
To delete a snapshot
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
Click Snapshots in the navigation pane.
The console displays a list of current snapshots.
Select a snapshot and click Delete Snapshot.
A confirmation dialog box appears.
Click Yes, Delete.
The snapshot is deleted.
To delete a snapshot, use the ec2-delete-snapshot command.
Amazon EC2 returns information similar to the following example.
To delete a snapshot, use the DeleteSnapshot action. Construct the following request.
https://ec2.amazonaws.com/ ?Action=DeleteSnapshot &SnapshotId=
The following is an example response.
<DeleteSnapshotResponse xmlns="http://ec2.amazonaws.com/doc/2013-02-01/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> </DeleteSnapshotResponse>