euca-bundle-instance

Bundles a running instance into a machine image and stores the image in object storage service. This command is typically used with Windows instances.

Syntax

euca-bundle-instance  instance_id -b bucket -p prefix -o access_key_id -c policy 
				-s signature -w secret_key -x expires  

Options

Option Description Required
instance_id ID of the instance you want to bundle Yes
-b,--bucket bucket_name Name of the bucket to upload. Yes
-p,--prefix The prefix for the bundle image files. Yes
-o,--access-key-id access_key_id Access key ID of the owner of the bucket Yes
-c,--policy policy Base64-encoded upload policy that allows the server to upload a bundle on your behalf. If unused, the -w parameter is required. Conditional
-s,--policy-signature signature The signature of the Base64-encoded upload policy. If unused, the -w parameter is required. Conditional
-w,--secret-key secret_key The bucket owner's secret access key, used to sign the upload policy. This parameter is required unless both the -c and the -s parameters are specified. Conditional
-x,--expires Expiration, in hours, for the generated upload policy. Default value is 24. No

Common Options

Option Description
--show-empty-fields Show empty fields as "(nil)".
--region user@region Region and/or user name to search when looking up config file data. Only valid for EC2 endpoints.
-U,--url url URL of the cloud service to connect to. For administrative commands, this should be <ip_address>:8773/services/Empyrean.
-I,--access-key-id key_id User's access key ID.
-S,--secret-key secret_key User's secret key.
--security-token token User's security token.
--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

Example

euca-bundle-instance -b mah-bukkit -p windows -o
JCCBLEOQTLCFVNDPWUOG7 -w ZNpf50R3MmhA56YIMWd8ZmpucIW8NxYl84XT6l8N
i-E7AC420A
BUNDLE bun-CFF03DFA i-E7AC420A mah-bukkit winemi pending
2012-01-01T00:00:00.000Z 2012-01-01T00:00:00.000Z
x