Question

Difficulty: MediumAWS Cost Explorer and Cost Anomaly Detection

A company wants to implement a machine learning-based monitoring solution to identify unexpected cost spikes at the individual AWS service level. Once an anomaly is detected, the SysOps team needs to receive immediate notifications in their Microsoft Teams channel. Which of the following steps are required to implement this solution? (Select TWO.)

  1. Create an AWS services cost monitor in AWS Cost Anomaly Detection.Answer
  2. Create an alert subscription linked to the monitor, select an Amazon SNS topic as the alert destination, and configure AWS Chatbot to integrate the SNS topic with Microsoft Teams.Answer
  3. C
    Create an AWS Budget with a daily cost limit and link it directly to an AWS Chatbot client configured for Microsoft Teams.
  4. D
    Create an AWS Cost Anomaly Detection alert subscription and configure it to send notifications directly to a Microsoft Teams webhook URL.
  5. E
    Configure an Amazon EventBridge rule that detects AWS Config resource compliance changes and invokes an AWS Systems Manager Automation runbook to post alerts to Microsoft Teams.

Answer

To monitor individual service costs and alert via Microsoft Teams, you must create an AWS services cost monitor in AWS Cost Anomaly Detection, and create an alert subscription that routes notifications to an Amazon SNS topic, which AWS Chatbot then delivers to the Microsoft Teams channel.
To monitor anomalous spend at the service level, you must create an 'AWS services' monitor in AWS Cost Anomaly Detection. Because Cost Anomaly Detection alert subscriptions only support Amazon SNS and email as destinations, sending alerts to Microsoft Teams requires routing through an Amazon SNS topic. AWS Chatbot can then be configured to subscribe to this SNS topic and deliver the alerts directly to the designated Microsoft Teams channel.

Step-by-Step Solution

1
Configure the cost monitor
An AWS services cost monitor is created in AWS Cost Anomaly Detection to monitor spend patterns across individual AWS services using machine learning.
This establishes the detection mechanism tailored to individual service-level spend rather than total account spend or cost categories.
2
Configure the alert subscription
An alert subscription is created in AWS Cost Anomaly Detection and mapped to an Amazon SNS topic.
Since Cost Anomaly Detection subscriptions do not support direct webhook integrations, Amazon SNS must act as the message broker.
3
Configure the chat integration
AWS Chatbot is configured to target the Microsoft Teams channel and is subscribed to the Amazon SNS topic.
This enables AWS Chatbot to receive the cost anomaly events from SNS and formats them as rich alerts in Microsoft Teams.

Key Concept

Integrating AWS Cost Anomaly Detection with AWS Chatbot and Amazon SNS for automated chat-based alerting on service-level cost anomalies.
Rate this question