Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Amazon Web Services Bootcamp

You're reading from   Amazon Web Services Bootcamp Develop a scalable, reliable, and highly available cloud environment with AWS

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788294454
Length 338 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Sunil Gulabani Sunil Gulabani
Author Profile Icon Sunil Gulabani
Sunil Gulabani
Arrow right icon
View More author details
Toc

Protocols


The following are the protocols SNS supports for subscription:

  • AWS Lambda function: SNS topics allow us to add subscriptions for AWS Lambda. Any message published on SNS topic is delivered to the subscribed AWS Lambda so that it can process the message.
  • AWS SQS: AWS SQS can be subscribed to an SNS topic. AWS SNS and SQS work in a similar pattern, with the only difference being that SNS follows a push mechanism whereas SQS follows a poll mechanism. From SNS, we can send messages to one or more SQS. There will be another application which will poll SQS to read messages from SQS and process ahead.
  • HTTP/HTTPS: AWS SNS is able to send messages over HTTP/HTTPS using the POST method. While adding a subscription, it is mandatory that your HTTP/HTTPS endpoint is up and running, so that SNS will send the subscription confirmation URL. Using this subscription confirmation URL, we (the endpoint) confirms that SNS topic is allowed entry to push messages to this HTTP/HTTPS endpoint. An HTTP endpoint...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime