EC2-DEREGISTER(1)
π 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 theAWS_ACCESS_KEYenvironment variable (if set).-W,--aws-secret-key KEYβ 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.
β οΈ 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] SpecifyCERTas the X509 certificate to use. Defaults to the value of theEC2_CERTenvironment variable (if set). Overrides the default.
β οΈ again with the [DEPRECATED] bestie, she's giving legacy energy π
-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 andEC2_URLenvironment variable. This option defaults to the region specified by theEC2_URLenvironment variable orus-east-1if this environment variable is not set.
π not the region option literally bulldozing your-U URLandEC2_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 timeoutTIMEOUT(in seconds).--request-timeout TIMEOUTβ Specify a request timeoutTIMEOUT(in seconds).
π SEE ALSO π
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
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
- 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