Receiving AWS Cost Anomaly Detection alerts in Amazon Chime and Slack - AWS Cost Management

Receiving AWS Cost Anomaly Detection alerts in Amazon Chime and Slack

You can receive your AWS Cost Anomaly Detection alerts in Amazon Chime and Slack by using AWS Chatbot.

You can use AWS Chatbot to receive AWS Cost Anomaly Detection alerts directly into your designated Slack channel or Amazon Chime chat room.

To begin receiving your anomaly alerts in Slack and Amazon Chime
  1. Follow Getting started with AWS Cost Anomaly Detection to create a monitor.

  2. Create an alert subscription using the Individual alerts type. Amazon SNS topics can be configured for individual alerts only.

  3. Add an Amazon SNS topic as an alert recipient to a specific alert or alerts. To ensure that Cost Anomaly Detection has permissions to publish to your Amazon SNS topics, see Creating an Amazon SNS topic for anomaly notifications.

  4. Attach the alert subscription to the monitor that you want to receive Slack or Amazon Chime alerts for.

  5. Open the AWS Chatbot console.

  6. Choose either Slack or Amazon Chime as your chat client.

To configure a Slack channel
  1. Choose Configure new channel.

  2. Enter a Configuration name.

  3. Choose your Slack Channel ID.

  4. In the Permissions section, choose a Role setting. Role settings determine what permissions channel members have.

    • Channel IAM role: This role is appropriate if channel members need the same permissions.

    • User role: This role is appropriate if channel members require different permissions.

  5. (For Channel IAM role setting) Choose an existing IAM role for AWS Chatbot to assign or create a new IAM role.

  6. Choose a Policy template. By default, the Notification permissions template is selected.

  7. Choose a Channel Guardrail. Channel guardrails provide detailed control over what actions your channel members can take.

  8. Select an SNS topic.

    Note

    Amazon SNS topics are scoped to specific AWS Regions. Choose the appropriate Region to see a list of Amazon SNS topics that are available in that Region.

    Your Amazon SNS topic must match the Amazon SNS topic in the Begin receiving your anomaly alerts in Slack and Amazon Chime process (Step 3).

  9. Choose Configure.

To configure an Amazon Chime webhook
  1. Choose Configure a new webhook.

  2. Enter a Configuration name.

  3. Enter a Chime Webhook URL. You can identify a webhook URL by following the onscreen instructions.

  4. (Optional) Enter a description for your configuration.

  5. In the Permissions section, configure an IAM role. Choose an existing IAM role, or create a new IAM role.

  6. Enter a Role name.

  7. Choose a Policy template. By default, the Notification permissions template is selected.

  8. Select an SNS topic.

    Note

    Amazon SNS topics are scoped to specific AWS Regions. Choose the appropriate Region to see a list of Amazon SNS topics that are available in that Region.

    Your Amazon SNS topic must match the Amazon SNS topic in the Begin receiving your anomaly alerts in Slack and Amazon Chime process (Step 3).

  9. Choose Configure.