Skip to content
tezvyn:

AWS Cost and Usage Report (CUR)

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

AWS Cost and Usage Report (CUR)

Think of CUR as your AWS itemized receipt, delivered daily to S3. It breaks down charges by hour, product, resource, and tag for spreadsheets or Athena queries. Mid-month numbers are estimates, so do not lock budgets until the report finalizes after invoicing.

Why it exists

AWS billing generates enormous detail across thousands of line items, but CUR is the most comprehensive cost and usage dataset available. It was built so you can analyze, attribute, and audit every charge programmatically instead of relying on less detailed summaries.

The mental model

Treat CUR like a daily bank statement delivered to your own filing cabinet. Every transaction is listed, but the balance is provisional until the bank closes the books at month end. You own the storage, you choose the analysis tool, and you accept that today's numbers are a running estimate.

How it works

After you create a report, AWS delivers CSV files to an S3 bucket you specify within 24 hours. The report updates at least once daily, and each version within a month is cumulative, containing all line items from the first of the month through the current date. Every unique combination of product, usage type, and operation gets its own row. The dataset always includes identity, bill, and lineItem columns, while optional columns such as savingsPlan only appear if you used those services. If the report exceeds roughly one million rows, AWS splits it into multiple CSV files and adds a manifest. You can choose to overwrite the previous file or create new versions on every update, which accumulates more objects in your bucket.

When to use it

Use CUR when you need to allocate costs by custom tag, analyze usage by product or resource, or feed the data into Athena or Redshift for deeper queries. It is the canonical source for anything more granular than a monthly total.

When not to use it

Do not use CUR when you need immediate, finalized cost data. The report updates only once daily and mid-month figures are estimates that change as services report usage. Charges remain subject to change until AWS finalizes the report after invoicing, so relying on preliminary numbers for hard commitments risks accuracy problems.

One canonical example

A platform team wants to charge back EC2 and S3 spend to the teams that provisioned the resources. They tag every resource with a TeamID, enable CUR to deliver hourly CSVs to S3, and query the data with Athena. On the fifteenth of the month they see a spike for the mobile team, but they wait until the report finalizes after invoicing on the first of the next month before issuing the internal chargeback, because support fees and credits often post around the sixth or seventh.

Interview question

You enable CUR to overwrite the previous file in S3 and notice the CSV grows larger each day during the month. Why?

  • a.AWS backfills estimated taxes and support fees mid-month, which significantly increases the number of rows delivered daily.
  • b.The report adds new optional columns automatically as your account begins using additional services during the month.
  • c.AWS appends only new usage records since the last update, causing the file to expand daily.
  • d.Each daily report is cumulative and contains all line items from the first of the month through the current date.Correct
Why?

The card states that each version within a month is cumulative and includes all line items from the first of the month through the current date, which naturally increases file size daily. Distractor A is tempting because many data pipelines are incremental, but CUR restates the full month-to-date dataset rather than appending only new records.

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