get ec2 pricing programmatically?

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

    AWS has launched the new price list API for programming integration.

    URL Syntax:

    https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/{offer_code}/current/index.{format}

    To get list of supporting services:

    https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/index.json

    AWS blog Referance: https://aws.amazon.com/blogs/aws/new-aws-price-list-api/

提交回复
热议问题