ec2-delete-bundle
ec2-delete-bundle
-b S3-BUCKET
-a AWS-ACCESS-KEY-ID
-s AWS-SECRET-KEY
[-m MANIFEST-PATH]
[-p PREFIX]
[--url URL]
[--retry]
[-y]
Delete the specified bundle from S3 storage.
Status messages indicating the various stages of the delete process are displayed.
Note | |
---|---|
Note that this tool does not support the common arguments |
Option | Definition | Required? | Example |
---|---|---|---|
-b, --bucket S3-BUCKET
|
The name of the AmazonĀ S3 bucket containing the bundled AMI | Yes | -b aes-cracker-ami-bucket |
-a, --access-key USER
|
The user's AWS access key ID. | Yes | -a 10QMXFEV71ZS32XQFTR2 |
-s, --secret-key PASSWORD
|
The user's AWS secret access key. | Yes | -s DMADSSfPfdaDjbK+RRUhS/aDrjsiZadgAUm8gRU2 |
-m, --manifest MANIFEST-PATH
|
The path to the unencrypted manifest file. | No | -m /var/spool/my-first-bundle/Manifest |
-p, --prefix PREFIX
|
The bundled AMI part filename prefix. | No | -p eos- |
--url URL
|
The S3 service URL. Defaults to https://s3.amazonaws.com. | No | --url https://s3.amazonaws.ie |
--retry
|
Automatically retry failed uploads. Use with caution. | No | --retry |
-y, --yes
|
Automatically assume the answer to all prompts is 'yes'. | No | -y |
--help
|
Display the help message. | No | --help |
--manual
|
Display the help. | No | --manual |
$
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.