Actions
Feature #17695
open[costanalyzer] make an accurate report for spot instances on AWS
Status:
In Progress
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Story points:
-
Release:
Release relationship:
Auto
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.
Actions