Project

General

Profile

Actions

Feature #17695

open

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

Added by Ward Vandewege almost 3 years ago. Updated 12 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Crunch
Target version:
Story points:
-

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.


Related issues

Related to Arvados Epics - Idea #18179: Better spot instance supportIn Progress03/01/202203/31/2024Actions
Blocked by Arvados - Feature #18205: [api] [cloud] add compute instance price to container recordResolvedTom Clegg08/08/2022Actions
Actions #1

Updated by Ward Vandewege almost 3 years ago

  • Description updated (diff)
Actions #2

Updated by Ward Vandewege over 2 years ago

  • Description updated (diff)
Actions #3

Updated by Ward Vandewege over 2 years ago

  • Related to Idea #18179: Better spot instance support added
Actions #4

Updated by Ward Vandewege over 2 years ago

  • 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

Actions #5

Updated by Ward Vandewege over 2 years ago

  • Blocked by Feature #18205: [api] [cloud] add compute instance price to container record added
Actions #6

Updated by Peter Amstutz about 1 year ago

  • Release set to 60
Actions #7

Updated by Peter Amstutz 12 months ago

  • Release deleted (60)
  • Target version set to Future
  • Category set to Crunch
  • Description updated (diff)
Actions #8

Updated by Peter Amstutz 12 months ago

  • Status changed from In Progress to New
Actions

Also available in: Atom PDF