Deletes an Amazon EBS volume that you own. For more information about Amazon EBS, go to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide.
![]() | Note |
|---|---|
The volume remains in the deleting state for several minutes after you enter this command. |
ec2-delete-volume
volume_id
| Name | Description | Required |
|---|---|---|
|
|
The ID of the volume to delete. The volume remains in the deleting state for several minutes after entering this command. Type: String Default: None Example: vol-4282672b |
Yes |
The command returns a table that contains the following information:
VOLUME identifier
ID of the volume you deleted
Amazon EC2 displays errors on stderr.
This example deletes volume vol-4282672b.
PROMPT>ec2-delete-volume vol-4282672bVOLUME vol-4282672b