AWS Elastic Beanstalk via CloudWatch

Steps to configure AWS Elastic Beanstalk monitoring for incident management, using Squadcast

AWS Elastic Beanstalk is an easy-to-use service for deploying and scaling web applications and services developed with Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker on familiar servers such as Apache, Nginx, Passenger, and IIS.

Route detailed monitoring alerts from AWS Elastic Beanstalk via CloudWatch to the right users in Squadcast.

How to integrate AWS Elastic Beanstalk with Squadcast using Amazon CloudWatch

  1. Navigate to Services -> Service Overview -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click Add.

How to configure AWS Elastic Beanstalk integration in Squadcast

2. Select AWS Elastic Beanstalk via CloudWatch. Copy the displayed Webhook URL to configure it within AWS Elastic Beanstalk via CloudWatch. Finish by clicking Add Alert Source -> Done.

Steps to add AWS Elastic Beanstalk integration to a service in Squadcast

Create a Squadcast Webhook in Amazon SNS

Log in to your AWS account and proceed to Simple Notification Service - SNS

(1) From the sidebar on the left, select Topics

Create a Squadcast Webhook in Amazon SNS

(2) Click on Create Topic

Create a topic in Amazon SNS

Fill in the details as per your requirements and then click on Create Topic

(3) Now, click on Create Subscription

(4) Here, select the Protocol as HTTPS and under Endpoint, paste the previously copied Webhook URL from Squadcast

Note: Ensure that the Raw Message Delivery checkbox is disabled.

Finally, click on Create Subscription to create the subscription.

(5) The Subscription ID for this Subscription should immediately change from PendingConfirmation to Confirmed. Click on the refresh button to verify the same

Configure Amazon CloudWatch within AWS Elastic Beanstalk

(1) In AWS Elastic Beanstalk, within your Environment, navigate to Monitoring

Configure Amazon CloudWatch within AWS Elastic Beanstalk - within your Environment, navigate to Monitoring

(2) Click on the bell icon on the graphs for which you want to create an Alarm and route alerts to Squadcast

Configure Amazon CloudWatch within AWS Elastic Beanstalk - create an Alarm and route alerts to Squadcast

(3) Configure the required parameters in the Add Alarm dialog box. In the Notify drop-down, select the Subscription that was previously created. Under Notify when state changes to, enable OK and Alarm checkboxes. Finally, click on Add to create the Alarm

Add Alarm and Notify when state changes to, enable OK and Alarm checkboxes

That is it, you are now good to go!

Whenever an Alarm is triggered in AWS Elastic Beanstalk, an incident will be automatically created in Squadcast. Whenever, an Alarm is resolved in AWS Elastic Beanstalk, the corresponding incident is auto-resolved in Squadcast as well.

Last updated

Was this helpful?

#377: Key Based Deduplication

Change request updated