Is there a way to know how much a specific spot instance is actually costing? My only idea is to give it a specific tag and wait to see it show up in the billing report. But what I really want is to to know in "real time" how much each spot instance is costing.


From Amazon EC2 Spot Instances Pricing:

The following table displays the Spot price for each region and instance type (updated every 5 minutes).

So one (crude) option would be to parse that page to get the price matching your particular instance type and region.

I don't know if the equivalent info is available via the AWS Price List API:

Offer files do not include information about expiring free tier offers or Amazon EC2 Spot Instances.

  • the spot instace pricing isn't explicitly declared as unsupported in the Query API, so there might be a chance for another option here, that'd be better than parsing pages. But I didn't try - I'm not an AWS user yet.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.