Cost Management & AWS Tools
AWS provides a full toolkit for managing cloud costs: Cost Explorer for visual analysis, AWS Budgets for proactive alerts, the Pricing Calculator for pre-deployment estimates, and Trusted Advisor plus Compute Optimizer for right-sizing recommendations. Cost allocation tags, consolidated billing, and the AWS Health Dashboard round out the governance picture on CLF-C02.
1. AWS Cost Management Toolkit
2. AWS Cost Explorer
- Free visual dashboard to explore and analyze AWS costs and usage
- View historical costs (up to 13 months back) and forecasted costs (up to 12 months ahead)
- Filter and group by: service, Region, account, instance type, usage type, tag
- Identify spending trends, detect anomalies, find opportunities for Reserved Instance purchases
- Available directly in the AWS Billing console — no additional setup required
Cost Explorer use cases:
- "Which service is costing the most this month?"
- "What will my bill look like next quarter at this growth rate?"
- "Show me all EC2 spending tagged to the Marketing project"
3. AWS Cost and Usage Report (CUR)
- The most granular billing data available from AWS
- Delivered as CSV files to an S3 bucket you specify (hourly, daily, or monthly granularity)
- Contains a line item for every resource, every service, every hour
- Analyze with Amazon Athena (SQL queries), Amazon Redshift (warehouse), or Amazon QuickSight (BI dashboards)
- Required for enterprise-level cost allocation, chargeback, and showback to internal teams
Cost Explorer vs CUR:
| Feature | Cost Explorer | Cost and Usage Report |
|---|---|---|
| Access | Browser-based visual UI | Raw files in S3 |
| Granularity | Pre-aggregated | Per resource per hour |
| Ease of use | Immediate, no setup | Requires Athena or Redshift |
| Best for | Quick visual analysis | Custom analytics and chargebacks |
4. AWS Pricing Calculator
- Free, web-based estimation tool at calculator.aws
- No AWS account required — anyone can use it
- Configure services with expected usage to estimate monthly costs before deploying
- Generate a shareable link to send estimates to stakeholders
- Covers hundreds of AWS services with detailed configuration options
5. AWS Budgets
Set custom budgets and receive alerts before costs get out of hand:
Budget types:
| Type | Monitors |
|---|---|
| Cost budget | Dollar spend against a threshold |
| Usage budget | Service usage (e.g., EC2 instance-hours, S3 GB) |
| Reservation budget | Reserved Instance utilization and coverage |
| Savings Plans budget | Savings Plans utilization and coverage |
Budget Actions — automatically take action when a threshold is breached:
- Apply an IAM policy to restrict permissions
- Apply an SCP to prevent spending in the account
- Stop specific EC2 or RDS instances
6. Cost Allocation Tags
Tags are key-value labels you attach to AWS resources to track costs:
- Examples:
Project: WebApp,Environment: Production,Team: Backend,CostCenter: Engineering - Must be activated in the Billing console before they appear in Cost Explorer and CUR
- Two types:
- AWS-generated tags — Automatically created (e.g.,
aws:createdBy) - User-defined tags — You create and apply them to any resource
- AWS-generated tags — Automatically created (e.g.,
Use cases:
- Chargeback: Bill individual teams for their actual AWS usage
- Showback: Show teams their costs without actual billing transfer
- Project tracking: Sum all costs for resources tagged to a specific project
7. AWS Trusted Advisor
Automated best-practice checks across 5 categories:
Trusted Advisor access by support plan:
| Support Plan | Trusted Advisor Access |
|---|---|
| Basic | 7 core checks (subset of Security and Service Limits) |
| Developer | 7 core checks only |
| Business | All checks + weekly email report + API access |
| Enterprise On-Ramp | All checks + priority guidance |
| Enterprise | All checks + dedicated TAM reviews |
8. AWS Compute Optimizer
- Machine learning-based right-sizing recommendations
- Analyzes actual utilization metrics from CloudWatch (CPU, memory, network, storage)
- Recommends optimal configurations for:
- EC2 instances
- EC2 Auto Scaling groups
- Amazon EBS volumes
- AWS Lambda functions
- Amazon ECS services on Fargate
Trusted Advisor vs Compute Optimizer:
| Service | Scope | Depth |
|---|---|---|
| Trusted Advisor | Broad operational best practices (cost, security, performance, fault tolerance, limits) | Rule-based checks on configuration |
| Compute Optimizer | Compute right-sizing only | Deep ML analysis of actual usage patterns |
9. AWS Health Dashboard
Two views for monitoring AWS service status:
| View | Description | Who Sees It |
|---|---|---|
| Service Health Dashboard | Public page showing status of all AWS services globally | Anyone at status.aws.amazon.com |
| Account Health Dashboard | Personalized events affecting your specific resources (maintenance, incidents, account issues) | Your AWS account only |
Available to all customers at no additional charge. The Account Health view is the important one for operations — it shows upcoming maintenance windows for your RDS instances, your EC2 scheduled events, and API call limits you are approaching.
10. AWS Config
- Records configuration state of AWS resources over time
- Creates a configuration timeline: see how a resource changed and when
- Evaluates resources against compliance rules (e.g., "All EBS volumes must be encrypted", "All S3 buckets must have logging enabled")
- Sends notifications via SNS when resources become non-compliant
- Useful for: security auditing, change management, compliance reporting, troubleshooting
Config vs CloudTrail — frequently confused:
| Service | Tracks | Primary Question |
|---|---|---|
| Config | What resources look like (state) | "What does this resource look like now, and how has it changed?" |
| CloudTrail | API calls and user actions | "Who changed this, when, and from where?" |
11. AWS Well-Architected Tool
- Free guided review service in the AWS Management Console
- Asks questions about your workload against all 6 pillars (including Cost Optimization)
- Produces a risk report with high-risk and medium-risk issues
- Provides specific improvement recommendations with links to best practices
- Should be used regularly — architecture evolves and should be periodically reviewed
12. CLF-C02 Quick Reference
| Tool | Purpose |
|---|---|
| Cost Explorer | Visual historical and forecasted cost analysis; free; filter by service/Region/tag |
| Cost and Usage Report | Most detailed billing data; CSV to S3; for custom analytics |
| Pricing Calculator | Pre-deployment cost estimates; free; no account needed |
| AWS Budgets | Set cost/usage alerts; Budget Actions to stop resources automatically |
| Cost Allocation Tags | Tag resources to track costs by project, team, or environment |
| Trusted Advisor | Automated best-practice checks across 5 categories; full access needs Business plan |
| Compute Optimizer | ML-based right-sizing for EC2, Lambda, EBS, ECS |
| Health Dashboard | Service health public page; Account Health personalized events |
| AWS Config | Resource configuration history and compliance rule evaluation |
| CloudTrail | API call audit log — who did what, when, and from where |
| Well-Architected Tool | Free architectural review; 6 pillars; risk report with improvements |
| Consolidated Billing | Single bill; shared volume discounts and RI savings across accounts |
Practice Questions12
Q1. Which AWS service provides a visual dashboard to explore, analyze, and understand your AWS costs and usage over time, with filtering by service, account, and tags?
Select one answer before revealing.
Q2. Which AWS service lets you set custom cost and usage thresholds and automatically send alerts when those thresholds are breached or forecasted to be breached?
Select one answer before revealing.
Q3. Which AWS tool provides the MOST granular billing data, including hourly resource-level costs, and delivers it as CSV files to an S3 bucket for deep analytics?
Select one answer before revealing.
Q4. Which AWS service uses machine learning to analyze actual resource utilization and recommends right-sizing actions for EC2 instances, Lambda functions, and EBS volumes?
Select one answer before revealing.
Q5. AWS Trusted Advisor provides recommendations across which five categories?
Select one answer before revealing.
Q6. What is the purpose of cost allocation tags in AWS?
Select one answer before revealing.
Q7. Which AWS service provides personalized information about AWS service events — including outages and scheduled maintenance — that may specifically impact your account's resources?
Select one answer before revealing.
Q8. A company has multiple teams using the same AWS account and wants to track costs separately by team and alert each team when their spending exceeds $1,000/month. Which combination achieves this?
Select one answer before revealing.
Q9. A company's developers only run EC2 instances during business hours (Monday-Friday, 9am-5pm). What is the MOST cost-effective approach for these non-production instances?
Select one answer before revealing.
Q10. Which TWO AWS services provide cost optimization recommendations that help identify savings opportunities in your current AWS environment? (Select TWO — more than one answer may be correct)
Select one answer before revealing.
Q11. What is the difference between AWS Cost Explorer and AWS Budgets?
Select one answer before revealing.
Q12. A company wants to review their entire AWS architecture against best practices for security, performance, reliability, and cost before a major production launch. Which service provides a structured, guided review with improvement recommendations?
Select one answer before revealing.