Lesson 30 of 36 · see all lessons
  1. Start here: cloud concepts (domain 1, 24%)

    1. 1. Start here: the exam, the plan and what you already know
    2. 2. What the cloud is: benefits, service models and deployment models
    3. 3. AWS global infrastructure: Regions, Availability Zones and edge locations
    4. 4. Cloud economics: what you pay for on-premises vs in the cloud
    5. 5. The AWS Well-Architected Framework: six pillars
    6. 6. Moving to AWS: the Cloud Adoption Framework and migration strategies
  2. Security and identity (domain 2, 30%)

    1. 7. The shared responsibility model: who secures what
    2. 8. IAM basics: users, groups, roles and policies
    3. 9. Protecting the root user, MFA and credentials
    4. 10. Identity at scale: IAM Identity Center, federation and cross-account access
    5. 11. Encryption and keys: protecting data at rest and in transit
    6. 12. Threat protection: Shield, WAF, GuardDuty, Inspector and Security Hub
  3. Governance, ways of working and compute (domains 2 and 3)

    1. 13. Logging, auditing and compliance: CloudWatch, CloudTrail, Config and Artifact
    2. 14. Governing many accounts: Organizations, Control Tower and Service Catalog
    3. 15. Ways to use AWS: console, CLI, SDKs and infrastructure as code
    4. 16. Amazon EC2: virtual servers and instance types
    5. 17. Elasticity: Auto Scaling and Elastic Load Balancing
    6. 18. Containers and serverless: ECS, EKS, Fargate, Lambda and more
  4. Storage, databases and networking (domain 3, 34%)

    1. 19. Block and file storage: EBS, instance store, EFS and FSx
    2. 20. Amazon S3: buckets, storage classes and lifecycle policies
    3. 21. Hybrid storage, backup and disaster recovery
    4. 22. Databases: RDS, Aurora, DynamoDB, ElastiCache and more
    5. 23. Networking: VPCs, subnets, gateways and security layers
    6. 24. Connecting and delivering: Route 53, CloudFront, VPN and Direct Connect
  5. Analytics, AI, integration and more (domain 3)

    1. 25. Analytics services: Athena, Glue, Kinesis, Redshift and Quick
    2. 26. AI and machine learning services: SageMaker AI, Lex, Rekognition and Amazon Q
    3. 27. App integration and business apps: SQS, SNS, EventBridge, Connect and SES
    4. 28. Developer tools, end-user computing, Amplify and IoT
  6. Billing, pricing and support, then exam practice (domain 4, 12%)

    1. 29. Pricing models: On-Demand, Savings Plans, Reserved, Spot and Dedicated
    2. 30. Billing and cost tools: Budgets, Cost Explorer, Pricing Calculator and tags
    3. 31. AWS Support plans, Trusted Advisor and where to get help
    4. 32. Final review and exam day: every decision on one page
    5. 33. Mock exam 1
    6. 34. Mock exam 2 Exam Pack · $12
  7. Extra practice: mock exams 3 and 4

    1. 35. Mock exam 3 Exam Pack · $12
    2. 36. Mock exam 4 Exam Pack · $12
See the leaderboard

17 min

Billing and cost tools: Budgets, Cost Explorer, Pricing Calculator and tags

Estimate, track, alert on and split AWS costs with the right tool.

By the end of this lesson you can

  • Pick the tool to estimate, analyze, alert on or report AWS costs
  • Explain how cost allocation tags split a bill by team or project
  • Describe what consolidated billing in AWS Organizations gives you
  • Create a zero spend budget that warns you about charges

From earlier lessons · 1 of 2

Cedar Lane Books bought Reserved Instances but may need a different instance family next year. Which kind of RI lets it exchange for new attributes?

Pick one answer.

From earlier lessons · 2 of 2

Cedar Lane copies nightly backups from its US Region to a Region in Europe. Who pays for the data transfer?

Pick one answer.

Cedar Lane's finance director has three new questions. Before the Europe launch: what will the new stores cost? After each month: why did the bill go up? And every day: can someone warn us before we overspend? The marketing team also wants to see its own share of the bill.

[5]

Four tools, four questions

Exam depth: know it cold.

Each billing tool answers one question.

QuestionTool
What will this cost before we build it?AWS Pricing Calculator.
What did we spend, on what, and where is it heading?AWS Cost Explorer.
Warn us when we pass or are about to pass a limit.AWS Budgets.
Give us every line item to analyze ourselves.AWS Cost and Usage Reports (CUR).

All four live in, or start from, the AWS Billing and Cost Management console.

[363][364][365][369]

Rendering diagram…
Estimate first, then watch, analyze and dig into detail once the bills arrive.

[364]

AWS Pricing Calculator: estimate before you build

Exam depth: know it cold.

AWS Pricing Calculator is a free web tool for cost estimates. You pick services, enter how much you'll use, and see upfront, monthly and yearly costs. It runs on a public website, calculator.aws, so you can use it before you have an AWS account. No cloud experience is needed.

You can group services to match an architecture, see the maths behind each price, save a link to share, and export to CSV or PDF.

Cedar Lane uses it to price the European stores before launch. Estimates leave out taxes, and show only what you enter.

[363]

AWS Cost Explorer: what did we spend?

Exam depth: know it cold.

AWS Cost Explorer shows charts and tables of your past costs and usage. You filter and group by service, account, Region or tag.

  • Up to the last 13 months of history.
  • A forecast of the next 18 months.
  • Recommendations for Reserved Instances and Savings Plans, based on your usage.

The console view is free. Cedar Lane uses it to see that EC2 in one Region drove last month's jump.

Cost Explorer shows and forecasts. It doesn't send you an alert when spend crosses a line.

[346][364]

Cedar Lane's finance director wants a chart of the last six months of costs grouped by service, to see which service grew fastest. Which tool should she use?

Pick one answer.

[364]

AWS Budgets: tell me before it's too late

Exam depth: know it cold.

AWS Budgets lets you set a spending or usage limit. You get an alert by email or Amazon SNS when you pass it, or are forecast to pass it.

Budget types:

  • Cost budget: dollars spent.
  • Usage budget: amount used, such as GB or hours.
  • RI and Savings Plans budgets: alert when utilization or coverage drops below a target.

Budget actions go further. When a threshold is hit, AWS can apply an IAM policy or service control policy, or act on specific EC2 or RDS instances. Actions run automatically or after your approval.

Budgets with alerts are free. The first two action-enabled budgets are free too.

[365][366][368]

[364][365]

Cedar Lane wants an email when this month's AWS spend is forecast to go over USD 3,000. Which AWS service meets this requirement?

Pick one answer.

[365]

Cost Explorer tells you what happened. Budgets tells you before it happens. Picture: Sticky-note sketch style: two hand-drawn yellow sticky notes on a corkboard.

AWS Cost and Usage Reports: the deepest detail

Exam depth: know it cold.

AWS Cost and Usage Reports (CUR) hold the most comprehensive cost and usage data AWS offers. AWS delivers the report files to an Amazon S3 bucket you own, updated at least once a day. Each line item is one product, usage type and operation, by the hour, day or month, with your tags as columns.

You analyze it with tools like Amazon Athena, Amazon Redshift or Amazon Quick, or a spreadsheet.

Today you create it in AWS Data Exports, in the Billing and Cost Management console. CUR 2.0 is the recommended version there. Older guides show the legacy CUR page; it's the same idea.

[369][370]

Cost allocation tags: split the bill

Exam depth: know it cold.

A tag is a key and value label on a resource, such as team = marketing. A cost allocation tag is a tag you use to group costs on billing reports.

There are two types.

  • User-defined tags: you create and apply them. Reports show them with the user: prefix.
  • AWS-generated tags: AWS creates and applies them, such as aws:createdBy, which records who created a resource.

You must activate both types in the Billing and Cost Management console. In an organization, the management account does this. Only then do tags appear in Cost Explorer, the cost allocation report and CUR. Tags track costs from activation onward, unless the management account requests a backfill of up to 12 months.

[371][372][373][377]

Cedar Lane tagged every resource with a project name. The tag still doesn't show up as a filter in Cost Explorer. What must the company do?

Pick one answer.

[371]

Consolidated billing in AWS Organizations

Exam depth: know it cold.

Consolidated billing is a free feature of AWS Organizations. The management account pays the charges of all member accounts.

  • One bill for many accounts.
  • Easy tracking: see each account's charges, and a combined view.
  • Combined usage: usage adds up across accounts, so the organization reaches volume discount tiers sooner.
  • Shared discounts: Reserved Instance and Savings Plans discounts flow across accounts. The management account can turn sharing off.
  • No extra fee.

To split costs, give each team its own account, or use cost allocation tags, or both.

[352][353]

More cost helpers: rightsizing, anomalies and billing help

Exam depth: recognize it.

  • AWS Compute Optimizer studies your resources' CloudWatch metrics and recommends rightsizing: a smaller or different instance type, or idle resources to stop. It covers EC2, Auto Scaling groups, EBS volumes, Lambda functions and more. You must opt in first.
  • AWS Cost Anomaly Detection uses machine learning to spot unusual spend, such as a sudden spike, and alerts you by email or SNS. It also shows the likely cause.
  • Billing support: every AWS account owner gets account and billing help from AWS Support free of charge, whatever the support plan.

[374][375][376]

Match

Match each Cedar Lane request to the tool that answers it

Pick an item on the left, then its match on the right.

[363][364][365][369][374][375]

Try it in the AWS console

Create a zero spend budget. It emails you as soon as you spend anything beyond the Free Tier. Budgets with alerts cost nothing.

  1. Open the Billing and Cost Management console.
  2. In the navigation pane, choose Budgets, then Create budget.
  3. Choose Use a template (simplified).
  4. Choose the Zero spend budget template.
  5. Enter the email address that should get the alert.
  6. Choose Create budget.

Keep it running as a safety net, or delete it from the Budgets page when you're done.

[367][368]

Exam-style practice

A company has no AWS account yet. It wants a monthly cost estimate for a planned web app, to show its board before deciding. Which tool should it use?

Pick one answer.

[363]

A company has five AWS accounts, each billed separately. It wants one bill and to combine usage so it reaches volume pricing tiers sooner. What should it use?

Pick one answer.

[353]

FlashcardsIndex cardsFlashcards ⚡

Card 1 of 16

[353][363][364][365][366][369][371][374]

Worth keeping

  1. Before you build: Pricing Calculator. What did we spend: Cost Explorer. Alert me: Budgets. Deepest detail: CUR.
  2. Budgets alerts on actual or forecasted spend; only budget actions restrict resources.
  3. Cost allocation tags must be activated before they show in billing tools.
  4. Consolidated billing gives one bill, combined volume discounts and shared RI and Savings Plans discounts at no extra fee.

On the job

A project manager at Cedar Lane prices the Europe launch in the Pricing Calculator and attaches the PDF to the business case. Once it's live, every resource gets a project tag, activated in the Billing console. Finance sets a monthly budget with an alert at 80%. Each month the team opens Cost Explorer, groups by the project tag, and explains any jump in one slide.

The bill is under control. But at 2 a.m. on Black Friday the checkout breaks. Who do you call, and how fast will they answer? Next lesson: AWS Support plans, Trusted Advisor and where to get help.

Leaderboard

Loading…

50 XP for each lesson you finish, 10 for each right answer. Names show only for learners who turn on Show me on leaderboards.

Embed this practice on your site

Free for classrooms, blogs and study groups. Paste this into any page that accepts HTML.

Report a copyright problem with this lesson

Sources for this lesson (21)

Each fact in the lesson is marked with the number of the page it comes from.

  1. [5]AWS: CLF-C02 Content Domain 4: Billing, Pricing, and Support
  2. [343]AWS: Types of Reserved Instances (offering classes)
  3. [346]AWS: What are Savings Plans?
  4. [352]AWS: Reserved Instances and Savings Plans discount sharing
  5. [353]AWS: Consolidating billing for AWS Organizations
  6. [355]AWS: Understanding data transfer charges
  7. [363]AWS: What is AWS Pricing Calculator?
  8. [364]AWS: Analyzing your costs and usage with AWS Cost Explorer
  9. [365]AWS: Managing your costs with AWS Budgets
  10. [366]AWS: Configuring budget actions
  11. [367]AWS: Using a budget template (simplified)
  12. [368]AWS: AWS Budgets pricing
  13. [369]AWS: What are AWS Cost and Usage Reports?
  14. [370]AWS: What is AWS Data Exports?
  15. [371]AWS: Organizing and tracking costs using AWS cost allocation tags
  16. [372]AWS: Using AWS-generated tags
  17. [373]AWS: Using user-defined cost allocation tags
  18. [374]AWS: What is AWS Compute Optimizer?
  19. [375]AWS: Detecting unusual spend with AWS Cost Anomaly Detection
  20. [376]AWS: Getting help with your bills and payments
  21. [377]AWS: Backfill cost allocation tags