Feature #17695

[costanalyzer] make an accurate report for spot instances on AWS

Added by Ward Vandewege 4 months ago. Updated 11 days ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

It looks like AWS has a "DescribeSpotPriceHistory" API:

https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSpotPriceHistory.html
https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-spot-price-history.html

That could be used to calculate the actual spot price for a container marked as run on an "Preemptible" node. We'd have to make sure to only use this code if we're on AWS.

History

#1 Updated by Ward Vandewege 4 months ago

  • Description updated (diff)

#2 Updated by Ward Vandewege 11 days ago

  • Description updated (diff)

Also available in: Atom PDF