EC2-COPY-IMAGE(1)

πŸ“¦ version 1.6.14.1, in ubuntu jammy, ubuntu noble

πŸ’– 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 the AWS_ACCESS_KEY environment variable (if set).
  • -W, --aws-secret-key KEY β€” your AWS Secret Access Key. Defaults to the value of the AWS_SECRET_KEY environment variable (if set).
  • -T, --security-token TOKEN β€” AWS delegation token. Defaults to the value of the AWS_DELEGATION_TOKEN environment variable (if set).
  • -K, --private-key KEY β€” [DEPRECATED] πŸ‘‘ 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 β€” [DEPRECATED] πŸ‘‘ 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 https://ec2.amazonaws.com (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 the EC2_URL environment variable. This option defaults to the region specified by the EC2_URL environment variable, or us-east-1 if 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 timeout TIMEOUT (in seconds).
  • --request-timeout TIMEOUT β€” Specify a request timeout TIMEOUT (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 ✨


🫢 friendly reminder bestie: -K and -C are 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