Outgoing Amazon SNS Integration

Amazon SNS (Amazon Simple Notification Service) is a fast, flexible, fully managed push messaging service. Use SNS to push notifications to internet-connected smart devices, as well as other distributed services.

Amazon SNS makes it simple and cost-effective to push notifications to Apple, Google, Fire OS, and Windows devices, as well as Android devices in China with Baidu Cloud Push.

​What does Opsgenie offer Amazon SNS users?

When an alert is created, acknowledged, or closed etc., Opsgenie sends messages to an SNS topic and SNS delivers these messages to the subscribers of that topic to notify them. The subscribers of a topic are chosen as one of the following options: Sending email or SMS, invoking AWS Lambda function, or sending an HTTP request.

Functionality of the integration

When an alert is created, closed, acknowledged, etc. in Opsgenie, a message is published to Amazon SNS topic.

Configuring Outgoing Amazon SNS Integration

  1. Please create an Opsgenie account if you haven't done so already.
  2. Go to Opsgenie Outgoing Amazon SNS Integration page.
  3. Copy the account ID provided in order to allow Opsgenie to publish messages to the SNS Topic.
  4. Go to your own AWS account and select the topic to add permissions from SNS Topics page.
  5. From Actions, select Edit topic policy.
2802
  1. To allow which users to publish messages to the topic, select Only these AWS users and enter the account ID copied from Opsgenie.
1796
  1. Click Update policy.
  2. Copy the Topic ARN for that topic.
2780
  1. Go to the Outgoing Amazon SNS Integration page in Opsgenie and paste the ARN copied from Amazon SNS into Topic ARN field.
  2. Select the region from which the SNS topic was created in the AWS account.
  3. Click Save Integration.
2216

Example message data to be sent to SNS Topics for different actions are found in this document.