Estimating, Tracking and Analysing Costs with AWS Cost Tools
This lesson explains the AWS tool for each stage of cost management: estimating before you build, alerting while you run, and analysing afterwards.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish the AWS Pricing Calculator, AWS Budgets and AWS Cost Explorer.
- Choose the cost tool that fits a stage of a project.
Which tool when
Each cost management tool fits a different moment. Before you build, the AWS Pricing Calculator estimates the monthly cost of a planned architecture by service, Region and configuration; it is free and needs no AWS account. While you run, AWS Budgets sets budgets for cost, usage or commitment coverage and alerts by email or SNS when actual or forecast spending passes a threshold, such as 80% of $1,000; budget actions can also respond automatically.
Afterwards, AWS Cost Explorer shows historical costs by service, account, tag or Region, forecasts future spending, and recommends right-sizing and Savings Plans. On an ongoing basis, AWS Cost Anomaly Detection uses machine learning to spot unusual spending, such as a sudden jump in data transfer, and alerts you. The following table summarises the tools.
| Tool | Stage | What it does |
|---|---|---|
| AWS Pricing Calculator | Before you build | Estimates monthly cost of an architecture by service, Region and configuration; free, no AWS account needed; estimates can be saved and shared |
| AWS Budgets | While you run | Sets budgets for cost, usage, or RI and Savings Plans utilisation and coverage; alerts by email or SNS when actual or forecast spend passes a threshold (e.g. 80% of $1,000); budget actions can respond automatically |
| AWS Cost Explorer | Afterwards | Visualises historical costs by service, account, tag or Region; forecasts spending; gives rightsizing and Savings Plans recommendations |
| AWS Cost Anomaly Detection | Ongoing | Uses ML to spot unusual spending, such as a sudden jump in data transfer, and alerts you |
The Billing and Cost Management console shows bills, payments and Free Tier usage.
Which cost tool?
A project's cost lifecycle
A team plans, runs and reviews a new project, using a different tool at each stage:
| Stage | Question | Tool |
|---|---|---|
| Before building | "What will this architecture cost each month?" | AWS Pricing Calculator: estimate of $1,800/month |
| While running | "Tell us if we are heading over budget" | AWS Budgets: alert at 80% of $2,000, and when the forecast exceeds $2,000 |
| While running | "Warn us about anything unusual" | Cost Anomaly Detection: flags a sudden jump in data transfer |
| After three months | "Where is the money going, and what will next quarter cost?" | Cost Explorer: costs by service and a forecast |
Cost Explorer also recommends a Savings Plan and shows that two instances are much larger than needed (rightsizing), suggesting where to save next.
Which tool estimates the cost of a workload before it is built?
Show answer
AWS Pricing Calculator.
Exam Tips
Remember for the exam
- To estimate costs before deploying, use the AWS Pricing Calculator.
- To be alerted when spending passes a threshold, use AWS Budgets.
- To analyse past costs and forecast future spending, use Cost Explorer.
- To detect unexpected spikes in spending, use Cost Anomaly Detection.
- Rightsizing recommendations come from Cost Explorer.