SNS and Elastic Transcoder Aws
SNS and Elastic Transcoder Aws
BUSINESS SKILLS
TOPIC- Simple Notification Services & Elastic
Transcoder
SUBMITTED TO- SUBMITTED BY-
GAYATRI MAM JAIVINDER
ROLLNO-180011015024
CLASS-BTECH 3RD YEAR
What is SNS?
Amazon Simple Notification Service (Amazon SNS) is
a fully managed messaging service for both
application-to-application (A2A) and application-to-
person (A2P) communication.
The A2A pub/sub functionality provides topics for
high-throughput, push-based, many-to-many
messaging between distributed systems,
microservices, and event-driven serverless
applications. The A2P functionality enables to send
messages to users at scale via SMS, mobile push,
and email.
Simple Notification Services in AWS
Developers can get started with Amazon SNS by using just three APIs:
1. Create Topic
2. Subscribe
3. Publish.
Additional APIs are available, which provide more advanced functionality.
Amazon SNS allows you to group multiple recipients using topics where
the topic is a logical access point that sends the identical copies of the
same message to the subscribe recipients.
Amazon SNS supports multiple endpoint types. For example, you can
group together IOS, Android and SMS recipients. Once you publish the
message to the topic, SNS delivers the formatted copies of your messa-
ge to the subscribers.
To prevent the loss of data, all messages published to SNS are stored
redundantly across multiple availability zones.
Message Sending Using SNS :
SNS Publishers and Subscribers
Amazon SNS is a web service that manages sending messages
to the subscribing endpoint. There are two clients of SNS:
1. Publishers
Publishers are also known as producers that produce and send the
message to the SNS which is a logical access point.
2. Subscribers
Subscribers such as web servers, email addresses, Amazon SQS
queues, AWS Lambda functions receive the message or notification
from the SNS over one of the supported protocols (Amazon SQS,
email, Lambda, HTTP, SMS).
Benefits of SNS
Benefits of SNS
1. Instantaneous delivery
SNS is based on push-based delivery. This is the key
difference between SNS and SQS. SNS is pushed once
you publish the message in a topic and the message is
delivered to multiple subscribers.
2. Flexible
SNS supports multiple endpoint types. Multiple endpoint
types can receive the message over multiple transport
protocols such as email, SMS, Lambda, Amazon SQS,
HTTP, etc.
3. Inexpensive
SNS service is quite inexpensive as it is based on pay-as-
you-go model, i.e., you need to pay only when you are
using the resources with no up-front costs.
Benefits of SNS (Cont.):
4. Ease of use
SNS service is very simple to use as Web-based
AWS Management Console offers the simplicity of
the point-and-click interface.
5. Simple Architecture
SNS is used to simplify the messaging architecture
by offloading the message filtering logic from the
subscribers and message routing logic from the
publishers. Instead of receiving all the messages
from the topic, SNS sends the message to
subscriber-only of their interest.
Differences b/w SNS and SQS
SNS stands for Simple Notification Service while SQS
stands for Simple Queue Service.
SQS is a pull-based delivery, i.e., messages are not pushed
to the receivers. Users have to pull the messages from the
Queue. SNS is a push-based delivery, i.e., messages are
pushed to multiple subscribers.
In SNS service, messages are pushed to the multiple
receivers at the same time while in SQS service, messages
are not received by the multiple receivers at the same
time.
SQS polling introduces some latency in message delivery
while SQS pushing pushed the messages to the
subscribers immediately.
What is Elastic Transcoder?
Elastic Transcoder is an aws service used to convert the
media files stored in an S3 bucket into the media files in
different formats supported by different devices.
Elastic Transcoder is a media transcoder in the cloud.
It is used to convert media files from their original source
format into different formats that will play on
smartphones, tablets, PC's, etc.
It provides transcoding presets for popular output formats
means that you don't need to guess about which settings
work best on particular devices.
If you use Elastic Transcoder, then you need to pay based
on the minutes that you transcode and the resolution at
which you transcode.
Components of Elastic Transcoder
Elastic
Transcoder
components: