Anomaly management
Promptly detect, identify, alert on, and manage unexpected cloud cost and usage anomalies to reduce cost risks in cloud operations.
Detect anomalies
Identify tools to detect spending anomalies.
Identify and document how alerts are generated and recorded.
Identify and document how to determine the owner.
Establish a mechanism to promptly send alerts to relevant parties through appropriate channels.
Enable anomaly detection
Determine the information required for effective detection and provide feedback to the data ingestion process.
Develop policies for anomaly management.
Manage anomalies
Analyze detected anomalies.
Classify anomalies, manage false positives, and conduct investigations.
Record anomalies and their solutions.
Definition
Anomaly management enables the FinOps team to promptly detect, identify, clarify, alert on, and manage unexpected cloud cost events to minimize their business impact.
Anomaly management involves using tools or reports to identify unexpected spending, distribute anomaly alerts, and publish investigation and resolution reports for abnormal cloud usage and costs.
In the context of cloud FinOps, an "anomaly" describes a spending level—typically higher—that deviates from normal historical or expected spending patterns.
Anomaly detection identifies data points, events, and observations that deviate from the normal behavior of a dataset. Detection tools examine not only overall cloud usage but also usage within individual subcategories. To achieve accurate anomaly detection and better identify the best people to evaluate and resolve anomalies, effective allocation metadata is crucial.
To detect the specific causes of spending anomalies, it is essential to have anomaly detection tools with detailed cost information, such as by service, by account or project, and by cost allocation tag.
A standard process for anomaly detection and analysis is crucial for the FinOps team to respond quickly when anomalies occur. The process typically uses automated anomaly detection tools based on machine learning. These tools are often provided by cloud service providers and third-party platforms.
Like many FinOps capabilities, anomaly detection works by comparing current and past cloud usage. Therefore, a sudden spike in cloud usage or cost can still trigger an anomaly alert, even if the spending is expected. For example, an organization enables a new training environment, causing a sudden, significant increase in resource usage for an account that previously had no major costs. In such cases, it is normal for the team to receive an anomaly alert. The team should efficiently manage and record these alerts according to procedure to avoid unnecessary involvement from other roles.
The process of managing and resolving anomalies often involves some investigation. After the investigation, the organization can choose to adjust the cloud environment or the cost expectations for the affected scope. The organization might also simply confirm the anomaly and record the reason it was detected.
Maturity assessment
Crawl
Understand that spending anomalies can occur within the FinOps team and the organization.
Manually check for spending anomalies using reports.
React to anomalies a week after they occur, after receiving bill data.
Use budget alerts instead of an anomaly detection service.
Detection granularity is coarse—for example, limited to the account or project level without support for tags or other logical groups. Identified spending anomalies have limited context.
Anomaly alerts are sent to a central team or require manual action to view.
The central team manually investigates unexpected spending and informs the relevant owners to resolve it as needed.
Walk
Use tools for some level of automated detection and reporting, typically from cloud service providers, third parties, or custom development.
Most or all departments and teams understand and use anomaly detection tools.
Monitor thresholds within the environment, such as percentage change in spending, single-item spending caps, and predicted overspending alerts.
Cost allocation metadata provides context for anomaly analysis, helping to identify the specific circumstances of an anomaly.
Owner teams are automatically notified of unexpected spending.
Key teams in the organization set and use Key Performance Indicators (KPIs) related to anomaly management.
Record results and capture some details of alert outcomes.
Run
Use mature anomaly detection tools across the organization, integrated into the cloud cost management toolset.
Create automated programs to detect and alert on spending anomalies, providing recommendations or implementing solutions based on different environments and severity levels.
Integrate anomaly alerts of a certain scale or urgency into incident management or ticketing systems and processes.
Fine-grained, context-aware anomaly alert thresholds are directly associated with service components.
Iteratively update alert thresholds based on the service lifecycle.
Set different alerts and thresholds based on personnel and responsibility levels. For example, management, FinOps, engineering, and finance teams set different thresholds based on their roles and needs to decide when to take specific action and when to simply monitor.
Record the outcome and solution for every anomaly alert.
Conduct a full root cause analysis for anomalies when appropriate.
Analyze past anomaly solutions to improve future anomaly alerts.
Functional activities
FinOps practitioners
Define requirements for anomaly detection tools to ensure they can effectively define, optimize, and monitor cloud costs, and promptly identify and alert on unexpected cloud spending events (cost anomalies).
Define tool or process requirements for anomaly detection automation and anomaly recording, and integrate them into appropriate ticketing or process management systems.
Document and communicate anomaly detection mechanisms and thresholds to all stakeholders.
Collaborate with stakeholder teams to determine anomaly detection thresholds and reporting/notification frequency.
Ensure anomaly detection is effectively associated with cost allocation metadata. Provide feedback to the person responsible for the cost allocation capability when additional metadata is needed.
Ensure anomaly detection tools can access raw spending data in real time at the appropriate granularity and frequency.
Generate reports that show all or alerted spending anomalies.
Engineering
Ensure my team receives spending anomaly alerts.
Ensure my team understands the correct processes and action plans to respond to and resolve cloud cost anomalies.
Ensure appropriate metadata is applied to the resources I am responsible for to enable anomaly detection.
Provide feedback to the FinOps team on established thresholds and detection coverage.
Investigate and analyze monitored anomalies to understand their cause and scope. Record false positives or action plans.
Resolve the issues causing spending anomalies and record the solutions.
Notify other roles in advance of planned large-scale spending that might trigger anomaly alerts, such as the launch of a new environment.
Product
Monitor and investigate detected and alerted spending anomalies within my area of responsibility.
Collaborate with relevant engineering teams to help investigate and resolve anomalies, and document the solutions in detail.
Finance
Help set percentage thresholds for anomalies that trigger a financial review for timely forecast-to-actual analysis.
Reserve contingency funds in cloud cost forecasts to handle spending anomalies when spending trends exceed preset thresholds.
Management
Set percentage thresholds for anomalies to trigger timely action or early detection of potential issues.
Provide guidelines and support strategies related to Objectives and Key Results (OKRs) and KPIs. Require engineering and product teams to carry out anomaly management activities.
Success metrics and KPIs
Total number of anomalies that occur across the organization or within a specific scope over a period, such as a week or a month.
Ability to identify and judge spending anomalies, false negatives, and false positives based on consistent criteria.
Cost amount associated with anomaly alerts over a period, such as a week or a month. This represents the total anomaly detection scope.
Average time to detect an anomaly over a period, such as a week or a month. This records the efficiency and effectiveness of the tools used.
Average time to notify the anomaly owner over a period, such as a week or a month. This records the time from detection to confirmation by the owner.
Duration that an anomaly remains unresolved over a period, such as a week or a month. This measures the speed of anomaly resolution.
Time to investigate and resolve an identified anomaly. In many cases, the time spent investigating a true anomaly represents actual wasted cost.
Percentage of teams trained in anomaly management, including understanding how the variable cloud spending model can lead to anomalies, how to define an anomaly, who is responsible for it, and how to respond.
Number of anomalies acted upon and the amount of spending avoided by the next billing cycle. This represents the cost savings achieved by identifying and resolving spending anomalies before the bill is received.
Number of identified anomalies that were not acted upon, and the categorization of reasons for ignoring them, such as new services, performance testing, customer peaks, or false positives.
Number of alerts tracked that are temporarily ignored, used to identify teams that may not be complying with regulations or policies.
Percentage of anomalies managed using various automation tools. This records the effectiveness of automation implementation.
Inputs and outputs
Cloud cost and usage data provided by the Data ingestion capability.
Anomaly detection tools from cloud service providers, third-party vendors, or in-house development.
Cost allocation metadata that has been defined and meets the organization's reporting needs.
Allocation policies that assign cloud usage to owner teams.
Notifications of spending anomalies sent to stakeholder teams.
Cost and usage report data visible to stakeholders in real time.
Compliance and governance related to anomaly management expectations.
Recorded documentation of detection, analysis, and resolution processes and personnel expectations.
Requires the Reporting and analysis capability to investigate and analyze spending anomalies.
Requires Workload optimization to resolve spending anomalies caused by improper cloud usage or to shut down unused resources.