AWS Logo

Amazon CloudWatch Integration Guide

Amazon CloudWatch is an observability tool that helps monitor AWS resources and services. It collects data, gains insights and helps track system changes across your AWS platform. It allows alerts to be set for certain metric thresholds. When metrics fall outside the threshold, alerts are triggerd.

Increase the effectiveness and visbility of these alerts with TaskCall's Amazon CloudWatch integration. Alerts will be received in TaskCall immediately after they trigger on CloudWatch, kicking off our powerful and persistent notification mechanism to bring the correct responders on-board and resolve it with urgency.

Pointers
  • The integration is between a TaskCall service and Amazon CloudWatch.
  • Incidents will automatically resolve in TaskCall when metrics fall back within the normal threshold.
  • This integration only receives alerts in TaskCall from Amazon CloudWatch.
In TaskCall
  1. Go to Configurations > Services . Select the service you want to integrate with.
  2. Once you are on the Service details page, go to the Integrations tab. Click on New Integration.
  3. Give the integration a name.
  4. From the integration types, select the top radio button indiciating that you are trying to use a built-in integration.
  5. From the list of built-in integrations, select Amazon Cloud Watch.
  6. Click Save.
  7. Copy the Integration Url that is issued for the integration.
In AWS
  1. First, we have to set up a notification service to send alerts to TaskCall. Type SNS (Simple Notification Services) in the search bar up top. Once you are on the SNS page, go to Topics > Create topic.
  2. Set the topic type to be Standard . Give it a name and a display name . Click Create topic.

    AWS CloudWatch Integration Step 1

  3. Once the topic is created, from the same page go to Subscriptions > Create subscription.
  4. For the Topic Arn select the topic you just created; set the protocol as HTTPS ; paste the Integration Url you copied over from TaskCall in the Endpoint. Nothing else needs to be added. Click Create subscription.

    AWS CloudWatch Integration Step 2

    Once the subscription is created, if the "Status" shows as "Pending confirmation", then refresh the page. It will update the status to "Confirmed".
  5. Go to your EC2 instances dashboard. Choose the instances you want to monitor by selecting their respective checkboxes. Then click on Actions > Monitor and troubleshoot > Manage CloudWatch alarms.
  6. Select the Create an alarm option; in the Alarm Notification section, select the SNS topic you created earlier; select the type of alarm you want to create and configure it. Then click Create.

    AWS CloudWatch Integration Step 3

  7. At this stage, we have set up CloudWatch to pass the alerts to TaskCall when they are triggered. We still need to configure it to re-notify TaskCall when the alarm resolves so that the incident created in TaskCall can also be automatically resolved.
  8. For this search for CloudWatch in the search bar and navigate to the Alarms page once you are there. You will see the alarm you created listed there. Click on it. Then click Actions > Edit.

    AWS CloudWatch Integration Step 4

  9. Once you are on the alarm's page, click Next to go to Alarm Configurations.
  10. Click Add notification .
  11. In the Alarm state trigger section, select the OK option. Choose the Select an existing SNS topic radio button. In the "Send a notification to" section, choose the SNS topic you created earlier.

    AWS CloudWatch Integration Step 5

  12. Click Update.
  13. Done! Now you have fully integrated Amazon CloudWatch with TaskCall. You will get alerted when alarms are raised and will also see the incidents resolve themselves when the alarms on CloudWatch revert to their normal state.
On this page