AWS Cloudwatch Integration Guide
Amazon CloudWatch is a monitoring and management service built for developers, system operators, site reliability engineers (SRE), and IT managers.
What can Zenduty do for AWS CloudWatch users?
With AWS CloudWatch's Integration, Zenduty routes new CloudWatch alarm alerts to the right team and notifies them based on on-call schedules via email, text messages(SMS), phone calls(Voice), Slack, Microsoft Teams and iOS & Android push notifications, and escalates alerts until the alert is acknowledged or closed. Zenduty provides your NOC, SRE and application engineers with detailed context around the CloudWatch alert along with playbooks and a complete incident command framework to triage, remediate and resolve incidents with speed.
Whenever a CloudWatch alarm is triggered(in the ALARM or INSUFFICIENT states), Zenduty will create an incident. When that alarm returns to the OK state, Zenduty will auto-resolve the incident.
You can also use Alert Rules to custom route specific CloudWatch alerts to specific users, teams or escalation policies, write suppression rules, auto add notes, responders and incident tasks.
To integrate AWS CloudWatch with Zenduty, complete the following steps:
Configuration in Zenduty
-
To add a new AWS CloudWatch integration, go to Teams on Zenduty and click on the team you want to add the integration to.
-
Next, go to Services and click on the relevant Service.
-
Go to Integrations and then Add New Integration. Give it a name and select the application AWS CloudWatch from the dropdown menu.
-
Go to Configure under your integrations and copy the Webhook URL generated.
Configuration in AWS CloudWatch
-
Login to your AWS account. Go to your SNS dashboard. On the left panel, click on Topics. Click on Create topic. For topic and display names, enter Zenduty.
-
Go back to the SNS dashboard and click on Create Subscription.
-
In the Topic ARN, choose the topic created in Step 3. Select the protocol as HTTPS. In the endpoint field, paste the URL you copied earlier.
[Important: Keep the "Enable raw message delivery" as unchecked.]
-
Click on Create Subscription to find a list of your subscriptions. Refresh this page to confirm.
-
You can now create alarms to the topic.
-
While creating Alarm rules, choose the above created SNS topic for notifying in both the ALARM state and OK state as displayed in the screenshot below.
-
Zenduty will create an incident for each alarm and auto-resolve the incident when Cloudwatch sends the OK notification.