How do I get my EC2 account balance programatically?

匿名 (未验证) 提交于 2019-12-03 08:59:04

问题:

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.

回答1:

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.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!