Nathan
Nathan

Reputation: 335

How do I get my EC2 account balance programatically?

I'm looking to get my account balance programatically from AWS. I found DevPay & FPS in the documentation, but they don't seem to apply to my account, but rather my customers'. I'd hate to scrape the account screen, but I'll do it, if needed.

Upvotes: 3

Views: 473

Answers (1)

Steffen Opel
Steffen Opel

Reputation: 64741

You can't, unfortunately neither AWS nor any other IaaS/PaaS/SaaS vendor I'm aware of does offer API access to their accounting data currently (maybe due to the potential financial/legal implications) - see my longer answer on How can I monitor daily spending on AWS? for an interesting alternative to scraping the account screen yourself.

Upvotes: 1

Related Questions