Cost Management Operations: Cost Explorer, Budgets, Cost Anomaly Detection, Tagging, CUR and Trusted Advisor

AWS SysOps Associate 50 min min read Updated: Nov 17, 2026 Intermediate
Cost Management Operations: Cost Explorer, Budgets, Cost Anomaly Detection, Tagging, CUR and Trusted Advisor
Intermediate Topic 1 of 3

Where to Look

ToolUse
Billing and Cost Management consoleBills, payment, invoices, free tier usage, credits, tax settings
Cost ExplorerVisualize and analyze cost and usage up to 13 months back (and 12 months forecast). Group by service, account, tag, usage type, Region. Filter. Hourly and resource-level granularity (opt-in)
AWS BudgetsSet cost, usage, Savings Plans/RI coverage and utilization budgets with alerts and automated actions
Cost Anomaly DetectionML finds unusual spend and sends alerts with root cause
Cost and Usage Report (CUR / Data Exports)Most detailed data in S3, query with Athena or QuickSight
Billing Conductor / Cost CategoriesCustom grouping, showback and chargeback
Trusted Advisor, Compute Optimizer, Cost Optimization HubSavings recommendations
Pricing CalculatorEstimate before building

Consolidated Billing

  • Organizations combines bills from many accounts: one payer account, combined volume discounts, shared Reserved Instance and Savings Plans discounts
  • Member accounts can see their own cost. Management account sees all
  • Use separate accounts per environment or team for clear cost boundaries

Cost Allocation Tags

  • Tags must be activated in Billing as cost allocation tags (AWS-generated such as aws:createdBy and user-defined). They appear in reports only after activation and are not retroactive
  • Use consistent keys (team, project, env, cost-center). Enforce with tag policies and Config
  • Untagged spend is the biggest allocation problem. Use Cost Categories and account structure as a fallback

AWS Budgets

bash aws budgets create-budget --account-id 111111111111 --budget '{"BudgetName":"monthly-prod","BudgetLimit":{"Amount":"5000","Unit":"USD"},"TimeUnit":"MONTHLY","BudgetType":"COST", "CostFilters":{"TagKeyValue":["user:env$prod"]}}' \ --notifications-with-subscribers '[{"Notification":{"NotificationType":"FORECASTED","ComparisonOperator":"GREATER_THAN","Threshold":100,"ThresholdType":"PERCENTAGE"}, "Subscribers":[{"SubscriptionType":"EMAIL","Address":"finops@example.com"}]}, {"Notification":{"NotificationType":"ACTUAL","ComparisonOperator":"GREATER_THAN","Threshold":80,"ThresholdType":"PERCENTAGE"},"Subscribers":[{"SubscriptionType":"EMAIL","Address":"finops@example.com"}]}]'
  • Alert on actual (80, 100 percent) and forecasted spend (early warning)
  • Budget actions can apply an IAM policy or SCP, or stop EC2/RDS instances when a threshold is crossed (needs an execution role and approval setting)
  • Send alerts to SNS → Chatbot for the team channel
  • Create usage budgets (hours, GB) and Reservation/Savings Plans coverage budgets
  • Budgets do not stop spending by themselves unless you attach an action

Cost Anomaly Detection

  • Create monitors (all services, linked accounts, cost categories, tags) and alert subscriptions (individual or summary, with an impact threshold in dollars or percent)
  • Each anomaly shows root causes (account, service, Region, usage type)
  • Typical finds: a forgotten GPU cluster, a runaway Lambda loop, NAT gateway data processing spike, logging flood, cross-Region replication storm

Usual Cost Drivers and Fixes

DriverFix
Idle or oversized EC2/RDSRight-size (Compute Optimizer), stop non-prod after hours, Graviton, Savings Plans
Unattached EBS volumes and old snapshotsDelete (with safety), DLM lifecycles, move snapshots to archive tier
Unused Elastic IPs, public IPv4 addresses, idle load balancers, NAT gatewaysRelease and delete. Use endpoints, share NAT only where needed
Data transferOut to internet is charged. Cross-AZ and cross-Region transfer charged. Use CloudFront, same-AZ designs for chatty traffic, VPC endpoints, S3 gateway endpoint, compress
S3 storage classLifecycle, Intelligent-Tiering, delete old versions and incomplete multipart uploads
CloudWatch Logs ingestion and storageReduce verbosity, set retention, use Infrequent Access class, filter before sending
CloudWatch custom metrics with high cardinalityReduce dimensions
DynamoDB over-provisioningOn-demand or auto scaling, Standard-IA table class
RDS Multi-AZ in devSingle-AZ for non-prod, stop/snapshot
Support plan and marketplaceRight plan for the business
bash aws ce get-cost-and-usage --time-period Start=2026-11-01,End=2026-11-17 --granularity DAILY --metrics UnblendedCost \ --group-by Type=DIMENSION,Key=SERVICE --query 'ResultsByTime[-1].Groups[].[Keys[0],Metrics.UnblendedCost.Amount]' --output table aws ce get-cost-and-usage --time-period Start=2026-11-01,End=2026-11-17 --granularity MONTHLY --metrics UnblendedCost --group-by Type=TAG,Key=team aws ce get-cost-forecast --time-period Start=2026-11-18,End=2026-11-30 --metric UNBLENDED_COST --granularity MONTHLY
sql -- Athena on the Cost and Usage Report: top 10 resources by cost this month SELECT line_item_resource_id, line_item_product_code, sum(line_item_unblended_cost) AS cost FROM cur_table WHERE month = '11' AND year = '2026' AND line_item_resource_id <> '' GROUP BY 1, 2 ORDER BY cost DESC LIMIT 10;

Trusted Advisor

  • Checks in five pillars: Cost optimization, Performance, Security, Fault tolerance, Service limits (plus operational excellence). Core checks are free. The full set needs Business, Enterprise On-Ramp or Enterprise support
  • Cost examples: low utilization EC2, idle load balancers, unassociated Elastic IPs, underutilized EBS volumes, idle RDS, Savings Plans/RI recommendations
  • Security examples: open security groups on specific ports, S3 bucket permissions, root account MFA, exposed access keys
  • Use EventBridge for check status changes, organizational view, and Trusted Advisor Priority

Free Tier and Account Safety

  • Turn on Free Tier usage alerts and billing alerts. Check Free tier page monthly. Some free tiers are 12-month, some always-free, some trial
  • Set a zero spend budget for learning accounts
  • Billing alarm: enable 'Receive Billing Alerts' then CloudWatch alarm on EstimatedCharges in us-east-1 (or just use Budgets)
  • Protect with MFA, SCP budgets, and quotas to avoid crypto-mining abuse

Weekly Cost Routine

  1. Open Cost Explorer grouped by service and by tag for the last 7 days. Compare with last week
  2. Check anomaly alerts and the budget forecast
  3. Review Trusted Advisor and Compute Optimizer top recommendations
  4. List idle resources (unattached volumes, unused EIPs, stopped instances with volumes, old snapshots)
  5. Check Savings Plans/RI utilization and coverage
  6. Share a short report with owners and track savings

Practice Tasks

  1. Activate two cost allocation tags and view cost by tag after a day
  2. Create a monthly budget with actual and forecast alerts to SNS
  3. Create a Cost Anomaly monitor and subscription
  4. Set up CUR to S3 and an Athena table, then find the top five costly resources
  5. Clean up unattached EBS volumes and unused Elastic IPs in a test account

Conclusion

Use Cost Explorer for analysis, activated cost allocation tags and accounts for ownership, Budgets (actual plus forecast, optional actions) and Cost Anomaly Detection for early warnings, CUR with Athena for deep dives, and Trusted Advisor for savings. Watch data transfer, idle resources and logs, and follow a weekly routine.

Quick Summary: tools; consolidated billing; tags; Budgets; anomalies; drivers; Trusted Advisor; free tier; routine.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators