CmdID

CmdID / aws / aws ec2

aws ec2 create-store-image-task

Stores an AMI as a single object in an Amazon S3 bucket. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To store an AMI in an S3 bucket

The following create-store-image-task example stores an AMI in an S3 bucket. Specify the ID of the AMI and the name of the S3 bucket in which to store the AMI.

aws ec2 create-store-image-task --image-id ami-1234567890abcdef0 --bucket amzn-s3-demo-bucketIdentify
--image-idThe ID of the AMI.
--bucketThe name of the Amazon S3 bucket in which the AMI object will be stored.
Its output
{
    "ObjectKey": "ami-1234567890abcdef0.bin"
}

For more information, see Store and restore an AMI using S3 in the Amazon EC2 User Guide.

Options

4 in the AWS CLI reference
--bucketThe name of the Amazon S3 bucket in which the AMI object will be stored.
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--image-idThe ID of the AMI.
--s3-object-tagsThe tags to apply to the AMI object that will be stored in the Amazon S3 bucket.