Amazon Simple Notification Service (SNS) | Overview Flashcards

1
Q

What is Amazon Simple Notification Service (Amazon SNS)?

Overview

Amazon Simple Notification Service (SNS) | Application Integration

A

Amazon Simple Notification Service (Amazon SNS) is a web service that makes it easy to set up, operate, and send notifications from the cloud. It provides developers with a highly scalable, flexible, and cost-effective capability to publish messages from an application and immediately deliver them to subscribers or other applications. It is designed to make web-scale computing easier for developers. Amazon SNS follows the “publish-subscribe” (pub-sub) messaging paradigm, with notifications being delivered to clients using a “push” mechanism that eliminates the need to periodically check or “poll” for new information and updates. With simple APIs requiring minimal up-front development effort, no maintenance or management overhead and pay-as-you-go pricing, Amazon SNS gives developers an easy mechanism to incorporate a powerful notification system with their applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How can I get started using Amazon SNS?

Overview

Amazon Simple Notification Service (SNS) | Application Integration

A

You can create an Amazon SNS topic and publish messages in a few steps by completing our 10-minute tutorial, Send Fanout Notifications.

For additional detail, see the Amazon SNS Developer Guide, and sample code in the Resource Center.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the benefits of using Amazon SNS?

Overview

Amazon Simple Notification Service (SNS) | Application Integration

A

Amazon SNS offers several benefits making it a versatile option for building and integrating loosely-coupled, distributed applications:

Instantaneous, push-based delivery (no polling)

Simple APIs and easy integration with applications

Flexible message delivery over multiple transport protocols

Inexpensive, pay-as-you-go model with no up-front costs

Web-based AWS Management Console offers the simplicity of a point-and-click interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are some example uses for Amazon SNS notifications?

Overview

Amazon Simple Notification Service (SNS) | Application Integration

A

The Amazon SNS service can support a wide variety of needs including event notification, monitoring applications, workflow systems, time-sensitive information updates, mobile applications, and any other application that generates or consumes notifications. For example, Amazon SNS can be used in workflow systems to relay events among distributed computer applications, move data between data stores or update records in business systems. Event updates and notifications concerning validation, approval, inventory changes and shipment status are immediately delivered to relevant system components as well as end-users. A common pattern is to use SNS to publish messages to Amazon SQS message queues to reliably send messages to one or many system components asynchronously. Another example use for Amazon SNS is to relay time-critical events to mobile applications and devices. Since Amazon SNS is both highly reliable and scalable, it provides significant advantages to developers who build applications that rely on real-time events.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does Amazon SNS work?

Overview

Amazon Simple Notification Service (SNS) | Application Integration

A

It is very easy to get started with Amazon SNS. Developers must first create a “topic” which is an “access point” – identifying a specific subject or event type – for publishing messages and allowing clients to subscribe for notifications. Once a topic is created, the topic owner can set policies for it such as limiting who can publish messages or subscribe to notifications, or specifying which notification protocols will be supported (i.e. HTTP/HTTPS, email, SMS). Subscribers are clients interested in receiving notifications from topics of interest; they can subscribe to a topic or be subscribed by the topic owner. Subscribers specify the protocol and end-point (URL, email address, etc.) for notifications to be delivered. When publishers have information or updates to notify their subscribers about, they can publish a message to the topic – which immediately triggers Amazon SNS to deliver the message to all applicable subscribers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How is Amazon SNS different from Amazon SQS?

Overview

Amazon Simple Notification Service (SNS) | Application Integration

A

Amazon Simple Queue Service (SQS) and Amazon SNS are both messaging services within AWS, which provide different benefits for developers. Amazon SNS allows applications to send time-critical messages to multiple subscribers through a “push” mechanism, eliminating the need to periodically check or “poll” for updates. Amazon SQS is a message queue service used by distributed applications to exchange messages through a polling model, and can be used to decouple sending and receiving components. Amazon SQS provides flexibility for distributed components of applications to send and receive messages without requiring each component to be concurrently available.

A common pattern is to use SNS to publish messages to Amazon SQS queues to reliably send messages to one or many system components asynchronously.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How is Amazon SNS different from Amazon MQ?

Overview

Amazon Simple Notification Service (SNS) | Application Integration

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Amazon MQ, Amazon SQS, and Amazon SNS are messaging services that are suitable for anyone from startups to enterprises. If you’re using messaging with existing applications, and want to move your messaging to the cloud quickly and easily, we recommend you consider Amazon MIt supports industry-standard APIs and protocols so you can switch from any standards-based message broker to Amazon MQ without rewriting the messaging code in your applications. If you are building brand new applications in the cloud, we recommend you consider Amazon SQS and Amazon SNS. Amazon SQS and SNS are lightweight, fully managed message queue and topic services that scale almost infinitely and provide simple, easy-to-use APIs. You can use Amazon SQS and SNS to decouple and scale microservices, distributed systems, and serverless applications, and improve reliability.

Overview

Amazon Simple Notification Service (SNS) | Application Integration

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How can I get started using Amazon SNS?

Overview

Amazon Simple Notification Service (SNS) | Application Integration

A

To sign up for Amazon SNS, click the “Sign up for Amazon SNS” button on the Amazon SNS detail page. You must have an Amazon Web Services account to access this service; if you do not already have one, you will be prompted to create one when you begin the Amazon SNS sign-up process. After signing up, please refer to the Amazon SNS documentation and Getting Started Guide to begin using Amazon SNS. Using the AWS Management Console, you can easily create topics, add subscribers, send notifications, and edit topic policies – all from your browser.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Is Amazon SNS supported in the AWS Management Console?

Overview

Amazon Simple Notification Service (SNS) | Application Integration

A

Amazon SNS is supported in the AWS Management Console which provides a point-and-click, web-based interface to access and manage Amazon SNS. Using the AWS Management Console, you can create topics, add subscribers, and send notifications – all from your browser. In addition, the AWS Management Console makes it easy to publish messages to your endpoint of choice (HTTP, SQS, Lambda, mobile push, email, or SMS) and edit topic policies to control publisher and subscriber access.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the Amazon SNS service access points in each region?

Overview

Amazon Simple Notification Service (SNS) | Application Integration

A

Please refer to the AWS Regions and Endpoints section of the AWS documentation for the latest list of all Amazon SNS service access points.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly