Lab complete!
Now that you have completed this lab, make sure to update your Well-Architected review if you have implemented these changes in your workload.
Click here to access the Well-Architected Tool
As discussed in earlier sections of this lab, AWS Cost Anomaly Detection helps users prevent unexpected charges for their AWS accounts. It is achieved by:
This section guides you on how to create an additional alert subscription with Individual alert mechanism and attach it to the existing cost monitor.
To create a new alert subscription, go to Cost Anomaly Detection Overview page and select Alert subscriptions tab. Then click Create a subscription:
On the Create a subscription page, enter a subscription name and the select Individual alerts from Alerting frequency drop-down menu. If there is an existing SNS topic, enter the ARN in the Enter an Amazon SNS ARN:
If no SNS topic is available, search for Amazon SNS in AWS console to create a new one. Select Topics from the left navigation menu in Amazon SNS and click Create topic button.
On the Create topic page, FIFO (first-in, first-out) SNS type is selected by default. FIFO topics are helpful for use cases where message order needs to be preserved. For further details, refer to FIFO topics use case. For this lab, select Standard SNS type and enter a name. Keep all other options as default and click Create topic:
Create a subscription once the SNS topic is successfully created. Under the Subscriptions tab, click Create Subscription:
On the Create Subscription page, select Email under the Protocol drop-down menu and enter an email address in the text field under Endpoint. Then click Create Subscription at the bottom of the page to finish creating subscription:
At times, there is a requirement to alert multiple individuals or multiple teams such as FinOps, DevOps, SRE or Management team. In such a scenario, additional subscriptions can be created.
To send notifications, you must accept the subscription to the Amazon SNS notification topic.
Amazon SNS ARN is required to complete the rest of steps.
Now go back to the Create a subscription page where you left off at step 2 in Cost Anomaly Detection and enter SNS ARN you recorded:
Next, select a Threshold type and enter the threshold value. For example, we have selected an absolute threshold and set the value to 100. Under Cost monitors, select your pre-existing cost monitor and then click Create subscription.
While setting threshold value, customers must consider their individual use case and risk appetite.
Alert subscription details page shows that the subscription is successfully created with Individual alerts frequency.
Users also have the option to cost anomaly alerts in a Slack channel or an Amazon Chime chat room. For the details, refer to Receiving AWS Cost Anomaly Detection alerts in Amazon Chime and Slack
You have completed this section of the lab. In this section, you successfully created an alert subscription which leverages Amazon Simple Notification Service(SNS) to notify the subscribers every time an anomaly is detected.
Click on Next Step to continue to the next section.
Now that you have completed this lab, make sure to update your Well-Architected review if you have implemented these changes in your workload.
Click here to access the Well-Architected Tool