0

By billing, I mean real-time usage and consumption statistics - the API for which can be used to generate custom reports, forecast expenditure, etc.

I see that AWS has the facility to generate custom reports pertaining to usage that they export as a CSV from this page.

Do they also provide an API for the same where the user can generate reports / play around with the billing/usage data?

What about Rackspace? I see that they introduced this tool called Cloudability which monitors usage from SEVERAL cloud providers. I wonder how they are able to extract such information from such a large number of providers? Can anyone explain that? Is API the only route?

leveller
  • 1
  • 1
  • 2
    The CloudWatch API can [give you](http://www.quora.com/Amazon-Web-Services/Does-Amazon-provide-an-API-for-pulling-AWS-account-usage-details) live billing information in AWS. – Christopher Aug 21 '12 at 13:36
  • possible duplicate of [How can I monitor daily spending on AWS?](http://serverfault.com/questions/350971/how-can-i-monitor-daily-spending-on-aws) – ceejayoz Aug 21 '12 at 14:08
  • What about Rackspace? Any comments on how Cloudability works? – leveller Aug 21 '12 at 14:44

2 Answers2

1

Straight from one of Cloudability's public support pages:

... there is no API for that information so today we have to collect the information by scraping the billing/invoice pages via the Rackspace portal, hence the need for the credential. We're working with Rackspace on a better way to access the data but for the time being that is the only option.

Toddius Zho
  • 260
  • 2
  • 10
  • Any update on this in the past two years? I really don't want to scrape the rackspace portal – morissette Jan 05 '16 at 20:02
  • The value add of Cloudability is that _you_ don't scrape the portal -- _they do_. It's a little better now than when Cloudability was first introduced. You used to have to give them the admin credentials for your whole cloud account. Not cool, because what's to stop them from launching a dozen servers? But then Rackspace Cloud added better security granularity. You can now create a "Billing Only" user and give those credentials to Cloudability, instead. – Toddius Zho Jan 11 '16 at 21:49
  • That doesn't help me when I am trying to aggregate data from multiple cloud platforms including Rackspace so I guess the answer is there is still no AP I have to scrape the page myself – morissette Jan 11 '16 at 21:58
  • Or does cloudability have an API – morissette Jan 11 '16 at 22:00
0

Rackspace AFAIK does not give you access to billing information via API but Amazon has it's http://aws.amazon.com/devpay/ that developers can use to build billing system for billing the customers. I think it may be relevant to your interests.

wojciechz
  • 538
  • 3
  • 11
  • how about Cloudability? Where does it fetch all the information from? Currently it supports ~15 providers. Any idea? – leveller Aug 22 '12 at 06:25