Topic lessonTopic: AWS billing analysis and cost optimization
Break down AWS cost by usage type, account and period
Explain which usage changed when the total increased. Reconcile production and development on the same Cost Explorer basis.
Reconcile production and development on the same Cost Explorer basis.
This exercise uses fictional evidence and makes no changes in a live environment.
From aggregate to billing lines
Filter Cost Explorer to matching periods, metrics, accounts and usage types. Track quantities separately where their units differ.
- Total → OwnerAlign the basis
- Owner → UsageLocate the difference
- Usage → VerifyCompare billing lines
- Total
- Same cost metric
- Owner
- Linked account
- Usage
- Service and usage type
- Verify
- Reconcile amount and quantity
Compare two synthetic weeks
| Group | Previous → current | Interpretation |
|---|---|---|
| Development EC2 compute | 40 → 42 | Increase of 2, inspect instance hours |
| Production NAT processing | 18 → 28 | Increase of 10, inspect processed GB |
| Production storage | 20 → 20 | No change |
| Total on same cost basis | 78 → 90 | Increase of 12 |
Adding GB to hours does not give a meaningful change in usage.
Preserve comparison conditions
Fix the cost basis Record dates, grouping, usage types and treatment of tax, discounts and credits.
Keep units separate Compare quantities within usage types and add compatible monetary amounts.
Explain the variance Check changes in unit prices, quantity and attribution, then record the refresh time.
Check your decision
Choose an option to see the result and explanation.
Check, then explain in your own words
- Save the comparison settings.
- Investigate the largest difference.
- Reconcile quantities and costs.
Check your understanding: Can a service total identify the owner and cause?
Break it down by account, usage type and quantity over the same period.
The label cannot identify the changed usage.
Sources and conditions checked
The official references used in this lesson are collected here with their scope, conditions and corresponding sections. Independent expert review and live AWS comparison have not been performed.
Scope and conditionsService, usage type, linked account and other filtering dimensions.
Used in this lessonFrom aggregate to billing lines Compare two synthetic weeks Preserve comparison conditions