Make sure you have the service and integration already setup for AWS. Follow the link below on instructions of how to create integration and service
Login to your AWS console and head straight to Simple Notification Service (SNS).
We will create a topic in SNS which will be available across AWS services.
After your subscription is made, you will be taken to the topic's detail page. Refresh the page to make sure that the status will be confirmed for the subscription. If that fails to happen, you can click on the topic page and ask to request confirmation.
Click on Create topic and name your topic on the next page.
Once the topic is created, you will need to create a subscription (this is where you paste the webhook you copied from Step 1)
Once you created a topic, you will see your topic page like this
Select HTTPS as the protocol and paste the copied webhook into the endpoint and click on create subscription at the bottom. Selecting HTTPS is mandatory. Spike will automatically confirm the subscription for you.
If the status has not changed then inside the topic, can find the subscription. Select it and request for confirmation.
We will use the above topic to receive incidents by creating alarms on Cloudwatch. We will also dive into setting up incident alarms directly from EC2.
Navigate to Cloudwatch on your AWS console
Select alarms and then create alarm
We recommend you select an alarm which is BAD. This will trigger and actually register a new incident. Spike is soon bringing in support for OK and GOOD state.
Make sure to choose the newly created service at the bottom in the ACTIONS section.
When you click on choose metric, you might see more or less services than our dashboard and that is completely fine. Choose as and many metrics you would like.
We will setup incident alerts for EC2 as an example here -
Follow these steps below once you have selected instance from sidebar on EC2 -
Select an instance
Go to Actions
Once you see the above popup, make sure to select the SNS topic you created in Step 2. Fill in the details for your alarm.
As an example, we have created a simple alarm for when the CPU Utilization crosses 60% on our EC2 instance.
How many services and integrations can i create on Spike?
How many escalation policies can i have on Spike?
How many SNS topics can i create on AWS?
At Spike, we are working hard to integrate with all the tools your business uses. We are on a mission to help you identify incidents/crashes/spikes before your customers do.
If you have an integration in mind and would like us to build it for you then contact us at email@example.com.