← Back to Risk Mitigation Techniques Risk Mitigation Techniques

Cost anomaly detection

Category
Detect
Creatures
Launchling (#0), Scalix (#2), Loopuff (#3)

Description

Automated detection of cost that deviates from the normal pattern, ideally at application level rather than only across the whole estate. It catches spikes and step changes without needing a pre-set budget.

How to apply it

  • Enable anomaly detection on application-level scopes as well as subscription level (Loopuff: "application level cost anomalies").
  • Treat it as a backstop alongside budget breach alerts.
  • Expect billing data lag and add metric-based monitoring for fast-moving workloads.

Examples

  • Launchling: a step change in spend on a subscription or resource group from a new environment is listed as a backstop detection.
  • Loopuff: a loop took a Logic App from 200 to 200k records per day and cost from $10 to $500 per month; unnoticed for weeks.
  • Scalix: defences list anomaly alerts as a backstop to instance-count monitoring.

Limitations

  • Depends on billing data, which lags (Scalix, Loopuff).
  • Gradual climbs do not look like anomalies: Loggle's rise from 25k to 50k per month was incremental and set off no alarms. Ghostdev's flat, modest cost also never alarmed.
  • Systems that "just work" (Loopuff) give no failure signal to prompt investigation.

Related techniques