Delete an EBS volume
DestructivePermanently deletes the volume and all its data; the volume must first be detached from any instance.
Destructive: this command can permanently delete data. Check every value before running it.
aws ec2 delete-volume --volume-id volume_idEdit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/aws-ec2.md), licensed under CC BY 4.0.