Answers: <p>From <a href="https://aws.amazon.com/ec2/spot/pricing/" rel="nofollow noreferrer">Amazon EC2 Spot Instances Pricing</a>:</p>
  
  <blockquote>
    <p>The following table displays the Spot price for each region and
    instance type (updated every 5 minutes).</p>
  </blockquote>
  
  <p>So one (crude) option would be to parse that page to get the price matching your particular instance type and region.</p>
  
  <p>I don't know if the equivalent info is available via the <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html" rel="nofollow noreferrer">AWS Price List API</a>:</p>
  
  <ul>
  <li><a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/using-ppslong.html" rel="nofollow noreferrer">the Bulk API</a> clearly doesn't support it:</li>
  </ul>
  
  <blockquote>
    <p>Offer files do not include information about expiring free tier offers
    or Amazon EC2 Spot Instances.</p>
  </blockquote>
  
  <ul>
  <li>the spot instace pricing isn't explicitly declared as unsupported in <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/using-pelong.html" rel="nofollow noreferrer">the Query API</a>, so there <em>might</em> 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.</li>
  </ul>
  
Answers: CC BY-SA 3.0
Answers: 2018-02-15T16:15:46.123Z
Answers: 2018-02-15T16:15:46.123Z
Answers: Dan Cornilescu
Body: <p>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.</p>
  
Tags: <amazon-web-services>
Title: How to determine actual cost of specific spot instance
UserDisplayName: Assaf Lavie
ThreadText: # How to determine actual cost of specific spot instance
  
  (Asked by: username_0 on 2018-02-15)
  
  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.
  
  **Tags:** amazon-web-services
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-02-15. Score: 2
  
  From [Amazon EC2 Spot Instances Pricing](https://aws.amazon.com/ec2/spot/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](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html):
  
  * [the Bulk API](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/using-ppslong.html) clearly doesn't support it:
  
  > 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](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/using-pelong.html), 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.
  
  
  ---
  
  