Amazon Web Services Integration Guide
Prerequisites
Before you begin, ensure you have the following:
- An Amazon Web Services account with access to CloudWatch.
- The webhook endpoint URL for the alert group in Alertu you want to integrate with.
Setup Steps
Follow these steps to integrate Amazon Web Services alerts with Alertu:
Access SNS: In the AWS Management Console, navigate to Simple Notification Service (SNS).
Create a Topic:
- Click “Create topic” in the SNS dashboard.
- Choose “Standard” as the type.
- Provide a name for your topic (e.g., “AlertuIntegration”).
- Configure other settings as needed and click “Create topic”.
Create a Subscription:
- In your newly created topic, click “Create subscription”.
- Select “HTTPS” as the Protocol.
- Enter the webhook endpoint URL from your Alertu alert group in the Endpoint field.
- Click “Create subscription”.
Configure CloudWatch Alarm:
- Navigate to CloudWatch in the AWS Management Console.
- Create a new alarm or edit an existing one.
- In the “Actions” section, select “Send notification to SNS topic”.
- Choose the SNS topic you created for Alertu integration.
Test the Integration (Optional):
- In the SNS dashboard, select your topic.
- Click “Publish message” to send a test notification.
- If successful, you should receive a notification in Alertu, confirming the integration. 🎉
Verification
After setting up the integration:
- Trigger a test alarm in AWS CloudWatch.
- Verify that you receive a notification for the alert in Alertu.
- Check that all expected alert details are correctly displayed in Alertu.
Troubleshooting
If you don’t receive alerts in Alertu:
- Confirm that the SNS subscription status is “Confirmed”.
- Double-check the webhook URL in the SNS subscription.
- Ensure your CloudWatch alarms are correctly configured to use the SNS topic.
- Verify that the Alertu alert group is set up to receive AWS alerts.