EC2-STOP-INSTANCES(1)
π EC2-STOP-INSTANCES(1) π
okay bestie, welcome to the User Commands section of the manual, and today's main character is ec2-stop-instances β the little command that tells your running instances to take a nap. π€β¨
πΈ NAME πΈ
ec2-stop-instances β Stop running instances
β¨ SYNOPSIS β¨
ec2stop ([ec2-stop-instances])
ec2stop [GENERAL OPTIONS] INSTANCE [INSTANCE [...]]
π«Ά GENERAL NOTES π«Ά
Any command option or parameter can be handed the value - and that literally means "read the values for this option from stdin, bestie." π
π¦ DESCRIPTION π¦
Stop selected running instances. That's the whole vibe.
The INSTANCE parameter is an instance ID to stop. Yes, singular, yes, you can pass a bunch. π
π GENERAL OPTIONS π
-O,--aws-access-keyKEY β Your AWS Access Key ID. Defaults to whatever theAWS_ACCESS_KEYenvironment variable is holding (if it's set at all, no cap).-W,--aws-secret-keyKEY β Your AWS Secret Access Key. Defaults to the value of theAWS_SECRET_KEYenvironment variable (if set).-T,--security-tokenTOKEN β AWS delegation token. Defaults to the value of theAWS_DELEGATION_TOKENenvironment variable (if set).-K,--private-keyKEY β [DEPRECATED] Specify KEY as the private key to use. Defaults to the value of theEC2_PRIVATE_KEYenvironment variable (if set). Overrides the default. ngl, this one's giving legacy energy β deprecated, so maybe don't make it your whole personality.-C,--certCERT β [DEPRECATED] Specify CERT as the X509 certificate to use. Defaults to the value of theEC2_CERTenvironment variable (if set). Overrides the default. also deprecated, also living in the past fr fr.-U,--urlURL β Specify URL as the web service URL to use. Defaults to'https://ec2.amazonaws.com'(us-east-1) or to that of theEC2_URLenvironment variable (if set). Overrides the default.--regionREGION β Specify REGION as the web service region to use. This option will override the URL specified by the"-U URL"option and theEC2_URLenvironment variable. It defaults to the region specified by theEC2_URLenvironment variable, orus-east-1if that environment variable is not set. region supremacy β¨-D,--auth-dry-runβ Check if you can perform the requested action rather than actually performing it. it's giving "look but don't touch" π«£-v,--verboseβ Verbose output. spill the tea, tell me everything π-?,--helpβ Display this help.-H,--headersβ Display column headers.--debugβ Display additional debugging information. for when you need the extra extra. π₯--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).
π SPECIFIC OPTIONS π
-f,--forceβ Forcefully stops the instance. no chill, no mercy, just stopped. π
π₯ SEE ALSO π₯
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
bestie, quick reminder:-K/--private-keyand-C/--certare DEPRECATED. i'm not being dramatic, the manual literally says so. π
and that's the whole page, periodt. π this one came from the EC2 API command line tools, version 1.6.14.1, api 2014-05-01 β yes it's an old queen but she still serves. π§ββοΈπ bye babes, go stop some instances responsibly π
β¨
π¦ 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