What is the relevant API to collect costs associated with AWS services in the context of carbon footprints?

0

What is the relevant API to collect costs associated with AWS services in the context of carbon footprints? How do I identify the endpoint? For example: I have services running in my sanbox that I would like to know how much they are costing me and which API and which APIs allow me to retrieve this information? Is it possible to list the APIs that allow me to collect financial and ecological data from AWS? For each API is it possible to describe the information collected? Thanks for your help.

1 Respuesta
0

AWS offers two APIs that you can use to query prices:

With the AWS Price List Bulk API, you can query the prices of AWS services in bulk. The API returns either a JSON or a CSV file. The bulk API retains all historical versions of the price list.

With the AWS Price List Query API, you can query specific information about AWS services, products, and pricing using an AWS SDK or the AWS CLI. This API can retrieve information about certain products or prices, rather than retrieving prices in bulk. This allows you to get pricing information in environments that might not be able to process a bulk price list, such as in mobile or web browser-based applications. For example, you can use the query API to fetch pricing information for Amazon EC2 instances with 64 vCPUs, 256 GiB of memory, and pre-installed SQL Server Enterprise in the Asia Pacific (Mumbai) Region. The query API serves the current prices and doesn’t retain historical prices.

Below are the few links that would help you better understand the same. Hope this helps.

Query API- https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/using-pelong.html

Bulk API- https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/using-ppslong.html

Best practices for Cost Explorer API - https://docs.aws.amazon.com/cost-management/latest/userguide/ce-api-best-practices.html

API Calls- https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/awsbilling-api.pdf

profile pictureAWS
INGENIERO DE SOPORTE
respondido hace 2 años
  • Hello

    I may have expressed my request incorrectly, I apologize. The links you sent me, I have consulted them several times. Several times but I can't find the URL or API that allows me to collect my ecological and financial footprint data and services associated with the periodic user cost, then display it to me in json or csv format. (My services and cost associated with user aws periodically).

    Thanks

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas