Skill 8.2.3
Automate budgets, alerts and anomaly detection
Key Concepts
Budgets set a threshold on actual or forecast spend for an account, service, tag or team, and notify owners at percentages such as 80% and 100%. Some services support budget actions that apply a policy or stop resources when a threshold is reached, which suits sandboxes and development accounts.
Anomaly detection uses machine learning or rules to find spend that deviates from the expected pattern, such as a runaway job or a misconfigured autoscaling group, often within a day. AWS Cost Anomaly Detection, Azure cost anomaly alerts and Google Cloud anomaly detection are native examples. Alerts should go to the team that can act, through its usual channel, with enough context to investigate.
Alerting must be tuned: too many alerts cause fatigue and are ignored; too few miss real problems. Alert thresholds should consider the absolute amount as well as the percentage change, and each alert should have a defined response process.