EC2-TERMINATE-INSTANCES(1)
π EC2-TERMINATE-INSTANCES(1) π
okay so bestie, this is a page from the User Commands manual, and it's all about ec2-terminate-instances β yes, the command that straight-up ends your EC2 instances. main character energy but make it destructive π
β¨ NAME β¨
ec2-terminate-instances β Terminate running instances
π¦ SYNOPSIS π¦
ec2kill ([ec2-terminate-instances])
ec2kill [GENERAL OPTIONS] INSTANCE [INSTANCE [...]]
πΈ GENERAL NOTES πΈ
okay so this is the little rule that applies EVERYWHERE, no cap: any command option or parameter can be handed a value of -, and that means "hey, read my values from stdin instead." it's giving very flexible, very iconic β¨
π DESCRIPTION π
Terminate selected running instances.
The INSTANCE parameter is an instance ID to terminate. that's it, that's the whole vibe. you point at an instance, it says bye bye π«Ά
bestie. this is the terminate command. once they're gone, they're gone. just saying π
π GENERAL OPTIONS π
-O,--aws-access-keyKEY β your AWS Access Key ID. defaults to whatever theAWS_ACCESS_KEYenvironment variable is set to (if it's set, that is).-W,--aws-secret-keyKEY β your AWS Secret Access Key. defaults to whatever theAWS_SECRET_KEYenvironment variable is set to (if it's set).-T,--security-tokenTOKEN β the AWS delegation token. defaults to whatever theAWS_DELEGATION_TOKENenvironment variable is set to (if it's set).-K,--private-keyKEY β [DEPRECATED] tell it to use KEY as the private key. defaults to the value of theEC2_PRIVATE_KEYenvironment variable (if it's set). it overrides the default.
deprecated bestie!! it still works but it's giving "living in the past" π
-C,--certCERT β [DEPRECATED] tell it to use CERT as the X509 certificate. defaults to the value of theEC2_CERTenvironment variable (if it's set). it overrides the default.
also deprecated!! same energy, same warning π
-U,--urlURL β tell it to use URL as the web service URL. defaults tohttps://ec2.amazonaws.com(that's us-east-1) or to whatever theEC2_URLenvironment variable says (if it's set). it overrides the default.--regionREGION β tell it to use REGION as the web service region. this option will override the URL you gave with the-U URLoption and theEC2_URLenvironment variable. it defaults to the region that theEC2_URLenvironment variable specifies, orus-east-1if that environment variable isn't set.-D,--auth-dry-runβ check whether you could perform the requested action instead of actually performing it. a little vibe check before you commit, we love a safe queen π-v,--verboseβ verbose output. give me ALL the details.-?,--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-timeoutTIMEOUT β specify a connection timeout TIMEOUT (in seconds).--request-timeoutTIMEOUT β specify a request timeout TIMEOUT (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!! go forth, terminate responsibly, and remember: dry run first, tears later π§π
mwah π this was EC2 API command line tools version 1.6.14.1, api=2014-05-01, and yes the page itself is literally named EC2-TERMINATE-INSTANCES(1) β slay, we love a self-titled moment β¨
π¦ 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