Demo nhỏ về AWS SNS và Lambda function integration

3rd Feb 2021
Table of contents

SNS = Simple Notification Service

I am going to demonstrate how we can integrate Lambda function with Simple Notification Service.

SNS is a notification service provided as part of Amazon Web Services. It provides a low-cost infrastructure for the mass delivery of messages, predominantly to mobile users.

From the sender's viewpoint, SNS acts as a single message bus that can message to a variety of devices and platforms.

SNS can also deliver messages by SMS to 200+ countries.

SNS = Simple Notification Service  I am going to demonstrate how we can integrate Lambda function with Simple Notification Service.  SNS is a notification service provided as part of Amazon Web Services. It provides a low-cost infrastructure for the mass delivery of messages, predominantly to mobile users.  From the sender's viewpoint, SNS acts as a single message bus that can message to a variety of devices and platforms.  SNS can also deliver messages by SMS to 200+ countries.  It uses the publish/subscribe model for push delivery of messages.  In AWS SNS, there are two types of clients Publishers  (Producers) Subscribers (Consumers) 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).  Subscribers Subscribers (that is, web servers, email addresses, Amazon SQS queues, AWS Lambda functions) consume or receive the message or notification over one of the supported protocols (that is, Amazon SQS, HTTP/S, email, SMS, Lambda) when they are subscribed to the topic.

It uses the publish/subscribe model for push delivery of messages.

In AWS SNS, there are two types of clients

  • Publishers  (Producers)
  • Subscribers (Consumers)

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).

Subscribers

Subscribers (that is, web servers, email addresses, Amazon SQS queues, AWS Lambda functions) consume or receive the message or notification over one of the supported protocols (that is, Amazon SQS, HTTP/S, email, SMS, Lambda) when they are subscribed to the topic.


Add new comment

Image CAPTCHA
Enter the characters shown in the image.

Related Articles

Hiện nay, việc quản lý các web applications khá là phức tạp, ví dụ bạn phải quản lý load balancer, vài web servers, database servers

In this video we'll be setting up a new React App with AWS Amplify to add Sign up, Login and Logout in the easiest way possible.

In this hands on workshop Amazon Developer Advocate Nader Dabit shows us how to get started with serverless GraphQL using AWS Amplify.