4.4 AWS Cost Management and Monitoring Tools

Key Takeaways

  • AWS Cost Explorer visualizes costs over time, identifies trends, and provides RI/Savings Plan purchase recommendations.
  • AWS Budgets creates custom budgets with alerts via SNS/email when actual or forecasted costs exceed thresholds.
  • AWS Compute Optimizer uses ML to recommend right-sized EC2, EBS, Lambda, and Fargate configurations based on utilization data.
  • AWS Cost Anomaly Detection uses ML to detect unusual spending patterns and alert you before costs spiral.
  • AWS Trusted Advisor checks for underutilized resources, idle load balancers, and other cost optimization opportunities (full checks require Business or Enterprise Support).
Last updated: March 2026

AWS Cost Management and Monitoring Tools

Quick Answer: Cost Explorer = visualize and forecast costs. Budgets = set spending limits with alerts. Compute Optimizer = ML-based right-sizing. Cost Anomaly Detection = ML-based unusual spend alerts. Trusted Advisor = checks for optimization across cost, performance, security, and fault tolerance.

AWS Cost Explorer

Cost Explorer provides a visual interface to analyze and manage AWS costs and usage over time.

FeatureDescription
Cost visualizationView costs by service, account, tag, Region, etc.
Forecasting12-month cost forecast based on historical data
RI recommendationsSuggests optimal Reserved Instance purchases
Savings Plan recommendationsSuggests optimal Savings Plan commitments
Custom reportsSave filtered views for recurring analysis
GranularityMonthly, daily, or hourly (hourly requires opt-in)
Cost allocation tagsGroup costs by business unit, project, environment

Cost Allocation Tags

Tags let you categorize and track costs:

Tag TypeWho CreatesExample
AWS-generatedAWS (opt-in)aws:createdBy
User-definedYouEnvironment:Production, Project:WebApp, Team:Engineering

On the Exam: "Track costs per department" → Use cost allocation tags + Cost Explorer. "Forecast costs for next quarter" → Cost Explorer forecasting.

AWS Budgets

AWS Budgets lets you set custom cost, usage, RI utilization, and savings plan utilization budgets.

Budget TypeTracks
Cost budgetActual and forecasted spending against a target
Usage budgetService usage against a target (e.g., EC2 hours)
RI utilizationAre your Reserved Instances being used?
RI coverageWhat percentage of running hours are covered by RIs?
Savings Plans utilizationAre your Savings Plans being used?
Savings Plans coverageWhat percentage is covered by Savings Plans?

Budget Alerts

Alert TypeDescription
ActualTriggers when actual cost exceeds threshold
ForecastedTriggers when forecasted cost will exceed threshold
ActionsAutomatically apply SCPs, stop EC2 instances, or apply IAM policies

AWS Compute Optimizer

Compute Optimizer uses machine learning to analyze resource utilization and provide right-sizing recommendations.

ResourceRecommendations
EC2 instancesInstance type and size
Auto Scaling groupsInstance type and size
EBS volumesVolume type and size
Lambda functionsMemory size
ECS on FargateCPU and memory

AWS Cost Anomaly Detection

Cost Anomaly Detection uses ML to monitor spending patterns and detect unusual spikes.

FeatureDescription
ML-basedLearns your normal spending patterns
MonitorsAWS services, accounts, cost allocation tags, cost categories
AlertsSNS notifications with root cause analysis
No threshold neededAutomatically detects anomalies (no manual threshold setup)

AWS Trusted Advisor

Trusted Advisor provides best practice recommendations across five categories:

CategoryExample Checks
Cost OptimizationUnderutilized EC2, idle ELBs, unused EBS volumes, unattached Elastic IPs
PerformanceHigh-utilization EC2, CloudFront optimization
SecurityOpen security groups, IAM use, MFA on root
Fault ToleranceMulti-AZ RDS, S3 bucket versioning, Route 53 health checks
Service LimitsApproaching service quotas

Trusted Advisor Tiers

TierAvailable ChecksSupport Plan Required
Basic7 core checks (S3 bucket permissions, security groups, IAM, MFA, EBS snapshots, RDS snapshots, service limits)Basic (free)
FullAll 100+ checksBusiness, Enterprise On-Ramp, or Enterprise

Choosing the Right Tool

NeedTool
"Show me where I am spending money"Cost Explorer
"Alert me when spending exceeds $1,000"AWS Budgets
"Am I using the right instance size?"Compute Optimizer
"Detect unexpected spending spikes"Cost Anomaly Detection
"Find underutilized resources"Trusted Advisor
"Track costs by business unit"Cost allocation tags + Cost Explorer
"Get RI purchase recommendations"Cost Explorer (RI recommendations)
Test Your Knowledge

A finance team wants to receive an alert when their monthly AWS bill is forecasted to exceed their quarterly budget. Which service should they use?

A
B
C
D
Test Your Knowledge

Which AWS tool uses machine learning to provide right-sizing recommendations for EC2 instances based on actual utilization data?

A
B
C
D
Test Your KnowledgeMulti-Select

Which TWO services help identify underutilized or idle AWS resources? (Select TWO)

Select all that apply

AWS Trusted Advisor
AWS Budgets
AWS Compute Optimizer
AWS Cost Anomaly Detection
AWS CloudFormation
Test Your Knowledge

A company discovers that their AWS bill has increased 40% unexpectedly over the past week. Which service would have PROACTIVELY alerted them about this anomaly?

A
B
C
D
Test Your Knowledge

A company wants to track AWS costs per department (Engineering, Marketing, Sales). What should they implement?

A
B
C
D
Test Your Knowledge

Which AWS Trusted Advisor check is available on the Basic (free) support plan?

A
B
C
D