Follow the steps below to configure a service so as to extract its related alert data from Amazon CloudWatch. Squadcast will then process this information to create incidents for this service as per your preferences.
On the Sidebar, click on Services.
You can either navigate to an existing service or make a new one by clicking on “Add Service”.
Check the service details like name, description, and the associated escalation policy for this service and make sure it is correctly entered.
From the integration types drop down select the integration type as “Amazon CloudWatch”. You will be shown your Amazon CloudWatch Webhook URL.
Enter the service name and description as required and click on "Save" button to create the service.
Now log in to your AWS account and proceed to SNS.
Click on "Create topic" to get "Create new topic" dialog box. Fill in the details as per your requirements and then click on "Create topic"
Now inside the topic, click on "Create subscription" to get "Create subscription" dialog box. Select the protocol as "HTTPS" and in the endpoint enter the URL you obtained earlier. Finally, click on "Create subscription" to create the subscription.
The "Subscription ID" for the subscription should immediately change from "PendingConfirmation". Click on the refresh button to verify the same.
Now you can go to any of your AWS services for which you want to set the Alarm. We'll take the example of "EC2" in this case.
Right-click on your EC2 instance and go to "CloudWatch Monitoring". Click on "Add/Edit Alarms".
Click on "Create Alarm" and in the following dialog box for "Send a notification to" drop down, select the topic you created earlier. Configure the alarm as per your requirements and finally click on "Create Alarm". Now you will start receiving incidents on Squadcast whenever this Alarm moves to "ALARM" state.
Under "Actions", add a notification selecting "Whenever this alarm: State is OK" and "Send notification to:" as the topic you created earlier. Finally click on "Save Changes".
That's it your Amazon CloudWatch Integration is now good to go! Whenever an Alarm moves to OK state inside CloudWatch the corresponding incident will automatically be resolved in Squadcast.
Updated 8 months ago