Calculate AWS pricing for compute and storage resources
Changed onEstimates the cost of running a job with specified compute and storage requirements
Request
- The document declares no server URL.
- AuthsocaAuth (a scheme the document does not define) and socaToken (a scheme the document does not define)
Query parameters
EC2 instance type
Job duration in HH:MM:SS format
Number of vCPUs to allocate
Scratch storage size in GB
Root disk size in GB
FSx storage capacity in GB
FSx storage type
Headers
SOCA username for authentication
SOCA authentication token
Response
Pricing calculation successful
Example response
{
"success": true,
"message": {
"compute": {
"ondemand": 0.096,
"reserved": 0.058,
"on_demand_hourly_rate": 0.096,
"reserved_hourly_rate": 0.058,
"estimated_on_demand_cost": 0.192,
"estimated_reserved_cost": 0.116,
"nodes": 1,
"walltime": 2.5,
"instance_type": "m5.large",
"vcpus": 4
},
"estimated_total_cost": 0.205,
"estimated_hourly_cost": 0.103,
"estimated_storage_cost": 0.013,
"scratch_size": "0.007",
"root_size": "0.003",
"fsx_capacity": "0.003"
}
}Changes
- breaking
response property
message/compute_pctlist-of-types was widened by adding typesintegerto media typeapplication/jsonof response200 - breaking
response property
message/storage_pctlist-of-types was widened by adding typesintegerto media typeapplication/jsonof response200 - info
the endpoint scheme security
socaAuth AND socaTokenwas added to the API - info
the endpoint scheme security
edhAuth AND edhTokenwas removed from the API - info
the response property
//became required for the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking
- info
the endpoint scheme security
edhAuth AND edhTokenwas added to the API - info
the endpoint scheme security
socaAuth AND socaTokenwas removed from the API
- info