get ec2 pricing programmatically?

后端 未结 11 574
借酒劲吻你
借酒劲吻你 2020-11-30 18:22

Is there a way to get AWS pricing programmatically (cost per hour of each instance type, cost per GB/month of storage on S3, and etc)?

Also, are there cost monitorin

11条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-30 19:15

    This ruby gem wraps the JSON pricing data provided by Amazon and provides a simple interface, which takes care of mapping the region and instance type names to the ones used in the EC2 API.

    https://github.com/sonian/amazon-pricing

提交回复
热议问题