Home icon

Unlock AWS Cost and Usage insights with generative AI powered by Amazon Bedrock

Machine Learning Blog



This article discusses a solution that leverages generative AI powered by Amazon Bedrock to simplify the analysis of AWS Cost and Usage Reports (CUR) data. The solution combines generative AI, SQL query generation, database querying, and a user-friendly web interface.

Specifically, the article covers:

  • Challenges in analyzing CUR data, such as complexity of SQL queries, data accessibility, and user-friendliness
  • Solution overview, which includes a web application (chatbot) that allows users to ask questions in natural language, generates SQL queries based on the input, runs the queries against an Athena database containing CUR data, and presents the results
  • Prerequisites and steps to configure the solution, including setting up Athena, Amazon Bedrock, and the compute environment
  • Code samples for the LangChain application and Streamlit web application
  • Benefits of the solution, such as simplified data analysis, increased accessibility, time-saving, and enhanced visibility into AWS costs and usage


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Nov 1
2024
Track, allocate, and manage your generative AI cost and usage with Amazon Bedrock
Mar 18
2025
Optimizing Cost for Generative AI with AWS
Dec 26
2024
Optimizing costs of generative AI applications on AWS
Mar 11
2024
New Generative AI Insights for AWS Partners to Accelerate Your Customer Offerings

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.