Sunday, February 26, 2017

SNS

Fast , Reliable , can send  individual or large receive messages

SNS - Simple notification service. Notification service allows us to send notifications

Publish subscribe paradigm  - We need add the Users or service as subscriptions to a topic. And then if it is Email the Subscriber will get a notification and he need to confirm it, to subscribe to the topic, then only the Subscriber will get a message.


Topic name is unique when created ARN ( amazon resource name ) will be assigned


We can Add multiple type of subscriptions to a topic. For eg: An Email and a notification to a SQS for a single topic.

TTL – default 4 weeks



Delivery status feature – Today we released a new feature for Amazon SNS that enables developers to collect feedback on successful and unsuccessful delivery attempts of their messages to mobile push notification platforms (Apple (APNS), Google (GCM), Amazon (ADM), Windows (WNS and MPNS) and Baidu)

Published message can’t be deleted

Publish Message Option


Publishers send messages to topics. Once a new message is published, Amazon SNS attempts to deliver that message to every endpoint that is subscribed to the topic. In this section you publish a message to the email address you defined in the previous task.

Supported & Un Supported Protocol's

Supported protocol – HTTP, HTTPS, Email, JSON, SQS, SMS, VOIP.

Un Supported protocol  - Blackberry device and MMS and Two Way SMS are not supported by SNS

Billing


Each 64 chunk is billed as 1 request so 256 KB is 4 request

Known Errors 


1) Unable to validate the following destination configurations. Permissions on the destination topic do not allow S3 to publish notifications from this bucket 

Ans: Means the bucket does not have permission to the topic, we need to edit the topic policy and add permission to the respective group in the conditions field

No comments:

Post a Comment