Connect AWS Amazon CloudWatch to All Quiet

Image

Published: Monday, 16 October 2023

🚀 In under 3 min: Connect Your AWS Amazon CloudWatch Alerts to All Quiet.

Introduction

In this guide, we'll demonstrate how you can easily connect AWS Amazon CloudWatch to All Quiet, enhancing your alerting management capabilities and ensuring a smoother response to critical incidents.

Step 1: Create Your AWS Amazon CloudWatch Integration on All Quiet

Login into your All Quiet account.

Create AWS Amazon CloudWatch Integration

  1. Click on Integrations to navigate to the integrations page.
  2. Click on "Create New Integration" to create a new integration.
Create AWS Amazon CloudWatch Integration
  1. Enter a display name for your integration, e.g. "AWS CloudWatch Integration".
  2. Select a team.
  3. Select "AWS Amazon CloudWatch" as the type.
  4. Click "Create integration".
Configure AWS Amazon CloudWatch Integration

Copy Webhook URL

  1. Now that you've successfully created your AWS Amazon CloudWatch Integration, make sure to copy the webhook URL for later.
  2. AWS SNS requires HTTPS subscriptions ("Webhooks") to be confirmed by the subscriber. This is done by visiting a subscription URL which AWS sends to the webhook in a payload. All Quiet automatically confirms this URL.
    When you've just created your AWS Amazon CloudWatch Integration the confirmation status will be pending.
Copy Webhook URL

Step 2: Setup Your AWS CloudWatch Alarms

Login into your AWS console.

Create SNS Topic

  1. In the AWS "Simple Notification Service" (SNS) section, navigate to "Topics".
  2. Click on "Create topic" to create a new topic which will be used as a destination for your CloudWatch alarms.
Create SNS Topic
  1. Select "Standard" as the topic type.
  2. Choose a name for your new topic, e.g. "AllQuiet-CloudWatch-Topic".
  3. Click "Create topic" to create a topic.
Configure SNS Topic

Create SNS HTTPS Subscription

  1. Now that you've created a topic, you need to create a subscription to this topic. Click "Create subscription".
Create SNS HTTPS Subscription
  1. Select "HTTPS" as the protocol of your new subscription.
  2. Paste the Webhook URL that you've copied in step 1.2.
  3. Click "Create subscription".
Configure SNS HTTPS Subscription
  1. Navigate back to you All Quiet Integration that you've created in step . It should show that the subscription has been confirmed successfully.
Subscription Confirmation

Configure AWS CloudWatch Alarms

Navigate to CloudWatch > Alarms in your AWS console.

  1. Choose "Select an existing SNS topic" when creating or editing your AWS CloudWatch alarms.
  2. Choose the SNS topic that you've created before.
Configure AWS CloudWatch Alarm

Step 3: Test Your AWS Amazon CloudWatch Integration

You're almost done. 🥳 The next steps are merely there to verify if everything's setup correctly!

Navigate back to your Webhook that you've created in 1.1

  1. Click Reload to load your latest payloads.
  2. Click ← Select to load the latest payload from your alarm. Be aware that the very first payload Amazon SNS will send you is the subscription confirmation message. This payload won't map correctly to All Quiet's incidents. If you haven't received a payload from a real alarm yet, you can use the default example payload that is prefilled.
  3. You can see how the mapping will transform this AWS Amazon CloudWatch payload to an All Quiet incident.
Test All Quiet Webhook

Congratulations! 🥳

By connecting AWS Amazon CloudWatch to All Quiet, you've enhanced your incident management workflow with powerful monitoring capabilities and simplified incident escalation & management.

Read all blog posts and learn about what's happening at All Quiet.