ec2-delete-volume
Description
Deletes an Amazon EBS volume that you own. For more information about Amazon EBS, go to the
Note | |
---|---|
The volume remains in the deleting state for several minutes after you enter this command. |
Syntax
ec2-delete-volume
volume_id
Options
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 |
Output
The command returns a table that contains the following information:
-
VOLUME identifier
-
ID of the volume you deleted
Amazon EC2 displays errors on stderr.
Examples
Example Request
This example deletes volume vol-4282672b
.
PROMPT>ec2-delete-volume vol-4282672b
VOLUME vol-4282672b