EC2-PURCHASE-...NCES-OFFERING(1)
β¨ 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-keyKEY β your AWS Access Key ID. defaults to whatever theAWS_ACCESS_KEYenvironment variable is set to (if it's set at all).-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] use KEY as the private key. defaults to the value of theEC2_PRIVATE_KEYenvironment variable (if set), and it overrides the default. (it's deprecated bestie, i'm just the messenger π)-C,--certCERT β [DEPRECATED] use CERT as the X509 certificate. defaults to the value of theEC2_CERTenvironment variable (if set), and it overrides the default. (also deprecated, we don't make the rules π)-U,--urlURL β use URL as the web service URL. defaults to'https://ec2.amazonaws.com'(that's us-east-1) or to the value of theEC2_URLenvironment variable (if set). overrides the default.--regionREGION β use REGION as the web service region. heads up: this option overrides the URL you gave with-U URLand theEC2_URLenvironment variable. it defaults to the region from theEC2_URLenvironment variable, orus-east-1if 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-timeoutTIMEOUT β set a connection timeout of TIMEOUT (in seconds).--request-timeoutTIMEOUT β set a request timeout of TIMEOUT (in seconds).
π₯ SPECIFIC OPTIONS π₯
the ones that are special to this command. the moment. the slay π
-o,--offeringOFFERING β purchase a reserved instance from the reserved instances offering specified by OFFERING.-c,--instance-countINSTANCE-COUNT β purchase the number of instances specified by INSTANCE-COUNT from the reserved instances offering.-l,--limit-priceLIMIT-PRICE β set the maximum price you're willing to pay, specified by LIMIT-PRICE.--currency-codeCURRENCY-CODE β specify the 3 character CURRENCY-CODE that the LIMIT-PRICE is specified in. can only be specified alongside aLIMIT-PRICE. defaults toUSD.
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 β¨
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
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
- 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