{"id":717,"date":"2017-11-02T10:17:03","date_gmt":"2017-11-02T10:17:03","guid":{"rendered":"http:\/\/wiki.thomasandsofia.com\/?p=717"},"modified":"2017-11-02T10:24:16","modified_gmt":"2017-11-02T10:24:16","slug":"simple-notification-service","status":"publish","type":"post","link":"https:\/\/wiki.thomasandsofia.com\/?p=717","title":{"rendered":"Simple Notification Service"},"content":{"rendered":"<p><a href=\"https:\/\/www.udemy.com\/aws-certified-solutions-architect-associate\/learn\/v4\/t\/lecture\/2050712?start=0\" target=\"_blank\" rel=\"noopener\">https:\/\/www.udemy.com\/aws-certified-solutions-architect-associate\/learn\/v4\/t\/lecture\/2050712?start=0<\/a><\/p>\n<h2>What is SNS<\/h2>\n<p>Simple Notification Service is a web service that makes it esy to set up, operate and send notifications from the cloud.\u00a0 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.<\/p>\n<p>Besides pushing cloud notifications directly to mobile dievices, SNS can also deliter notifications by SMS text message or email, to SQS queues, or to any HTTP endpoint.\u00a0 SNS notifications can also trigger Lambda functions.\u00a0 When a message is published to an SNS topic that has a Lambda function subscribed to it, the Lambda function is invoked with the payload of the published message.\u00a0 The Lambda function receives the message payload as an input parameter and can manipulate the information in the message, publish the message to other SNS topics, or send the message to other AWS services.<\/p>\n<p>SNS allows you to group multiple recipients using topics.\u00a0 A topic is an &#8220;access point&#8221; for allowing recipients to dynamically subscribe for identical copies of the same notification.\u00a0 One topic can support delivers to multiple endpoint types.\u00a0 For example, you can group together iOS, Android and SMS recipients.\u00a0 When you publish once to a topc, SNS delivers appropriately formatted copies of your message to each subscriber.<\/p>\n<h2>SNS Protocols<\/h2>\n<ul>\n<li>HTTP<\/li>\n<li>HTTPS<\/li>\n<li>Email<\/li>\n<li>Email-JSON<\/li>\n<li>Amazon SQS<\/li>\n<li>Application<\/li>\n<li>AWS Lambda<\/li>\n<\/ul>\n<h2>Use Cases<\/h2>\n<ul>\n<li>Auto Scaling<\/li>\n<li>Cloudwatch\n<ul>\n<li>Usage alerts<\/li>\n<li>Billing Alarms<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>SNS Benefits<\/h2>\n<ul>\n<li>Instantaneous, push based delivery (no polling!)<\/li>\n<li>Simple APIs and easy integration with applications<\/li>\n<li>Flexible message delivery over multiple transport protocols.<\/li>\n<li>Inexpensive, pay and you go model with no up front costs<\/li>\n<li>Web based AWS Management console offers the simplicity of a point and click interface.<\/li>\n<\/ul>\n<h2>SNS vs SQS<\/h2>\n<ul>\n<li>Both Messaging Services<\/li>\n<li>SNS=Push, SQS=Poll<\/li>\n<\/ul>\n<h2>Pricing<\/h2>\n<ul>\n<li>$0.50 \/ 1 million SNS Requests<\/li>\n<li>$0.06 \/ 100,000 HTTP notifications<\/li>\n<li>$0.75 \/ 100 SMS notifications<\/li>\n<li>$2.00 per 100,000 Email notifications<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/www.udemy.com\/aws-certified-solutions-architect-associate\/learn\/v4\/t\/lecture\/2050712?start=0 What is SNS Simple Notification Service is a web service that makes it esy to set up, operate and send notifications from the cloud.\u00a0 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. Besides pushing cloud ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/wiki.thomasandsofia.com\/?p=717\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,24],"tags":[],"class_list":["post-717","post","type-post","status-publish","format-standard","hentry","category-amazon-web-services-aws","category-messaging"],"_links":{"self":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/717","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=717"}],"version-history":[{"count":3,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/717\/revisions"}],"predecessor-version":[{"id":720,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/717\/revisions\/720"}],"wp:attachment":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}