EC2-DESCRIBE...PRICE-HISTORY(1)
π ec2-describe-spot-price-history β the manual, but make it make sense π
okay bestie, welcome to the ec2-describe-spot-price-history page from User Commands. that's the long name. the short name β the one you'll actually type because who has the time β is ec2dsph. she lists all your Spot Instance price changes. she's giving price transparency queen. let's go π¦
β¨ NAME β¨
ec2-describe-spot-price-history β list all spot instance price changes. every single one. no cap π
πΈ SYNOPSIS πΈ
ec2dsph ([ec2-describe-spot-price-history])
ec2dsph [GENERAL OPTIONS] [-t INSTANCE-TYPE [...]] [-d PRODUCT-DESCRIPTION [...]] [-s START-TIME] [-e END-TIME] [-a AVAILABILITY-ZONE]
like. the second one is the real one. the first one is the vibe check. π
π«Ά GENERAL NOTES π«Ά
so real talk, this applies to literally every command option and parameter on this page:
any command option/parameter may be passed a value of - to indicate that values for that option should be read from stdin.
yes bestie, - means "read it from stdin." that's the whole note. iconic behaviour honestly. π
π DESCRIPTION π
list all Spot Instance price changes β¨ this list can be filtered on various criteria. that's it. that's the description. short and slay. π
π GENERAL OPTIONS π
these are the universal ones, the ones that show up everywhere like that one friend in every group photo πΈ
-O,--aws-access-key KEYβ your AWS Access Key ID. defaults to whatever theAWS_ACCESS_KEYenvironment variable is set to (if it's set at all, bestie).-W,--aws-secret-key KEYβ your AWS Secret Access Key. defaults to the value of theAWS_SECRET_KEYenvironment variable (if set). π€«-T,--security-token TOKENβ AWS delegation token. defaults to the value of theAWS_DELEGATION_TOKENenvironment variable (if set).-K,--private-key KEYβ [DEPRECATED] specifyKEYas the private key to use. defaults to the value of theEC2_PRIVATE_KEYenvironment variable (if set). overrides the default. (deprecated bestie, we don't do that anymore π)-C,--cert CERTβ [DEPRECATED] specifyCERTas the X509 certificate to use. defaults to the value of theEC2_CERTenvironment variable (if set). overrides the default. (also deprecated. iykyk π)-U,--url URLβ specifyURLas the web service URL to use. defaults to the value of'https://ec2.amazonaws.com'(us-east-1) or to that of theEC2_URLenvironment variable (if set). overrides the default. π--region REGIONβ specifyREGIONas 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 isn't set. so like, it knows where it's at. main character energy. π-D,--auth-dry-runβ check if you can perform the requested action instead of actually performing it. window shopping, basically. β¨-v,--verboseβ verbose output. she talks more. π£οΈ-?,--helpβ display this help. hi bestie π-H,--headersβ display column headers. labels! we love labels! π·οΈ--debugβ display additional debugging information. for when it's giving why. π--show-empty-fieldsβ indicate empty fields. the empty ones get a lil marker instead of just. vibes. πΈ--hide-tagsβ do not display tags for tagged resources. hide and seek, but make it infrastructure. π--connection-timeout TIMEOUTβ specify a connection timeoutTIMEOUT(in seconds). β±οΈ--request-timeout TIMEOUTβ specify a request timeoutTIMEOUT(in seconds). also seconds. also important. π«Ά
π SPECIFIC OPTIONS π
these are the ones that are hers. the special-interest options. the filters. the moment. π
-t,--instance-type INSTANCE-TYPEβ the instance type for which prices should be returned. π₯οΈ-d,--product-description PRODUCT-DESCRIPTIONβ the product description for which prices should be returned. π-s,--start-time START-TIMEβ the date and time after which the price changes should be returned. the time specified must be in the local timezone. the format of the date and time must be of the form'yyyy-MM-ddTHH:mm:ss'. for instance, 10PM on August 30, 2009 will be'2009-08-30T22:00:00'. β° write it down bestie, that format is not flexible.-e,--end-time END-TIMEβ price changes up until this point in time should be returned. the time specified must be in the local timezone. the format of the date and time must be of the form'yyyy-MM-ddTHH:mm:ss'. for instance, 10PM on August 30, 2009 will be'2009-08-30T22:00:00'. same format, same rules, other end of the window. π-a,--availability-zone ZONEβ the availability zone for which prices should be returned. π-F,--filter FILTERβ add a filter criterion for the result-set. stack 'em, bestie. π₯
π SEE ALSO π
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
go read the docs, they're right there. π¦
and that's the whole page bestie!! this one's from the EC2 API command line tools, version 1.6.14.1, api=2014-05, and it's filed under EC2-DESCRIBE...PRICE-HISTORY(1) in the User Commands manual. periodt. πβ¨
π¦ 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