Cost Management Tools and Governance: Cost Explorer, Budgets, Cost Anomaly Detection, Tagging and FinOps Practice

AWS Solutions Architect 40 min min read Updated: Nov 17, 2026 Intermediate
Cost Management Tools and Governance: Cost Explorer, Budgets, Cost Anomaly Detection, Tagging and FinOps Practice
Intermediate Topic 2 of 3

FinOps in One Paragraph

FinOps is the practice of bringing finance, engineering and business together to manage cloud spend. Its loop is: Inform (show who spends what), Optimize (remove waste, use commitments), Operate (set guardrails and review regularly).

Tool Overview

ToolWhat it does
Cost ExplorerInteractive charts of cost and usage by service, account, tag, Region; forecasts; Savings Plans and RI recommendations and coverage/utilization; resource-level data for the last 14 days (optional)
AWS BudgetsSet cost, usage, Savings Plans or RI coverage/utilization budgets with alerts and budget actions (apply an IAM or SCP policy, stop instances)
Cost Anomaly DetectionMachine learning finds unusual spend and sends alerts with root causes
Cost and Usage Report (CUR / Data Exports)The most detailed billing data, delivered to S3, query with Athena, QuickSight or Redshift
Cost allocation tags and Cost CategoriesGroup spend by team, project or business rules
Billing ConductorCustom pricing views and chargeback rates for resellers and internal groups
Compute Optimizer / Trusted AdvisorRight-sizing and idle resource recommendations
Pricing CalculatorEstimates before you build

Cost Explorer: Questions It Answers

  • Which service or account increased last month?
  • How much does team X (tag) cost?
  • What will we spend this month (forecast)?
  • What is our Savings Plan coverage and utilization?
  • Which linked account is the biggest?
bash aws ce get-cost-and-usage --time-period Start=2026-10-01,End=2026-11-01 --granularity MONTHLY --metrics UnblendedCost \ --group-by Type=DIMENSION,Key=SERVICE --query 'ResultsByTime[0].Groups[?Metrics.UnblendedCost.Amount>`10`].[Keys[0],Metrics.UnblendedCost.Amount]' --output table aws ce get-cost-and-usage --time-period Start=2026-10-01,End=2026-11-01 --granularity MONTHLY --metrics UnblendedCost --group-by Type=TAG,Key=Project aws ce get-cost-forecast --time-period Start=2026-11-17,End=2026-12-01 --metric UNBLENDED_COST --granularity MONTHLY aws ce get-savings-plans-purchase-recommendation --savings-plans-type COMPUTE_SP --term-in-years ONE_YEAR --payment-option NO_UPFRONT --lookback-period-in-days THIRTY_DAYS
Cost viewMeaning
UnblendedCosts as charged per usage (default)
BlendedAverage rate across the organization's accounts
AmortizedSpreads upfront RI/Savings Plan fees across the term. Best for team reports
NetAfter discounts

AWS Budgets

json { "BudgetName": "team-shop-monthly", "BudgetLimit": {"Amount": "2000", "Unit": "USD"}, "TimeUnit": "MONTHLY", "BudgetType": "COST", "CostFilters": {"TagKeyValue": ["user:Project$shop"]} }
  • Types: Cost, Usage, Savings Plans utilization/coverage, RI utilization/coverage
  • Alerts on actual and forecasted spend (for example 50, 80, 100 percent) by email, SNS or chat
  • Budget actions can automatically attach a restrictive IAM or SCP policy or stop EC2/RDS when a limit is crossed. Good for sandbox accounts
  • Alerts are not hard limits: AWS does not stop services by itself unless you configure an action

Cost Anomaly Detection

  • Create monitors by service, linked account, cost category or tag, then subscriptions with a threshold (for example 100 USD impact) and an SNS topic or email
  • Finds things like a forgotten GPU cluster or a Lambda in a loop within a day, not at month end
  • Shows root cause (account, Region, usage type)

Cost Allocation Tags

  1. Define a tag standard: Project, Owner, Environment, CostCenter
  2. Tag at creation (CloudFormation/Terraform default tags, tag policies, SCP deny without tag)
  3. In Billing → Cost allocation tags, activate the tags (up to 24 hours to appear)
  4. Use Cost Categories to group by rules (for example all accounts of OU Retail plus tag Project=web)
  5. Report untagged spend monthly and fix it
hcl provider "aws" { region = "ap-south-1" default_tags { tags = { Project = "shop" Owner = "team-shop" Environment = "prod" CostCenter = "1234" } } }
Not everything can be tagged Shared costs (support, some data transfer, shared networking) need allocation rules: split by usage share, headcount or equal parts. Billing Conductor and Cost Categories help with split charges.

Cost and Usage Report + Athena

sql SELECT line_item_product_code AS service, resource_tags_user_project AS project, SUM(line_item_unblended_cost) AS cost FROM cur_database.cur_table WHERE year = '2026' AND month = '11' GROUP BY 1, 2 ORDER BY cost DESC LIMIT 20;

Showback vs Chargeback

ModelMeaning
ShowbackShow each team what they cost. No money moves. Builds awareness
ChargebackCost is actually charged to the team's budget

Waste Hunting List

WasteHow to findFix
Idle or oversized EC2/RDSCompute Optimizer, CloudWatch CPUStop, resize, Graviton, schedule off-hours
Unattached EBS volumes and old snapshotsTrusted Advisor, describe-volumes --filters Name=status,Values=availableDelete, lifecycle (DLM)
Idle load balancers, unused Elastic IPs / public IPv4Trusted AdvisorDelete or release
NAT Gateway data processingCost Explorer usage type NatGateway-BytesGateway endpoints, interface endpoints, IPv6
S3 in expensive classes, old versions, incomplete uploadsS3 Storage LensLifecycle, Intelligent-Tiering
CloudWatch Logs without retentionLog group listSet retention, filter noisy logs
Dev and test running 24x7Tags + scheduleInstance Scheduler or EventBridge Scheduler to stop at night
Data transfer between Regions/AZsCUR usage typeRedesign or co-locate
Unused commitmentsSavings Plans utilizationAdjust purchases
bash aws ec2 describe-volumes --filters Name=status,Values=available --query 'Volumes[].[VolumeId,Size,CreateTime]' --output table aws ec2 describe-addresses --query 'Addresses[?AssociationId==null].[PublicIp,AllocationId]' --output table aws logs describe-log-groups --query 'logGroups[?retentionInDays==null].[logGroupName,storedBytes]' --output table

A Monthly FinOps Routine

  1. Review cost vs budget and forecast per team
  2. Review anomalies and explain them
  3. Check untagged resources and fix
  4. Review coverage and utilization of Savings Plans/RIs, buy or adjust
  5. Act on top 5 recommendations (right-size, delete, schedule)
  6. Share a short report and celebrate savings

Practice Tasks

  1. Open Cost Explorer and group last month by service, then by linked account
  2. Create a monthly budget with 80 and 100 percent alerts and one budget action for a sandbox account
  3. Create a cost anomaly monitor and an SNS subscription
  4. Activate a tag as a cost allocation tag and view cost by it after 24 hours
  5. Find three kinds of waste in your lab account with the CLI commands above

Conclusion

Use Cost Explorer to see and forecast spend, Budgets with alerts and actions to control it, Cost Anomaly Detection to catch surprises early, activated cost allocation tags and cost categories to assign cost to teams, CUR with Athena for deep analysis, and a regular FinOps routine to remove waste and tune commitments.

Quick Summary: Cost Explorer CLI + views; Budgets types + actions; anomaly detection; tags + default_tags; CUR Athena; showback/chargeback; waste hunting table; monthly routine.

Get Newsletter

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