EC2-DEREGISTER(1)

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

πŸ’– EC2-DEREGISTER πŸ’–

okay bestie, welcome to ec2-deregister β€” she lives in the User Commands part of your man pages and she is here to help you yeet an image out of existence (the registration part, anyway 🫢).


✨ NAME ✨

ec2-deregister β€” Deregister a registered image


🌸 SYNOPSIS 🌸

ec2dereg ([ec2-deregister])
ec2dereg [GENERAL OPTIONS] IMAGE

πŸ¦‹ GENERAL NOTES πŸ¦‹

okay so listen, this is important and lowkey applies to everything:

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

like, any of them. that's the vibe. ✨


πŸ’… DESCRIPTION πŸ’…

So you wanna deregister a previously registered IMAGE? slay. that's literally what this does.

The IMAGE parameter is the ID of the Amazon Image to deregister.

And an Amazon Image may be:

  • an Amazon Machine Image (AMI), or
  • an Amazon Kernel Image (AKI), or
  • an Amazon Ramdisk Image (ARI).

that's the whole menu bestie, pick your fighter πŸŽ€


πŸ‘‘ GENERAL OPTIONS πŸ‘‘

  • -O, --aws-access-key KEY β€” AWS Access Key ID. Defaults to the value of the AWS_ACCESS_KEY environment variable (if set).
  • -W, --aws-secret-key KEY β€” 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.
⚠️ okay the [DEPRECATED] tag is right there in the original, so like… it's deprecated fr fr. don't come for me, I'm just the messenger πŸ’€
  • -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.
⚠️ again with the [DEPRECATED] bestie, she's giving legacy energy πŸ™ˆ
  • -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 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.
πŸ’€ not the region option literally bulldozing your -U URL and EC2_URL… she said I'm the main character now. periodt.
  • -D, --auth-dry-run β€” Check if you can perform the requested action rather than actually performing it.
  • -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).

🌈 SEE ALSO 🌈


and that's the whole page bestie, you ate that πŸ’– go forth and deregister responsibly (or with -D/--auth-dry-run if you wanna test the vibe first πŸ‘€).

this lil guide is brought to you by the EC2 API command line tools, version 1.6.14.1, api=2014-05-01 β€” mwah, take care of her πŸŽ€βœ¨πŸ’œ

πŸ“¦ where this page comes from