AWS billing and cost tools
With pay-as-you-go pricing, your bill changes every month. That is great for flexibility, but it means you need tools to estimate costs before building, watch them while running, and explain them afterwards. AWS has a tool for each stage.
The tools by stage
| Stage | Tool | What it does | Typical question |
|---|---|---|---|
| Before you build | AWS Pricing Calculator | Estimates the monthly cost of an architecture you describe. No account needed | “What would this design cost per month?” |
| While you run | AWS Budgets | Sets cost or usage limits and alerts you, or runs an action, when actual or forecast spend crosses them | “Warn me before we spend more than $1,000 this month” |
| Looking back and ahead | AWS Cost Explorer | Charts past costs by service, account, Region or tag, and forecasts future spend | “Which service grew most last quarter?” |
| In full detail | AWS Cost and Usage Reports (CUR) | The most detailed cost and usage data, line by line, delivered to your S3 bucket | “Give the finance team every charge to analyze” |
AWS Pricing Calculator
You add the services you plan to use, such as EC2 instances, storage and data transfer, and it shows an estimated monthly and yearly cost. You can share the estimate with others. Use it to compare designs or to build a business case.
AWS Budgets
A budget tracks cost, usage, or Savings Plans and Reserved Instance coverage against a limit. It can:
- Send alerts by email or SNS when actual spend, or forecast spend, crosses a threshold such as 80%.
- Run actions, such as applying a restrictive IAM policy, when a budget is exceeded.
AWS Cost Explorer
Cost Explorer shows graphs of your spending over time, which you can filter and group, for example by service or by tag. It also gives a forecast, and shows rightsizing and Savings Plans recommendations.
AWS Cost and Usage Reports
The CUR is the most comprehensive billing data. It is delivered to an S3 bucket, can be broken down by hour, day or month, by product, resource or tag, and can be analyzed with Amazon Athena, Amazon Redshift or Amazon Quick. Large companies use it to build their own cost dashboards.
AWS Organizations and consolidated billing
Most companies use many AWS accounts, for example one per team or per environment. AWS Organizations groups them under one management account. Its consolidated billing feature:
- Produces one bill for all accounts, while still showing each account’s charges.
- Combines usage across accounts for volume pricing tiers, so the organization reaches lower per-unit prices sooner.
- Shares Reserved Instance and Savings Plans discounts across accounts.
- Costs nothing extra.
Cost allocation tags: who spent what?
A tag is a label on a resource, made of a key and a value, such as Project = website or CostCenter = marketing. Cost allocation tags make those labels show up in billing tools, so you can split costs by team, project or environment.
| Type | Created by | Prefix | Example |
|---|---|---|---|
| AWS-generated | AWS (or an AWS Marketplace seller) | aws: |
aws:createdBy, showing who created a resource |
| User-defined | You | user: |
user:Project |
Tags must be activated in the Billing console before they appear in Cost Explorer and the Cost and Usage Report. Each type is activated separately.
Putting it together: a growing startup
- Before launching, the team estimates costs with the Pricing Calculator.
- It creates separate accounts for development and production in AWS Organizations, with consolidated billing.
- A budget alerts the founders when forecast spend passes 80% of the monthly plan.
- Every resource gets a
Projecttag, activated as a cost allocation tag. - Each month they review Cost Explorer by
Project, and the accountant analyzes the CUR for invoicing customers.
Common mix-ups
- Pricing Calculator vs Cost Explorer. The calculator estimates future designs; Cost Explorer analyzes actual spend.
- Budgets vs Cost Explorer. Budgets alerts when limits are crossed; Cost Explorer visualizes spending.
- Cost Explorer vs CUR. Cost Explorer is charts in the console; CUR is the detailed raw data for your own analysis.
- Tags need activation before they show in billing tools.
Check yourself
A team wants an email when its monthly spend is forecast to exceed $500. Which tool?
AWS Budgets.
Before building, a company wants to estimate the monthly cost of a new architecture. Which tool?
AWS Pricing Calculator.
Which feature gives one bill for many accounts and shares volume discounts?
Consolidated billing in AWS Organizations.
How can a company see costs per project in Cost Explorer?
Tag resources with a project key and activate it as a cost allocation tag.
Key takeaways
- Estimate with the Pricing Calculator, control with Budgets, analyze with Cost Explorer, go deep with the CUR.
- AWS Organizations consolidated billing gives one bill, combined volume pricing and shared discounts.
- Cost allocation tags (AWS-generated
aws:and user-defineduser:) split costs once activated.
Cloud Study Lab is an independent study site. It is not affiliated with or endorsed by Amazon Web Services. AWS and the names of AWS certifications are trademarks of Amazon.com, Inc. or its affiliates.