Getting price list files manually - AWS Billing

Getting price list files manually

Note

To provide feedback about AWS Price List, complete this short survey. Your responses will be anonymous. Note: This survey is in English only.

We recommend that you use the AWS Price List Bulk API to find and download price list files programmatically. For more information, see Step 1: Finding available AWS services.

If you don't want to use the AWS Price List Bulk API, you can download the price list files manually. You can skip to the relevant topics if you already have the information that you need.

Topics
    Note

    To provide feedback about AWS Price List, complete this short survey. Your responses will be anonymous. Note: This survey is in English only.

    You can use the service index file to find available AWS services and Savings Plans that are provided by the AWS Price List Bulk API.

    To download the service index file, navigate to the following URL.

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

    In the service index file, you can search for the service to find its prices. To download the service-specific price list file, use either the offerCode or serviceCode.

    For more information, see the following topics:

    Note

    To provide feedback about AWS Price List, complete this short survey. Your responses will be anonymous. Note: This survey is in English only.

    For an AWS service or Savings Plan that you retrieved in step 1, you can find all the historical versions of the price lists by using the service version index file.

    To download the service version index file, use the serviceCode or savingsPlanCode. To find the values for serviceCode and savingsPlanCode, see Step 1: Finding available AWS services.

    To download the service version index file for an AWS service, navigate to the following URL. Replace <serviceCode> with your own information.

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

    For example, Amazon Elastic Compute Cloud (Amazon EC2) appears in a URL like the following URL.

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

    In addition to the versions available in the service version index file, there is another version named current. The current version points to the latest version of the price list files for a specific AWS service.

    To download the latest service version index file for Savings Plan, specify savingsPlanCode and current in the URL. Replace <savingsPlanCode> with your own information.

    https://pricing.us-east-1.amazonaws.com/savingsPlan/v1.0/aws/<savingsPlanCode>/current/index.json

    For example, the current version of AWSComputeSavingsPlan and AWSMachineLearningSavingsPlans appears like the following URLs.

    https://pricing.us-east-1.amazonaws.com/savingsPlan/v1.0/aws/AWSComputeSavingsPlan/current/index.json
    https://pricing.us-east-1.amazonaws.com/savingsPlan/v1.0/aws/AWSMachineLearningSavingsPlans/current/index.json

    For more information, see Reading the service index file.

    Note

    To provide feedback about AWS Price List, complete this short survey. Your responses will be anonymous. Note: This survey is in English only.

    For a version of an AWS service or Savings Plan in the previous step, you can find all the AWS Regions and edge locations in which an AWS service provides products for purchase.

    To download the service Region index file for an AWS service, navigate to the following URL. Replace <serviceCode> and <version> with your own information.

    https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/<serviceCode>/<version>/region_index.json

    For example, the service code for AmazonRDS and its current version has the following URL.

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

    To download the service Region index file for Savings Plan, navigate to the following URL. Replace <savingsPlanCode> with your own information.

    https://pricing.us-east-1.amazonaws.com/savingsPlan/v1.0/aws/<savingsPlanCode>/current/region_index.json

    For example, a Savings Plan for AWSComputeSavingsPlan and its current version has the following URL.

    https://pricing.us-east-1.amazonaws.com/savingsPlan/v1.0/aws/AWSComputeSavingsPlan/current/region_index.json

    For more information, see Reading the service Region index file.

    Note

    To provide feedback about AWS Price List, complete this short survey. Your responses will be anonymous. Note: This survey is in English only.

    In the previous steps, you retrieved the following information about an AWS service:

    • Service code

    • Savings Plan code

    • Version

    • AWS Regions

    Next, you can use this information to find the prices in the service price list files. These files are available in JSON and CSV formats.

    Finding service price list files

    The service price list file provides the service related details, such as the following:

    • The effective date of the prices in that file

    • The version of the service price list

    • The list of offered products and their details, along with prices in JSON and CSV formats

    In the following URLs, you can change the URL to specify the format that you want (JSON or CSV).

    To download the service price list file, navigate to the following URL. Replace each user input placeholder with your own information.

    https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/<serviceCode>/<version>/<regionCode>/index.<format>

    The following examples are for Amazon Relational Database Service (Amazon RDS). This service appears as AmazonRDS in the URL.

    Example: Current version of the price list file for Amazon RDS

    To get the current version of the price list file for Amazon RDS in the US East (Ohio) Region, use the following URL.

    CSV format

    https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonRDS/current/us-east-2/index.csv

    JSON format

    https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonRDS/current/us-east-2/index.json
    Example: Specific version of the price list file for Amazon RDS

    To get the specific version of the price list file for Amazon RDS in the US East (Ohio) Region, use the following URL.

    CSV format

    https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonRDS/20230328234721/us-east-2/index.csv

    JSON format

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

    Finding service price list files for Savings Plan

    The service price list file for Savings Plan provides Savings Plan related details, such as the following:

    • The effective date of the prices in that file

    • The version of the service price list

    • The list of offered products and their details, along with prices in JSON and CSV formats

    In the following URLs, you can change the URL to specify the format that you want (JSON or CSV).

    To download the service price list files for Savings Plan, use the following URL. Replace each user input placeholder with your own information.

    https://pricing.us-east-1.amazonaws.com/savingsPlan/v1.0/aws/<savingsPlanCode>/<version>/<regionCode>/index.json
    Example: Service price list file for Amazon SageMaker

    To get a specific version (20230509202901) of the price list file for SageMaker (AWSComputeSavingsPlan) in the US East (Ohio) Region, use the following URL.

    CSV format

    https://pricing.us-east-1.amazonaws.com/savingsPlan/v1.0/aws/AWSComputeSavingsPlan/20230509202901/us-east-2/index.csv

    JSON format

    https://pricing.us-east-1.amazonaws.com/savingsPlan/v1.0/aws/AWSComputeSavingsPlan/20230509202901/us-east-2/index.json

    For more information, see Reading the service price list files.