Provided by: ec2-api-tools_1.5.0.0-0ubuntu1_all bug


       ec2-register - Register image


        ec2reg ([ec2-register])


        Any command option/parameter may be passed a value of '-' to indicate
        that values for that option should be read from stdin.


        Register an Amazon Machine Image (AMI) for use within Amazon EC2.


        -K, --private-key KEY
            Specify KEY as the private key to use. Defaults to the value of the
            EC2_PRIVATE_KEY environment variable (if set). Overrides the default.

        -C, --cert CERT
            Specify CERT as the X509 certificate to use. Defaults to the value
            of the EC2_CERT environment variable (if set). Overrides the default.

        -U, --url URL
            Specify URL as the web service URL to use. Defaults to the value of
            '' (us-east-1) or to that of the
            EC2_URL environment variable (if set). Overrides the default.

        --region REGION
            Specify REGION as the web service region to use.
            This option will override the URL specified by the "-U URL" option
            and EC2_URL environment variable.

        -v, --verbose
            Verbose output.

        -?, --help
            Display this help.

        -H, --headers
            Display column headers.

            Display additional debugging information.

            Indicate empty fields.

            Do not display tags for tagged resources.

        --connection-timeout TIMEOUT
            Specify a connection timeout TIMEOUT (in seconds).

        --request-timeout TIMEOUT
            Specify a request timeout TIMEOUT (in seconds).


        -a, --architecture ARCHITECTURE
            The architecture of the image; either 'i386' or 'x86_64'. If not
            specified, 'i386' will be used.

        -b, --block-device-mapping MAPPING
            Defines a block device mapping for the image, in the form
            '<device>=<block-device>', where 'block-device' can be one of the

             - 'none': indicates that a block device that would be exposed at the
               specified device should be suppressed. For example: '/dev/sdb=none'

             - 'ephemeral[0-3]': indicates that the Amazon EC2 ephemeral store
               (instance local storage) should be exposed at the specified device.
               For example: '/dev/sdc=ephemeral0'.

             - '[<snapshot-id>][:<size>[:<delete-on-termination>]]': indicates
               that an Amazon EBS volume, created from the specified Amazon EBS
               snapshot, should be exposed at the specified device. The following
               combinations are supported:

                - '<snapshot-id>': the ID of an Amazon EBS snapshot, which must
                  be owned by the caller. May be left out if a <size> is
                  specified, creating an empty Amazon EBS volume of the specified

                - '<size>': the size (GiBs) of the Amazon EBS volume to be
                  created. If a snapshot was specified, this may not be smaller
                  than the size of the snapshot itself.

                - '<delete-on-termination>': indicates whether the Amazon EBS
                  volume should be deleted on instance termination. If not
                  specified, this will default to 'true' and the volume will be

               For example: '/dev/sdb=snap-7eb96d16'

            See the latest Developer's Guide for further information.

        -d, --description DESCRIPTION
            The description of the image.

        -n, --name NAME
            The name of the image, which must be between 3 and 128 characters
            long, and may contain letters, numbers and the following special
            characters: ( ) . - / _

        -s, --snapshot SNAPSHOT
            The ID of the Amazon EBS snapshot to be used as the root device.

        --kernel KERNEL
            The ID of the kernel associated with the image.

        --ramdisk RAMDISK
            The ID of the ramdisk associated with the image.

        --root-device-name ROOTDEVICENAME
            The name of the root device, e.g. '/dev/sda1'.