---
description: Set up a Topic and Subscription at AWS SNS Service
---

# AWS SNS

## Set up a SNS topic and Subscription

To Connect **SpaceONE's Alert Manager,** Set up AWS SNS's Topic and its Subscriptions

Please, Set SNS Topic and its Subscription for following Steps

* [Set up a Topic on AWS SNS](#set-up-a-topic-on-aws-sns)
* [Set up a Subscription on AWS SNS](#set-up-a-subscription-on-aws-sns)

### Set up a Topic on AWS SNS

**Step 1. Log in AWS Console > SNS > Topics**

![](https://402810733-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzBJTlSpVTrcscLp2gb%2F-MdFxwhnOtXD6g41bohe%2F-MdFy9RbUDVdQMdWU90O%2FScreen%20Shot%202021-06-28%20at%2013.54.56.png?alt=media\&token=31960b15-3718-48e7-935a-2c28f9946550)

**Step 2. Click `Create topic`**  **Button**

![](https://402810733-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzBJTlSpVTrcscLp2gb%2F-MdFxwhnOtXD6g41bohe%2F-MdFyoPh3BssFnQriGK3%2FScreen%20Shot%202021-06-28%20at%2013.57.52.png?alt=media\&token=9ad40219-0815-4f88-8d60-bf7d0b87934c)

**Step 3. Select `Standard`**  **options and Give name for new topic as below**

![](https://402810733-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzBJTlSpVTrcscLp2gb%2F-MdFxwhnOtXD6g41bohe%2F-MdG-3NNm28mO_4IVOU-%2FScreen%20Shot%202021-06-28%20at%2014.02.27.png?alt=media\&token=c4f43d50-40b2-45b4-a48f-bf4851e96269)

**Step 4. Check Topic is created successfully.**&#x20;

![](https://402810733-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzBJTlSpVTrcscLp2gb%2F-MdKdGtikApjKIw7FrtK%2F-MdKe0gNpifIF-jbw4Zf%2FScreen%20Shot%202021-06-29%20at%2011.41.33.png?alt=media\&token=945617f4-1e20-4ea7-b3d6-e7db15822b6a)

### Set up a Subscription on AWS SNS

Once Topic has created, as above. Please, set subscription.&#x20;

**Step 1. Log in AWS Console > SNS > Topics > Select Topic that you would like to set up a subscription and then Click  `Create subscription`**

![](https://402810733-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzBJTlSpVTrcscLp2gb%2F-MdKf6My_wdYtpMJtC_A%2F-MdKgDbtrM3n8xAOnw_T%2FScreen%20Shot%202021-06-29%20at%2011.48.57.png?alt=media\&token=1976a2b2-ba26-46d3-b5f3-662aeba6d68c)

**Step 2.  Type or select each required fields and Click `Create subscription`** **button to** **Create subscription**

* Protocol : HTTPS
* Endpoint : Webhook URL that you create from [**SpaceONE**](..#webhook-list)

![](https://402810733-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzBJTlSpVTrcscLp2gb%2F-MdKkjt8cvpK98WNdO4M%2F-MdL27shZ9NSorkfNGaR%2FScreen%20Shot%202021-06-29%20at%2013.32.56.png?alt=media\&token=6b96a9e6-b8d9-4498-aac4-f29f226c5502)

**Step 3.  Check created subscription under  AWS Console > SNS > Topics > AWS-SNS (Created Topic)**&#x20;

![](https://402810733-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzBJTlSpVTrcscLp2gb%2F-MdKkjt8cvpK98WNdO4M%2F-MdL9AVbKS5FxBKGfyD0%2FScreen%20Shot%202021-06-29%20at%2014.03.08.png?alt=media\&token=5cfa22ab-768f-4f13-8ac2-daf45a3c7196)

\
**Step 4. Check Status has changed after create a new subscription from `Pending confirmation`** to  **`Confirmed`** as below &#x20;

![](https://402810733-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzBJTlSpVTrcscLp2gb%2F-MdKkjt8cvpK98WNdO4M%2F-MdLB3gq04prDcdB3FHr%2FScreen%20Shot%202021-06-29%20at%2014.07.24.png?alt=media\&token=10d497a1-12bb-4222-940a-8e6ce346a4f7)

![](https://402810733-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzBJTlSpVTrcscLp2gb%2F-MdKkjt8cvpK98WNdO4M%2F-MdLBHd3WS0PL9IyBuFH%2FScreen%20Shot%202021-06-29%20at%2014.14.36.png?alt=media\&token=eba9dc46-cb98-41eb-a5a9-909b85c38fe1)

**Step 5. You are ready to get SNS message through Webhook once status updated as `Confirmed`**

![](https://402810733-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzBJTlSpVTrcscLp2gb%2F-MdKkjt8cvpK98WNdO4M%2F-MdLBkGri80qZIzD-Up-%2FScreen%20Shot%202021-06-29%20at%2014.16.38.png?alt=media\&token=e91644f4-09f8-4c46-86e2-aac56e3a6a75)
