We talk about Fastly, a CDN based on the popular Varnish service, with many features that make it one of the most powerful and...
What is AWS SNS?macklus
Inside the Amazon Web Services, SNS is one of two services that deal with sending notifications.
SNS stands for Simple Notification Service, and is the name that best defines its function: sending notifications to subscribers quickly and reliably.
How does SNS work?
SNS is a completely unattended and managed service, which operates in high availability, and in a safe and durable manner.
The main advantage of SNS is that we do not need to know anything about its structure or operation, since it is designed so that our only job is to integrate our application with the SNS API , and SNS is responsible for all message distribution work.
In its most basic structure, we only need to create a Notification Theme (a subject on which we want to send messages, such as “Errors”, to warn of system errors), and to subscribe the points that will receive the notification. These points can be of different types:
- Amazon SQS
- AWS Lambda
What are the costs of SNS?
SNS is a service designed for the mass sending of messages that, like the rest of AWS services, has a very low cost, based on the volume of messages sent.
In addition, the free AWS layer for SNS includes the first million messages, which will be more than enough for basic uses of the service.
It is important to clarify that the sending of messages via SMS if it has a different cost (is charged for each SMS sent), due to the characteristics of this type of service.