A company operates a dynamic application environment that exhibits highly variable and un-forecastable daily resource utilization. A SysOps administrator must implement a cost-monitoring solution capable of identifying sudden, unexpected cost anomalies in near-real-time. When an anomaly is detected with a cost impact exceeding a specific threshold, the solution must automatically execute an AWS Systems Manager (SSM) Automation runbook to stop the offending resources. Which solution should the SysOps administrator implement to meet these requirements?
- ACreate an AWS Budget with a daily cost limit that matches the baseline. Configure a budget action to execute the AWS Systems Manager Automation runbook when the actual cost exceeds the threshold by a static limit.
- BConfigure an AWS Cost Anomaly Detection monitor. Create an alert subscription in AWS Cost Anomaly Detection and select the AWS Systems Manager Automation runbook as the direct notification target.
- Configure an AWS Cost Anomaly Detection monitor. Create an Amazon EventBridge rule that matches AWS Cost Anomaly Detection alert events and targets the AWS Systems Manager Automation runbook.Answer
- DApply a custom billing tag to all application resources. Configure an AWS Cost Anomaly Detection monitor filtered by this tag. Create an Amazon EventBridge rule to route anomaly events to the Systems Manager Automation runbook, without activating the tag in the AWS Billing Console.
Answer
Configure an AWS Cost Anomaly Detection monitor. Create an Amazon EventBridge rule that matches AWS Cost Anomaly Detection alert events and targets the AWS Systems Manager Automation runbook.
The correct solution involves configuring an AWS Cost Anomaly Detection monitor to leverage machine learning, which dynamically adjusts baselines for un-forecastable daily usage patterns. Because AWS Cost Anomaly Detection automatically publishes anomaly events to Amazon EventBridge, creating an EventBridge rule that filters for these alerts and targets an AWS Systems Manager Automation runbook allows the system to execute remediations automatically when the cost anomaly exceeds the designated threshold.
Step-by-Step Solution
Key Concept
AWS Cost Anomaly Detection integration with EventBridge for automated remediation of variable workloads