SNS


Simple Notification Service (SNS) is helpful, like SQS, to decouple events with messages. Let’s walk through an example.

Amazon SNS > Topics > Create Topic. Type is Standard (not FIFO), name is FirstTopic.

Next, we create a subscription:

I select Email and enter my email address. So the subscription is created. Right now we have a topic and a subscription. Now, we can test it by publishing a message to topic

First, though, I had to confirm the subscription by clicking a link in the provided email

And then, with the subscription confirmed, I published a message and it indeed was sent to my email box!


Leave a comment