How to configure alarm budget to my channel teams and tag me using AWS Chatbot?

0

SNS success publish test massage

I have successfully configured AWS Chatbot with Microsoft Teams, and the test message from the AWS Chatbot console is delivered properly to my Teams channel.

However, I encountered an issue when the AWS Budget alarm is triggered. The notification does not appear in the Teams channel configured via AWS Chatbot. Instead, the alert only shows up in AWS Cost Anomaly Detection.

Is there a specific configuration I need to ensure that AWS Budget alarms are sent to my Microsoft Teams channel and tag me (the user) in the message?

Thank you in advance for your support.

asked 22 days ago45 views
1 Answer
0
Accepted Answer

To configure AWS Budget alarms to be sent to your Microsoft Teams channel and tag you using AWS Chatbot, you need to follow these steps:

  1. First, ensure that you have properly set up your AWS Budget with the correct alert thresholds.

  2. When configuring your budget alerts, you need to add an Amazon SNS topic as an alert recipient. This is crucial for integrating with AWS Chatbot.

  3. Make sure the Amazon SNS topic you're using for budget notifications is the same one that's subscribed to AWS Chatbot for your Microsoft Teams channel.

  4. In your budget configuration, under "Notification preferences", look for the "Amazon SNS Alerts" option. Here, you should enter the Amazon Resource Name (ARN) of the SNS topic that's linked to your AWS Chatbot configuration.

  5. You may also see an option for "AWS Chatbot Alerts" in the budget configuration. If available, you can use this to directly configure alerts to be sent to your Microsoft Teams channel.

  6. To ensure you're tagged in the message, you might need to customize the SNS message format or use Amazon EventBridge rules to modify the notification before it's sent to Teams. This would allow you to include your Microsoft Teams mention in the message.

  7. After configuring these settings, test your setup by creating a CloudWatch alarm that will trigger quickly. This can help verify if the notifications are being properly routed to your Teams channel.

If you've followed these steps and are still not receiving notifications in your Teams channel, double-check the following:

  • Verify that the SNS topic ARN in your budget alert configuration matches the one subscribed to AWS Chatbot.
  • Ensure that AWS Chatbot has the necessary permissions to publish messages to your Teams channel.
  • Check if there are any delivery status errors in the SNS console for your topic.

Remember, it may take a short while for changes to propagate through the system. If issues persist, you may need to contact AWS support for further assistance.

Sources
Receiving budget alerts in chat applications - AWS Cost Management
Test notifications from AWS services to chat channels using CloudWatch - Amazon Q Developer in chat applications
Creating a cost budget - AWS Cost Management
Creating a usage budget - AWS Cost Management

profile picture
answered 22 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions