It would be useful to have an ability to pragmatically keep up to date with the latest prices in a RESTful fashion.
Something like /offerings/aws/compute/M10 returns:
{
// some metadata about this pricing api.
"prices": [
{
"priceId": "c800b6d9163b0db7",
"region": "us-east-1",
"charges": {
"compute": {
"price": 0.11,
"interval": "hourly",
"currency": "USD"
},
"storage-GB-month": {
"price": 0.015,
"interval": "hourly",
"currency": "USD"
},
"backup-GB-month": {
"price": 2.5000000001,
"interval": "hourly",
"currency": "USD"
}
}
}
]
}
Use case: For those that use programs to calculate costs, this will reduce some of the guesswork involved by looking at cryptic documentation and invoices to calculate and forecast costs and be able to charge appropriately to match systems with demand.
Amazon has similar API endpoints available:
https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonEC2/current/us-east-1/index.json
^ warning: 87Mb JSON file.