Links

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. 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
Important:
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.

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
Filling the topic details in Amazon SNS
(3) Now, click on Create Subscription
Create a Subscription in Amazon SNS
(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.
Configuring Amazon SNS Subscription: HTTPS protocol and Squadcast Webhook URL in create subscription
(5) The Subscription ID for this Subscription should immediately change from PendingConfirmation to Confirmed. Click on the refresh button to verify the same
Confirmation of Subscription: Verify immediate change from PendingConfirmation to Confirmed by refreshing the page

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.
Have any questions? Ask the community.