get ec2 pricing programmatically?

后端 未结 11 583
借酒劲吻你
借酒劲吻你 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:26

    If you're using Go, I wrote a package to decode the data into a struct, based on the files linked to in @okrasz's answer

    https://github.com/recursionpharma/ec2prices

    Feel free to contribute with more pricing data.

提交回复
热议问题