Sub topic 1
Where AWS Cost Data Comes From
Prerequisites
This chapter assumes that you know the basics of AWS accounts, AWS Organizations, and services such as Amazon EC2, Amazon S3, and Amazon RDS. You should also know how to open the AWS Management Console. Command-line examples are optional.
AWS billing data
AWS records charges as accounts use services. A billing record can include an account, service, region, operation, usage type, and amount. For example, an EC2 record might describe compute hours in a particular region.
The management account can view organization-wide costs when consolidated billing is enabled. Member accounts can usually view their own costs, subject to permissions. Cost data is processed after usage occurs, so recent charges may be delayed or revised.
A tour of Cost Explorer
Cost Explorer is an AWS console tool for examining historical and forecasted costs. A report starts with a time range and metric. You can then choose a granularity, such as monthly or daily, and group results by a dimension such as service, account, region, or usage type.
Cost Explorer answers questions such as:
- Which services generated this month’s spending?
- Which account owns the largest share?
- How did daily costs change during a deployment?
Choosing a cost metric
The metric determines what “cost” means in the report.
| Metric | Useful when |
|---|---|
| Unblended cost | You need the charge recorded for each account or usage item |
| Amortized cost | You want reserved-instance or Savings Plans commitment costs spread across usage |
| Net cost | You need costs after applicable discounts and credits |
Use unblended cost for a direct view of billed line items. Use amortized cost for comparing the effective cost of workloads over time. Confirm the metric before comparing reports, because different metrics can produce different totals.
Time range, grouping, and filters
A time range limits the records included. Granularity controls whether results are combined by day, month, or another supported interval. Grouping creates separate series or rows. Filtering removes records that do not match conditions.
For example, a report can select October 2026, use monthly granularity, group by service, and filter to one linked account. Combining a service filter with a tag filter can isolate production EC2 spending.
Saving and reusing reports
Save a report after selecting its metric, date range, grouping, and filters. Give it a name that states its purpose, such as “Monthly production cost by service.” Reuse saved reports for regular reviews, but check the date range and metric before interpreting new results.
Exercise
Which metric is usually better for comparing the effective cost of workloads that use a Savings Plan?
Show answer
Amortized cost, because commitment costs are distributed across the related usage.