Open illusional opened 2 years ago
@vladsaveliev, I've assigned us in the short term, but mostly just to keep us thinking about it. I'm having a deeper look into hail batch billing costs at the moment.
Noting here that the hail batch costs are derived from the resource
table, which by default stores cost for the us-east1 region (eg: populationgenomics/hail:batch/sql/insert_nonpreemptible_resources.py#L13-L14
).
There are a couple of things we'll need to consider:
Write both into a python script that dumps out a csv for loading elsewhere.
As part of recovering costs for external datasets, we need to store and determine some reporting mechanism for the different costs we accrue for processing and storing data (re @lgruen):
As part of doing this, we need to ensure that costs are counted in the correct currency, and for the correct region.