EC2-PURCHASE-...NCES-OFFERING(1)

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

✨ EC2-PURCHASE-RESERVED-INSTANCES-OFFERING ✨

okay bestie, welcome to the ec2-purchase-reserved-instances-offering page from the EC2 API command line tools manual (section 1, User Commands, obvi πŸ’…). this is the one that goes and buys reserved instances for you. let's get into it 🫢


🌸 NAME 🌸

ec2-purchase-reserved-instances-offering β€” purchase reserved instances. that's it, that's the whole vibe ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

 ec2prio ([ec2-purchase-reserved-instances-offering])
 ec2prio [GENERAL OPTIONS] -c INSTANCE-COUNT -o OFFERING [-l
LIMIT-PRICE]

so like. you can call it as ec2prio on its own, or as ec2prio ec2-purchase-reserved-instances-offering, and then the real form is with your general options plus the count and the offering, and optionally the limit price πŸ’–


πŸŽ€ GENERAL NOTES πŸŽ€

okay this is genuinely iconic: any command option or parameter can be passed a value of - to say "hey, read the values for this option from stdin instead". literally any of them. so flexible. so main character 🌈


πŸ’œ DESCRIPTION πŸ’œ

you're purchasing reserved instances from a reserved instances offering. that's the whole job. go buy them bestie πŸ’Έ


πŸ‘‘ GENERAL OPTIONS πŸ‘‘

these are the shared ones, the little friend group that every tool in the kit rolls with ✨

  • -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 at all).
  • -W, --aws-secret-key KEY β€” your 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] use KEY as the private key. defaults to the value of the EC2_PRIVATE_KEY environment variable (if set), and it overrides the default. (it's deprecated bestie, i'm just the messenger 😭)
  • -C, --cert CERT β€” [DEPRECATED] use CERT as the X509 certificate. defaults to the value of the EC2_CERT environment variable (if set), and it overrides the default. (also deprecated, we don't make the rules πŸ™ˆ)
  • -U, --url URL β€” use URL as the web service URL. defaults to 'https://ec2.amazonaws.com' (that's us-east-1) or to the value of the EC2_URL environment variable (if set). overrides the default.
  • --region REGION β€” use REGION as the web service region. heads up: this option overrides the URL you gave with -U URL and the EC2_URL environment variable. it defaults to the region from the EC2_URL environment variable, or us-east-1 if that variable isn't set.
  • -D, --auth-dry-run β€” check whether you can do the requested action instead of actually doing it. vibe check before you commit, we love to see it 🧚
  • -v, --verbose β€” verbose output. more words, more lore.
  • -?, --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 β€” set a connection timeout of TIMEOUT (in seconds).
  • --request-timeout TIMEOUT β€” set a request timeout of TIMEOUT (in seconds).

πŸ”₯ SPECIFIC OPTIONS πŸ”₯

the ones that are special to this command. the moment. the slay πŸ’…

  • -o, --offering OFFERING β€” purchase a reserved instance from the reserved instances offering specified by OFFERING.
  • -c, --instance-count INSTANCE-COUNT β€” purchase the number of instances specified by INSTANCE-COUNT from the reserved instances offering.
  • -l, --limit-price LIMIT-PRICE β€” set the maximum price you're willing to pay, specified by LIMIT-PRICE.
  • --currency-code CURRENCY-CODE β€” specify the 3 character CURRENCY-CODE that the LIMIT-PRICE is specified in. can only be specified alongside a LIMIT-PRICE. defaults to USD.
fr fr bestie: --currency-code only works if you also passed a limit price. don't try it alone, it will simply not be the moment 😭

⭐ SEE ALSO ⭐

go read the docs, they're giving reference material ✨


and that's the whole page bestie, you ate πŸ’– this was the EC2 API command line tools, version 1.6.14.1, api=2014-0 β€” go buy those reserved instances responsibly, ily, bye πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from