{"id":660,"date":"2016-01-28T08:15:28","date_gmt":"2016-01-28T08:15:28","guid":{"rendered":"http:\/\/cloudkul.com\/blog\/?p=660"},"modified":"2025-02-06T09:06:15","modified_gmt":"2025-02-06T09:06:15","slug":"amazon-sns-engage-your-customers","status":"publish","type":"post","link":"https:\/\/cloudkul.com\/blog\/amazon-sns-engage-your-customers\/","title":{"rendered":"Amazon SNS : Engage Your Customers"},"content":{"rendered":"<p>Amazon SNS is a web service that coordinates and manages the delivery of messages to subscribing endpoints or clients.<\/p>\n<p>There are two types of clients in Amazon SNS: <strong>Publishers<\/strong> &amp; <strong>Subscribers<\/strong>.<\/p>\n<p>A publisher sends messages to topics that they have created or to topics they have permission to publish.<\/p>\n<p>Instead of including a specific destination address in each message, a publisher sends a message to the topic.<\/p>\n<p>Amazon SNS matches the topic to a list of subscribers who have subscribed to that topic and delivers the message to each of those subscribers.<\/p>\n<p>There are the following types of scenarios in which we need to notify our clients:-<\/p>\n<h2><strong>Applications and System Alerts<\/strong><\/h2>\n<p>These are simple notifications, triggered by a predefined threshold and sent to specified users via mail or SMS.<\/p>\n<p>Many cases require immediate notifications, such as changes to your <a href=\"https:\/\/cloudkul.com\/blog\/what-is-aws-auto-scaling\/\">AWS scaling group<\/a> or when disk usage exceeds a threshold.<\/p>\n<h2><strong>Push Emails and Text Messaging<\/strong><\/h2>\n<p>These are the simplest ways to transmit messages to individuals or groups.<\/p>\n<p>For example, you could use Amazon SNS to push targeted headlines, including exciting offers and discounts corresponding to your application, to the subscribers.<\/p>\n<p>Upon receiving the mail or sms, interested readers can choose to revert you for the same.<\/p>\n<h2><strong>Fanout in Amazon SNS<\/strong><\/h2>\n<p>The &#8220;fanout&#8221; scenario occurs when an Amazon SNS message is sent to a topic, which then replicates and pushes the message to multiple Amazon SQS queues, HTTP endpoints, or email addresses.<\/p>\n<p>For example, you could develop an application that sends a message to an SNS topic each time someone places an order for a product.<\/p>\n<p>Then, amazon SQS queues that are subscribed to those topics would identically receive notification for the new order.<\/p>\n<p>One<a href=\"https:\/\/cloudkul.com\/blog\/aws-ec2-and-its-pricing-plans\/\"> EC2 instance<\/a> can process the order, while the other analyzes it as a data warehouse.<\/p>\n<h2><strong>Mobile Push Notifications<\/strong><\/h2>\n<p>Mobile push notifications enable you to send notifications directly to mobile applications.<\/p>\n<p>You can send mobile notifications with a link to download and install the update when it&#8217;s available.<\/p>\n<ul>\n<li>Mobile push notifications engage customers when your app is currently not active.<\/li>\n<li>Users opt-in to receive them.<\/li>\n<li>Delivered to a specific application on a specific device.<\/li>\n<li>Short messages: read, ignore, or acknowledge to launch the app.<\/li>\n<\/ul>\n<h2>How does Amazon SNS work?<\/h2>\n<p>From a developer&#8217;s perspective, when you send a mobile notification, you address that message to a particular app on a specific device.<\/p>\n<p>The message is then sent directly, so the user doesn&#8217;t have to check for it, and the mobile app doesn&#8217;t have to pull it; instead, it arrives quickly and pops up on the user&#8217;s screen.<\/p>\n<p><a href=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2016\/01\/Platform-Service.png\" rel=\"attachment wp-att-678\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-678\" src=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2016\/01\/Platform-Service.png\" alt=\"Platform-Service\" width=\"848\" height=\"422\" \/><\/a><\/p>\n<p>To maintain this scenario, each mobile device uses a <strong>platform service<\/strong> that uses a persistent connection to send messages.<\/p>\n<p>As a developer, when you address a message to a device, you don&#8217;t send it directly to the device. Instead, you send the notification to a platform service, which then delivers it to the device.<\/p>\n<p>Hence, you don&#8217;t have to maintain hundreds or millions of simultaneous connections and you don&#8217;t need to hold on to messages to deliver them when the device is off.<\/p>\n<p>To implement this scenario, developers manage tokens for each device and must proactively swap or disable them based on the feedback<strong>.\u00a0<\/strong><\/p>\n<p>This platform service would require you to maintain the list of all the tokens of all the devices you haven&#8217;t authorized to send mobile notifications to and when the device is disabled.<\/p>\n<p>For example, if a user deletes your app or changes their device token, developers must update their databases to correctly address the list of allowed devices.<\/p>\n<p style=\"text-align: center;\"><!--more--><a href=\"http:\/\/cloudkul.com\/contact\/\" target=\"_blank\" rel=\"noopener\">IN CASE OF ANY QUERY, PLEASE CONTACT US <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Amazon SNS is a web service that coordinates and manages the delivery of messages to <a class=\"text-primary\" title=\"read more\" href=\"https:\/\/cloudkul.com\/blog\/amazon-sns-engage-your-customers\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":5,"featured_media":673,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Amazon SNS : Engage Your Customers - Cloudkul<\/title>\n<meta name=\"description\" content=\"Amazon SNS matches the topic to a list of subscribers who have subscribed to that topic and delivers the message to each of those subscribers.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudkul.com\/blog\/amazon-sns-engage-your-customers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Amazon SNS : Engage Your Customers - Cloudkul\" \/>\n<meta property=\"og:description\" content=\"Amazon SNS matches the topic to a list of subscribers who have subscribed to that topic and delivers the message to each of those subscribers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudkul.com\/blog\/amazon-sns-engage-your-customers\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudkul\" \/>\n<meta property=\"article:published_time\" content=\"2016-01-28T08:15:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-06T09:06:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2016\/01\/Amazon-SNS.png\" \/>\n\t<meta property=\"og:image:width\" content=\"848\" \/>\n\t<meta property=\"og:image:height\" content=\"422\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Naina Johari\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudkul.com\/blog\/amazon-sns-engage-your-customers\/\",\"url\":\"https:\/\/cloudkul.com\/blog\/amazon-sns-engage-your-customers\/\",\"name\":\"Amazon SNS : Engage Your Customers - Cloudkul\",\"isPartOf\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\"},\"datePublished\":\"2016-01-28T08:15:28+00:00\",\"dateModified\":\"2025-02-06T09:06:15+00:00\",\"author\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/38f7cddff574c7fe989d6ca2df61fc57\"},\"description\":\"Amazon SNS matches the topic to a list of subscribers who have subscribed to that topic and delivers the message to each of those subscribers.\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/amazon-sns-engage-your-customers\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudkul.com\/blog\/amazon-sns-engage-your-customers\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudkul.com\/blog\/amazon-sns-engage-your-customers\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Amazon SNS : Engage Your Customers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\",\"url\":\"https:\/\/cloudkul.com\/blog\/\",\"name\":\"Cloudkul\",\"description\":\"Host your eCommerce Store on AWS with Optimized Performance\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudkul.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/38f7cddff574c7fe989d6ca2df61fc57\",\"name\":\"Naina Johari\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c7a0be3afff58963975900f809e57046?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c7a0be3afff58963975900f809e57046?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"caption\":\"Naina Johari\"},\"url\":\"https:\/\/cloudkul.com\/blog\/author\/naina-johari379\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Amazon SNS : Engage Your Customers - Cloudkul","description":"Amazon SNS matches the topic to a list of subscribers who have subscribed to that topic and delivers the message to each of those subscribers.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudkul.com\/blog\/amazon-sns-engage-your-customers\/","og_locale":"en_US","og_type":"article","og_title":"Amazon SNS : Engage Your Customers - Cloudkul","og_description":"Amazon SNS matches the topic to a list of subscribers who have subscribed to that topic and delivers the message to each of those subscribers.","og_url":"https:\/\/cloudkul.com\/blog\/amazon-sns-engage-your-customers\/","og_site_name":"Cloudkul","article_published_time":"2016-01-28T08:15:28+00:00","article_modified_time":"2025-02-06T09:06:15+00:00","og_image":[{"width":848,"height":422,"url":"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2016\/01\/Amazon-SNS.png","type":"image\/png"}],"author":"Naina Johari","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudkul.com\/blog\/amazon-sns-engage-your-customers\/","url":"https:\/\/cloudkul.com\/blog\/amazon-sns-engage-your-customers\/","name":"Amazon SNS : Engage Your Customers - Cloudkul","isPartOf":{"@id":"https:\/\/cloudkul.com\/blog\/#website"},"datePublished":"2016-01-28T08:15:28+00:00","dateModified":"2025-02-06T09:06:15+00:00","author":{"@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/38f7cddff574c7fe989d6ca2df61fc57"},"description":"Amazon SNS matches the topic to a list of subscribers who have subscribed to that topic and delivers the message to each of those subscribers.","breadcrumb":{"@id":"https:\/\/cloudkul.com\/blog\/amazon-sns-engage-your-customers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudkul.com\/blog\/amazon-sns-engage-your-customers\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudkul.com\/blog\/amazon-sns-engage-your-customers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Amazon SNS : Engage Your Customers"}]},{"@type":"WebSite","@id":"https:\/\/cloudkul.com\/blog\/#website","url":"https:\/\/cloudkul.com\/blog\/","name":"Cloudkul","description":"Host your eCommerce Store on AWS with Optimized Performance","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudkul.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/38f7cddff574c7fe989d6ca2df61fc57","name":"Naina Johari","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c7a0be3afff58963975900f809e57046?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c7a0be3afff58963975900f809e57046?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","caption":"Naina Johari"},"url":"https:\/\/cloudkul.com\/blog\/author\/naina-johari379\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/660"}],"collection":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/comments?post=660"}],"version-history":[{"count":23,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/660\/revisions"}],"predecessor-version":[{"id":19775,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/660\/revisions\/19775"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media\/673"}],"wp:attachment":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media?parent=660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/categories?post=660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/tags?post=660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}