ec2-delete-bundle
ec2-delete-bundle
-b s3_bucket
-a access_key_id
-s secret_key
[-m manifest_path
]
[-p ami_prefix
]
[--url url
]
[--retry]
[-y]
Deletes the specified bundle from Amazon S3 storage.
Note | |
---|---|
This tool does not support the common arguments |
Option | Description | Required |
---|---|---|
|
The name of the Amazon S3 bucket containing the bundled AMI Example: |
Yes |
|
The AWS access key ID. Example: |
Yes |
|
The AWS secret access key. Example: |
Yes |
|
The path to the unencrypted manifest file. Example: |
No |
|
The bundled AMI filename prefix. Example: |
No |
|
The Amazon S3 service URL. Default: Example: |
No |
|
Automatically retries failed uploads. Use with caution. Example: |
No |
|
Automatically assumes the answer to all prompts is 'yes'. Example: |
No |
|
Display the help message. Example: |
No |
|
Display the manual entry. Example: |
No |
Amazon EC2 displays status messages indicating the stages and status of the delete process.
This example deletes a bundle from Amazon S3:
$
ec2-delete-bundle -b my-s3-bucket -a 10QMXFEV71ZS32XQFTR2 -s DMADSSfPfdaDjbK+RRUhS/aDrjsiZadgAUm8gRU2 -p fred
Deleting files: my-s3-bucket/fred.manifest.xml my-s3-bucket/fred.part.00 my-s3-bucket/fred.part.01 my-s3-bucket/fred.part.02 my-s3-bucket/fred.part.03 my-s3-bucket/fred.part.04 my-s3-bucket/fred.part.05 my-s3-bucket/fred.part.06 Continue? [y/n] y Deleted my-s3-bucket/fred.manifest.xml Deleted my-s3-bucket/fred.part.00 Deleted my-s3-bucket/fred.part.01 Deleted my-s3-bucket/fred.part.02 Deleted my-s3-bucket/fred.part.03 Deleted my-s3-bucket/fred.part.04 Deleted my-s3-bucket/fred.part.05 Deleted my-s3-bucket/fred.part.06 ec2-delete-bundle complete.