AWS Cost Anomaly Detection: Setup & Best Practices

Published by

Yaamini Rajkumar

on

AWS Cost Anomaly Detection is a free feature in AWS Billing and Cost Management that uses machine learning to learn your normal spending and flag unusual increases. It checks your costs about three times a day, points to the likely root cause, and alerts you by email, Amazon SNS, or Slack, based on thresholds you set.

The catch is that a default setup is either too noisy or too quiet. Teams either get so many alerts that they stop reading them, or set thresholds so high that a real spike slips through. This guide covers how detection works, which monitors to use, how to set thresholds, and where to send the alerts.

Key Highlights

  • Cost Anomaly Detection learns what normal spend looks like and alerts on deviations, so you don't have to predict every spike in advance.

  • AWS managed monitors can now track every account, tag value,e or cost category with a single monitor, which removes most of the setup work.

  • Combining a percentage threshold with a dollar threshold is the most effective way to cut false positives.

  • An alert is only useful if it reaches the team that owns the spend, so routing matters as much as detection.

How Does AWS Cost Anomaly Detection Work?

AWS Cost Anomaly Detection builds a baseline of normal spending for each thing you monitor, such as a service, an account, or a team's tag. When actual spend moves well outside that baseline, it records an anomaly, estimates the cost impact, and identifies up to two likely root causes.

A few mechanics shape how fast and how accurately it works:

  • It runs about three times a day, after AWS processes your billing data. That has been the case since May 2024. Before then, it ran once a day.

  • It depends on Cost Explorer data, which can lag by up to 24 hours. A spike may take up to a day to show up as an anomaly.

  • New monitors need a day to start, and a new service needs 10 days of spend history before anomalies on it can be detected.

  • It measures net unblended cost, meaning your costs after discounts are applied.

Which Cost Anomaly Detection Monitors Should You Use?

A monitor defines what Cost Anomaly Detection watches. There are two kinds.

AWS managed monitors track a whole dimension automatically and include new values as they appear:

  • AWS services: every service you use.

  • Linked accounts: every member account in your organization.

  • Cost allocation tag: every value of a tag key you choose, such as team or environment.

  • Cost category: every value in a cost category.

Since November 2025, a single managed monitor can cover all your linked accounts, all values of a tag, or all cost categories. Before that, tracking 500 teams by tag meant creating 500 separate monitors.

Customer managed monitors track specific values you pick, such as one critical production account or one team.

Three limits shape your setup:

  • Two managed monitors at most. Each management account can have one AWS services managed monitor plus one more AWS managed monitor for linked accounts, a tag, or a cost category.

  • Management account only. Monitors for linked accounts, tags,s and cost categories can only be created in the management account.

  • No conversion. You can't turn an existing customer-managed monitor into an AWS-managed one.

A practical starting setup:

  • An AWS services-managed monitor across the organization.

  • One more managed monitor on whatever matches your ownership model: linked accounts if teams own accounts, or a team tag if they share accounts. Tag-based monitoring only works if your cost allocation tags are activated and applied consistently.

  • Customer-managed monitors only for a few business-critical workloads that need tighter thresholds.

How Do You Set Up AWS Cost Anomaly Detection?

  1. Sign in to the management account so your monitors can cover the whole organization.

  2. Make sure Cost Explorer is enabled. Cost Anomaly Detection runs on its data.

  3. Open Cost Anomaly Detection in the Billing and Cost Management console and check for an existing monitor. Accounts that enabled Cost Explorer after March 2023 get a default monitor by service, with a daily email summary.

  4. Create your monitors. Choose "Managed by AWS," then pick the dimension: services, linked accounts, a tag key or a cost category.

  5. Create an alert subscription. Set a threshold as a dollar amount, a percentage, or both, using the guidance in the next section.

  6. Choose the alert frequency. Individual alerts go out as soon as an anomaly is detected, through Amazon SNS. Daily and weekly summaries go by email.

  7. Route the alerts to their owners, as described below.

  8. Review the detection history after two to four weeks, then adjust your thresholds based on what was useful and what was noise.

How Do You Set Thresholds That Aren't Too Noisy?

The threshold decides which anomalies trigger an alert. There are three options:

  • A dollar amount: alert when the impact is above, say, $100.

  • A percentage: alert when actual spend exceeds expected spend by, say, 20%.

  • Both: combine them with AND or OR. For example, "above 20% AND above $25."

Combining them is usually the best choice. A percentage alone fires on tiny swings in small services, and a dollar amount alone misses meaningful jumps in them.

Starting points by monitor type:

  • Organization-wide services monitor: a dollar threshold, delivered as a daily summary. A common starting point is 1-3% of the typical monthly spend the monitor covers.

  • Team or account monitors: a combined threshold, such as 20% AND $25, so small teams aren't flooded with alerts.

  • Critical production workloads: individual alerts through SNS, with a dollar threshold high enough that every alert is worth acting on.

  • Development and sandbox accounts: a weekly summary. Those spikes rarely need a same-day response.

To reduce false positives:

  • Split monitors by service, account or environment, so one noisy area doesn't drown out the rest.

  • Raise dollar thresholds above your normal day-to-day swings.

  • Use daily summaries instead of individual alerts where same-day action isn't needed.

  • Mark detected anomalies as accurate or not in the console. That feedback is recorded against each anomaly.

Where Should Cost Anomaly Alerts Go?

A finance inbox that nobody watches is where most anomaly alerts go to die. Send each alert to the people who can act on it:

  • Team channels: pair a tag or linked account monitor with an SNS topic per team.

  • Slack: SNS alerts can post to Slack through Amazon Q Developer in chat applications, which was formerly AWS Chatbot.

  • Incident tools: for production accounts, send SNS alerts to tools like ServiceNow or Jira, so a large anomaly becomes a ticket with an owner.

  • Finance: keep a daily or weekly summary for finance and FinOps, so they see the full picture without receiving every alert.

Why Didn't Cost Anomaly Detection Catch My Spike?

This is one of the most common questions about the service. The usual causes:

  • Timing. With data delays of up to 24 hours and checks three times a day, a spike may not be flagged until the next day.

  • Not enough history. A service with less than 10 days of spend data can't be evaluated yet.

  • A threshold set too high. The anomaly was detected but fell below your alert threshold. Check the detection history, not just your inbox.

  • Gradual increases. Slow, steady growth can become part of the learned baseline instead of standing out as an anomaly. Budgets are better at catching that.

  • Monitor scope. The spend sat outside what your monitors cover, such as an untagged resource in a tag-based monitor.

Conclusion

AWS Cost Anomaly Detection is free, quick to set up and much more useful since managed monitors started covering whole accounts, tags and cost categories. The difference between a helpful setup and an ignored one is tuning: combined thresholds, monitors that match how your teams own spend, and alerts that reach those teams directly. Detection only tells you something changed. The next step is finding out why, and a clear root-cause analysis process, from anomaly to fix, turns an alert into a resolved issue.

Want anomaly alerts that come with the resource, the change and the owner behind them? Book a 30-minute demo and see how Opsolute connects AWS cost spikes to the infrastructure changes that caused them.

FAQ

Is AWS Cost Anomaly Detection free?
Yes. There's no charge for monitors, alerts or root-cause analysis. It needs Cost Explorer enabled, which is also free. Only Cost Explorer API calls are billed.

How quickly does AWS Cost Anomaly Detection detect a spike?
It runs about three times a day after billing data is processed. Because Cost Explorer data can lag by up to 24 hours, most anomalies are flagged within a day of the spend.

How do you reduce false-positive alerts?
Combine a percentage threshold with a dollar threshold, split monitors by service, account or environment, set dollar thresholds above normal daily swings, and use daily summaries where immediate alerts aren't needed.

What's the difference between Cost Anomaly Detection and AWS Budgets?
Budgets alert when spend crosses a limit you set. Cost Anomaly Detection alerts when spend breaks from its learned pattern, even if you're still under budget. Most teams use both: Budgets for limits, Anomaly Detection for surprises.

Why didn't Cost Anomaly Detection catch my cost spike?
The most common reasons are data delays of up to 24 hours, a new service with less than 10 days of history, a threshold set above the anomaly's impact, gradual growth absorbed into the baseline, or spend outside your monitors' scope.

Related articles

Stop guessing what your AWS bill will be next quarter.

Connect your AWS Organization in under 30 minutes. Most customers see their first chargeback report in 14 days and realize a 5โ€“10ร— return on Opsolute within 90 days.

Illustration of a crystal ball containing AWS bills, cost charts, dollar signs, and question marks, representing future cloud cost forecasting.
Illustration of a crystal ball containing AWS bills, cost charts, dollar signs, and question marks, representing future cloud cost forecasting.