EC2-TERMINATE-INSTANCES(1)

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

πŸ’– 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-key KEY β€” your AWS Access Key ID. defaults to whatever the AWS_ACCESS_KEY environment variable is set to (if it's set, that is).
  • -W, --aws-secret-key KEY β€” your AWS Secret Access Key. defaults to whatever the AWS_SECRET_KEY environment variable is set to (if it's set).
  • -T, --security-token TOKEN β€” the AWS delegation token. defaults to whatever the AWS_DELEGATION_TOKEN environment variable is set to (if it's set).
  • -K, --private-key KEY β€” [DEPRECATED] tell it to use KEY as the private key. defaults to the value of the EC2_PRIVATE_KEY environment variable (if it's set). it overrides the default.
deprecated bestie!! it still works but it's giving "living in the past" πŸ™ˆ
  • -C, --cert CERT β€” [DEPRECATED] tell it to use CERT as the X509 certificate. defaults to the value of the EC2_CERT environment variable (if it's set). it overrides the default.
also deprecated!! same energy, same warning πŸŽ€
  • -U, --url URL β€” tell it to use URL as the web service URL. defaults to https://ec2.amazonaws.com (that's us-east-1) or to whatever the EC2_URL environment variable says (if it's set). it overrides the default.
  • --region REGION β€” tell it to use REGION as the web service region. this option will override the URL you gave with the -U URL option and the EC2_URL environment variable. it defaults to the region that the EC2_URL environment variable specifies, or us-east-1 if 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-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!! 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