Ensuring Technical Readiness For Copilot in Microsoft 365
Amazon_SNS.pptx
1. A M A Z O N
S I M P L E
N O T I F I C AT I O N
S E R V I C E
( SNS)
P R E S E N T E D B Y : -
N A M E : - A B H I S H E K
G O D S E
2. INDEX
Definition of SNS
Features of SNS
SNS Topic
Types of SNS Topics
SNS Clients
Benefits of SNS
SNS Pricing
SNS Security
3. WHAT IS AMAZON SNS?
Amazon Simple Notification Service (Amazon
SNS) is a managed service that provides
message delivery from publishers to subscribers
(also known as producers and consumers).
4. Publishers communicate asynchronously with subscribers by
sending messages to a topic, which is a logical access point
and communication channel.
Clients can subscribe to the SNS topic and receive published
messages using a supported endpoint type, such as Amazon
Kinesis Data Firehose, Amazon SQS, AWS Lambda, HTTP,
email, mobile push notifications, and mobile text messages
(SMS).
5. FEATURE OF AMAZON SNS
i. Automatic Scaling : It scales consequently if the number of
messages increases.
ii. Message Encryption : It provides encrypted topics to protect your
messages from unapproved and unknown access. The message
gets decrypted as they are delivered to subscribing endpoints.
iii. Message Filtering : It enables the subscriber to modify a filter policy
so that it only gets the notifications it is interested in.
6. iv. Message Fanout : It takes place when a message is sent to a
topic and then replicated and pushed to multiple endpoints.
Fanout gives asynchronous event notifications, which in turn
allows for parallel processing.
v. Mobile Notification : It can be activated by user-driven actions
within an application or from business logic within the cloud. It is
low-cost to fan out mobile push notifications for iOS, Android,
Fire OS, Windows, and Baidu-based devices.
vi. SNS & Email Messages : Amazon SNS provides the features to
send text messages and email (SMTP).
7. WHAT IS SNS TOPIC?
An Amazon SNS topic is a logical access point that acts as a
communication channel.
A topic lets you group multiple endpoints (such as AWS Lambda, Amazon
SQS, HTTP/S, or an email address).
8. TYPES OF AWS SNS TOPICS
There are 2 types of AWS SNS Topics:
I. Standard Topic
II. FIFO Topic
9. DIFFERENCE BETWEEN STANDARD AND FIFO TOPIC
• Standard Topic is used in many
scenarios where the order of
message is not important .
• FIFO Topic is used in messaging
between applications where the
order of operations and events is
critical.
• Standard Topic supports a
nearly unlimited number of
messages per second.
• FIFO Topic supports up to 300
messages per second or 10 MB
per second per FIFO topic.
10. • In a standard topic, a message is
delivered at least once, but there
might be more than one copy of a
message delivered.
• But in a FIFO topic, duplicate
messages are not delivered.
• In standard topic, each account
can support 100K standard topic
and each topic support up to
12.5M Subscriptions whereas.
• In FIFO topic, Each account can
support 1000 FIFO topics and
each topic supports up to 100
Subscriptions.
11. WHAT IS THE FORMAT OF AN AWS SNS TOPIC?
Topic names are restricted to 256 characters.
Alphanumeric characters plus hyphens (-) and underscores (_) are
allowed.
Topic names have to be unique within an AWS account.
After we delete a topic, you can reuse the topic name. When a topic is
created, Amazon SNS will assign a unique ARN (Amazon Resource
Name) to the topic, which will include the service name (SNS), region,
AWS ID of the user, and the topic name.
12. AMAZON SNS CLIENTS
There are two clients of SNS:
I. Subscribers : Subscribers receive the required message or
notification over one of the supported protocols (Amazon
SQS, email, Lambda, HTTP, SMS) when they are
subscribed to the topic.
II. Publishers : Publishers are also known as producers,
publishers communicate asynchronously with subscribers
by producing and sending a message to a topic, which is a
logical access point and communication channel.
SNS
Clients
Publishers
Subscriber
s
13. BENEFITS OF AWS SNS
1 . I n s t a n t a n e o u s D e l i v e r y : It is based on push-based delivery.
It is pushed once we publish the message on a topic and the
message is delivered to multiple subscribers.
2 . I n e x p e n s i v e : It is based on pay as you use the model, i.e.
we need to pay only when we are using the resources with
no up-front costs.
14. 3 . Flexible : It supports multiple endpoints. Various endpoint types
can receive the message over multiple transport protocols such as
email, SMS, Lambda, Amazon SQS, HTTP, etc.
4 . Eas e o f u s e : It is a very simple service to use as the Web-
based AWS Management Console offers the effortlessness of the
point-and-click interface.
5 . Simple Ar c hitec tur e : SNS is utilized to simplify the
messaging architecture by offloading the message filtering logic
from the subscribers and message routing logic from the
publishers. Rather than receiving all the messages from the topic,
SNS sends the message to subscriber-only of their interest.
16. AWS SNS PRICING
• By default, AWS SNS comes with a generous free tier, and it’s
also inexpensive.
• There is no need for a subscription, you simply pay for what
you use at the type of endpoint you choose.
• Each month we will get 1 million free mobile push
notifications.
• Afterwards, each delivered message is charged at $0.6 per
million, it also depends upon the region of your recipient.
Every time a 64KB portion of data is sent, it counts as one
request for billing purposes.
• To illustrate, if a message with a 256KB size is sent, it would
be charged as four requests.
17. AMAZON SNS SECURITY
SNS provides encrypted topics to protect messages from
unapproved and mysterious access. The encryption occurs on the
server-side.
Amazon SNS supports VPC Endpoints via AWS PrivateLink. We
can utilize VPC Endpoints to privately publish messages to SNS
topics, from a VPC, without traversing the public internet.
Utilizing access policies, you have point-by-point control over which
endpoints a topic allows, who is able to publish to a topic, and under
what conditions.
You can enable AWS X-Ray for your messages passing through
Amazon SNS, making it simpler to trace and analyze messages as
they travel through to the downstream services.