EC2-COPY-IMAGE(1)
π EC2-COPY-IMAGE(1) π
okay bestie, sit down, hydrate, because we're talking about ec2-copy-image β she's a user command, she lives in section 1 of the manual, and she is literally about to move a whole AMI into your region from somewhere else. slay.
β¨ NAME β¨
ec2-copy-image β Copies an AMI to this region from another region π¦
β¨ SYNOPSIS β¨
ec2cpimg ([ec2-copy-image])
ec2cpimg [GENERAL OPTIONS] -r SOURCE_REGION -s SOURCE_AMI_ID -n AMI_NAME [-d DESCRIPTION] [-c CLIENT_TOKEN]
no cap, that's the whole shape of it. the short little ec2cpimg alias is giving convenience, and the full form is the main character version with all your flags. π
β¨ GENERAL NOTES β¨
okay so this is important and it applies everywhere: any command option or parameter can be handed a value of -, and that means "hey, read the values for this option from stdin instead". yes, every single one. it's giving flexible. π
β¨ DESCRIPTION β¨
Copies an AMI to this region from another region. that's it, that's the vibe β one region's AMI, teleported into your region. iconic behavior fr fr. π
β¨ GENERAL OPTIONS β¨
these are the universal ones, the ones that show up to every party. π
-O,--aws-access-key KEYβ your AWS Access Key ID. Defaults to the value of theAWS_ACCESS_KEYenvironment variable (if set).-W,--aws-secret-key KEYβ your AWS Secret Access Key. Defaults to the value of theAWS_SECRET_KEYenvironment variable (if set).-T,--security-token TOKENβ AWS delegation token. Defaults to the value of theAWS_DELEGATION_TOKENenvironment variable (if set).-K,--private-key KEYβ [DEPRECATED] π SpecifyKEYas the private key to use. Defaults to the value of theEC2_PRIVATE_KEYenvironment variable (if set). Overrides the default.-C,--cert CERTβ [DEPRECATED] π SpecifyCERTas the X509 certificate to use. Defaults to the value of theEC2_CERTenvironment variable (if set). Overrides the default.-U,--url URLβ SpecifyURLas the web service URL to use. Defaults to the value ofhttps://ec2.amazonaws.com(us-east-1) or to that of theEC2_URLenvironment variable (if set). Overrides the default.--region REGIONβ SpecifyREGIONas the web service region to use. This option will override the URL specified by the-U URLoption and theEC2_URLenvironment variable. This option defaults to the region specified by theEC2_URLenvironment variable, orus-east-1if this environment variable is not set.-D,--auth-dry-runβ Check if you can perform the requested action rather than actually performing it. a vibe check, basically. β¨-v,--verboseβ Verbose output.-?,--helpβ Display this help.-H,--headersβ Display column headers.--debugβ Display additional debugging information.--show-empty-fieldsβ Indicate empty fields.--hide-tagsβ Do not display tags for tagged resources.--connection-timeout TIMEOUTβ Specify a connection timeoutTIMEOUT(in seconds).--request-timeout TIMEOUTβ Specify a request timeoutTIMEOUT(in seconds).
β¨ SPECIFIC OPTIONS β¨
the ones that are just for this command. she's specialized. π
-r,--source-region SOURCE_REGIONβ The region from which to copy the AMI.-s,--source-ami-id SOURCE_AMI_IDβ The AMI to copy.-n,--nameβ The name of the AMI.-d,--descriptionβ An optional description of the AMI.-c,--client-token TOKENβ An optional client token for idempotency.
β¨ SEE ALSO β¨
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
π«Ά friendly reminder bestie:-Kand-Care marked [DEPRECATED] in the original, so don't build your whole personality around them, okay?
and that's the whole page, no notes. this one came from the EC2 API command line tools, version 1.6.14.1, api=2014-05-01, and she's filed under EC2-COPY-IMAGE(1) β go forth and copy that image, you absolute legend π
β¨π
π¦ where this page comes from
- ubuntu jammy: ec2-api-tools 1.6.14.1-0ubuntu1
- ubuntu noble: ec2-api-tools 1.6.14.1-0ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms