EC2-MIGRATE-IMAGE(1)

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

πŸ’– EC2-MIGRATE-IMAGE(1) πŸ’–

okay so bestie, welcome to the User Commands section of the manual β€” this is ec2-migrate-image, and yeah, it's exactly what it sounds like: it migrates an AMI. Iconic behaviour honestly. πŸ¦‹


✨ NAME ✨

ec2-migrate-image β€” Migrates an AMI


🌸 SYNOPSIS 🌸

ec2mim ([ec2-migrate-image])
ec2mim [GENERAL OPTIONS]

πŸŽ€ GENERAL NOTES πŸŽ€

So like, a lil universal rule before we get into it: any command option or parameter can be handed a value of -, and that's the signal that its values should be read from stdin. cute, right? πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

It migrates an AMI to another bucket. That's the whole plot. That's the vibe. ✨


πŸ‘‘ GENERAL OPTIONS πŸ‘‘

This is the big one, bestie β€” every single flag, no skips, no cuts. πŸ“‹

  • -O, --aws-access-key KEY β€” your AWS Access Key ID. Defaults to whatever AWS_ACCESS_KEY is set to in the environment (if it's set at all).
  • -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 β€” the AWS delegation token. Defaults to whatever AWS_DELEGATION_TOKEN is holding in the environment (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 'https://ec2.amazonaws.com' (us-east-1), or to whatever the EC2_URL environment variable says (if set). Overrides the default. 🌈
  • --region β€” region to look up in the mapping file. If no region is specified, Amazon EC2 attempts to determine the region from the location of the Amazon S3 bucket. πŸ—ΊοΈ
  • -D, --auth-dry-run β€” checks if you can do the requested action instead of actually doing it. lowkey the responsible bestie move ngl.
  • -v, --verbose β€” verbose output. give me all the lore.
  • -?, --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).
  • -o, --owner-akid β€” AWS Access Key Id of the owner of BUCKET.
  • -w, --owner-sak β€” AWS Secret Access Key of the owner of BUCKET, used to sign the upload policy. This parameter is required to generate a policy if --policy is not given, and to sign a given or generated policy if --policy-signature is not given. This parameter value is not sent to EC2. πŸ™ˆ
  • --bucket β€” S3 source bucket name
  • --source-url β€” S3 source bucket URL. Must be specified if source bucket name contains dots. (yes, literally, the dots get you every time πŸ“)
  • --destination-bucket β€” S3 destination bucket name
  • --destination-url β€” S3 destination bucket url. Must be specified if destination bucket name contains dots.
  • --manifest β€” manifest name
  • --acl β€” the access control list policy of the bundled image
  • --location β€” the location of the destination Amazon S3 bucket
  • --kernel β€” the ID of the kernel to select.
  • --ramdisk β€” the ID of the RAM disk to select.
  • --mapping-file β€” overrides the file containing kernel and RAM disk region mappings.
  • --mapping-url β€” overrides the file containing kernel and RAM disk region mappings.
  • --no-mapping β€” disables automatic mapping of kernels and RAM disks.
  • --region β€” region to look up in the mapping file. If no region is specified, Amazon EC2 attempts to determine the region from the location of the Amazon S3 bucket. (yep, she's listed twice in the original and I'm keeping her twice, periodt πŸ’…)

🧚 SEE ALSO 🧚


and that's the whole page bestie, you ate it, go migrate something πŸ’–

🌟 this little guide comes to you straight from the EC2 API command line tools, version 1.6.14.1, api=2014-05-01, and yeah, the page itself goes by EC2-MIGRATE-IMAGE(1). mwah. πŸ’‹βœ¨
πŸ“¦ where this page comes from