Skip to content

A script to calculate estimated cost of a Cromwell workflow on Google Cloud

Notifications You must be signed in to change notification settings

broadinstitute/cromwell-accountant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

This script estimates the cost of running a Cromwell pipeline on Google Cloud based on Cromwell metadata JSON, which is a full response to GET https://${chromwell_host}/api/workflows/v1/{workflow_id}/metadata.

You can use it in the following format:

./cost.py < metadata.json

It fetches the current GCP price list and calculates the cost of each task call based on the hourly price of its machine type and disk type and size. Then, it sums up the cost of all calls and prints it to stdout.

Note: This script can be used on the workflows that are still running.

About

A script to calculate estimated cost of a Cromwell workflow on Google Cloud

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages