Skip to content
tezvyn:

AWS Cost Explorer: Visualize and Forecast Your Cloud Spend

Source: docs.aws.amazon.comEasyHow cards are made

AWS Cost Explorer: Visualize and Forecast Your Cloud Spend

Cost Explorer is your cloud bill's interactive dashboard, turning raw data into trend graphs and forecasts. Use it to find which service is driving up costs or to predict next quarter's bill. The main footgun: once enabled, it cannot be disabled.

Why it exists

Cloud bills can be complex and opaque. Without a visualization tool, identifying the source of a cost spike or predicting future spend requires manually processing large, detailed billing reports. Cost Explorer was created to make this data accessible and actionable directly within the AWS console.

The mental model

Think of Cost Explorer as a business intelligence (BI) tool specifically for your AWS bill. Instead of a static PDF invoice, you get a dynamic dashboard where you can slice, dice, and filter your spending by service, region, or custom tags to understand the underlying cost drivers.

How it works

After you enable it, Cost Explorer processes your billing data from the last 13 months and generates forecasts for the next 18. It refreshes this data at least once every 24 hours. You interact with it through a web UI with pre-built reports and graphs, or programmatically via an API. The UI is free, but API calls incur a small fee. It uses the same underlying dataset as the more granular AWS Cost and Usage Reports (CUR).

When to use it

Use Cost Explorer for regular financial check-ins on your AWS account. It's ideal for creating monthly cost reports, identifying unexpected spending spikes, forecasting future budgets, and getting data-driven recommendations for purchasing Reserved Instances. It's the first place to look when your boss asks why the bill went up.

When not to use it

Cost Explorer is not a real-time monitoring tool; data can be delayed by 24 hours or more. For immediate alerting on budget overruns, use AWS Budgets instead. For extremely detailed, programmatic analysis or integration with third-party BI tools, you might need to work directly with the raw Cost and Usage Report (CUR) files in S3.

One canonical example

An engineer notices the monthly bill is trending 20% higher than last month. They open Cost Explorer, group costs by "Service," and see a massive spike in EC2 costs. They then filter by "Usage Type" and discover that "DataTransfer-Out-Bytes" is the culprit. This pinpoints the problem to a specific application that is unexpectedly sending large amounts of data to the public internet, allowing for a targeted investigation.

Interview question

Which scenario is the most appropriate use case for AWS Cost Explorer?

  • a.Generating highly detailed, raw billing data files for custom analysis in an external data warehouse.
  • b.Analyzing past cloud spending patterns, identifying cost drivers, and predicting future expenses.Correct
  • c.Immediately stopping an AWS service that is unexpectedly incurring high costs.
  • d.Setting up real-time notifications for budget overruns to prevent unexpected charges.
Why?

Cost Explorer is primarily designed for visualizing historical spending trends, identifying underlying cost drivers, and forecasting future cloud costs. Real-time notifications for budget overruns (option D) are handled by AWS Budgets, as Cost Explorer data can be delayed by 24 hours or more.

Just read this? Test yourself on what you have been reading.

Read the original → docs.aws.amazon.com

You just looked this up. Could you explain it out loud?

That is the part interviews actually test. Tezvyn takes questions like this one and gives you what the interviewer is really checking, the answer that lands, and the mistake that ends the conversation, in the four minutes before your next meeting.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Open roles that interview on aws — each one lists the topics its interview covers.

See open roles