Feature #17695
open
[costanalyzer] make an accurate report for spot instances on AWS
Added by Ward Vandewege over 3 years ago.
Updated over 1 year ago.
Description
Update cost analyzer to use the cost
field introduced in 2.6.0 so that the cost values are consistent between workbench and cost analyzer, and cost analyzer prices reflect spot instance pricing.
- Description updated (diff)
- Description updated (diff)
- Related to Idea #18179: Better spot instance support added
- Status changed from New to In Progress
I have a proof of concept that works, however:
- AWS credentials are required to get results
- the region/az needs to be specified, and we don't keep that information (it's not in node.json, the az is not even in our config, it's derived from the SubnetID)
- the spot price history only goes back 2 months (established empirically, I have not found this in any docs yet)
What this means is that we should add this functionality (calculating the cost of the job) to a-d-c or crunch-run, and that it should be added to the node.json file in the log collection. Costanalyzer can then just report that cost number directly, without having to do AWS api calls. And perhaps more importantly, we could also display it in Workbench2. Should we record it in the container record?
Update: we wrote this up in #18205
- Blocked by Feature #18205: [api] [cloud] add compute instance price to container record added
- Release deleted (
60)
- Target version set to Future
- Category set to Crunch
- Description updated (diff)
- Status changed from In Progress to New
Also available in: Atom
PDF