Collapse AllExpand All

euca-upload-bundle

Uploads a previously bundled image to the cloud.

Syntax

euca-upload-bundle -b bucket_name -m manifest_file

Options

Option Description Required
-b,--bucket bucket_name Name of the bucket to upload to Yes
-m,--manifest manifest_file Path to the manifest file for bundled image Yes
--acl Canned access policy No
--ec2cert cert_path Path to the cloud's X509 public key certificate No
-d,--directory directory The directory containing the bundled image to upload. Defaults to the manifest directory. No
--part Uploads specified part and all subsequent parts No
--skipmanifest Do not upload the manifest
--location The location of the destination S3 bucket
Valid values: US | EU | us-west-1 | ap-southeast-1 | ap-northeast-1
No

Common Options

Option Description
--region region Region to direct requests to. Only valid for EC2 endpoints.
-U,--url url URL of the cloud to connect to. Expects an EC2 endpoint /services/Eucalyptus.
-a,--access-key access_key_id User's access key ID
-s,--secret-key secret_key User's secret key
--config configuration_path Read credentials and cloud settings from the specified config file.
Default: $HOME/.eucarc or /etc/euca2ools/eucarc.
--debug Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools.
--debugger Enable interactive debugger on error
-h,--help Display the manual page for the command.
--version Display the version of this tool

Output

Eucalyptus returns status messages that indicate the stages and status of the upload process.

Example

euca-upload-bundle -b mah-bukkit -m /tmp/myimage.img.manifest.xml
Checking bucket: mah-bukkit
Creating bucket: mah-bukkit
Uploading manifest file
Uploading part: myimage.img.part.00
Uploading part: myimage.img.part.01
Uploading part: myimage.img.part.02
Uploading part: myimage.img.part.03
Uploaded image as mah-bukkit/myimage.img.manifest.xml