Amazon Cloudwatch (AWS) Integration
Effortlessly set up Amazon CloudWatch integration and send AWS alerts to Squadcast - A comprehensive guide to streamline incident management.
Follow these steps to configure a service and seamlessly transfer related alert data from CloudWatch.
Squadcast will process the information and create incidents based on your preferences.
- 1.Navigate to Services -> Service Overview -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click Add.
When an alert source turns Active, it’ll show up under Configured Alert Sources. You can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source. An Alert Source is active if there is a recorded incident via that Alert Source for the Service.
- 1.Now log in to your AWS account and proceed to SNS.
- 2.Click on "Create topic" to configure the display name and related details. Fill in the details as per your requirements and then click on "Create topic".
- 3.Now inside the topic, click on "Create subscription" to get "Create subscription" page. Select the protocol as "HTTPS" and in the endpoint enter the URL that was copied from Squadcast. Finally, click on "Create subscription" to create the subscription.
Ensure that the
Enable raw message Deliverycheckbox remains unchecked.
- 4.The "Subscription ID" for the subscription should immediately change from "PendingConfirmation" to "Confirmed". Click on the refresh button to verify the same.
- 5.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.
- 6.Right-click on your EC2 instance and go to "CloudWatch Monitoring". Click on "Add/Edit Alarms".
- 7.Click on "Create Alarm" and in the following dialog box for the "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 the "ALARM" state.
- 8.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".
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.