Amazon Simple Notification Service (SNS) is a highly available, durable, secure, fully managed pub/sub messaging service that enables you to decouple microservices, distributed systems, and serverless applications. Amazon SNS provides topics for high-throughput, push-based and many-to-many messaging.
Amazon SNS works on the concept of Publish-Subscribe model. Basically, there are two types of users in Amazon SNS – the publishers and the subscribers or producers and consumers. Publishers publish information on SNS, and Subscribers subscribe to receive information on topics of interest to them. Publishers or owners can create topics to which the consumers can subscribe. The publishers can grant or delete permissions, make modifications, set attributes for a topic, or delete a topic. They can also view a list of topics or the subscriptions for a topic. Subscribers can subscribe to a topic and view a list of subscriptions made by them.
Amazon SNS supports multiple protocols for publishing or receiving data. Information/data can be sent from or received on mobile devices using email, web service, SMS or Amazon SQS. Some of the supported services are:
The most secure and best way to ensure all data is processed and stored is to redirect all device topics data to Amazon SNS which is designed to handle data flood processing, ensuring that incoming-data is reliably maintained, processed and delivered to the proper channel. To make it more scalable, multiple SNS topics, SQS queue, Lambda for a different/group of AWS device topics can be used. One should consider storing the data in safe-storage like a Queue, Amazon Kinesis, Amazon S3, and Amazon Redshift before processing. This practice ensures no data loss due to message floods, un-wanted exception code or deployment issues.
Get the latest tips, software updates and promos.