Posts

Showing posts with the label sns

Guide to Using AWS SNS and SQS

Image
Introduction AWS SNS AWS SNS (Amazon Simple Notification Service) is a fully managed messaging service by AWS that operates on a Pub/Sub (Publish/Subscribe) model. Simply put, SNS acts as a "coordination hub" for messages. A system (Publisher) sends a message to SNS, and SNS automatically pushes that message to all destinations that have registered to receive it (Subscribers). Core Concepts To understand SNS, you need to grasp three concepts: Topic: A logical communication channel. You send messages to this Topic. Publisher: The system that sends messages to the Topic (e.g., a web app, CloudWatch). Subscriber: The parties that receive messages from the Topic (e.g., Email, SMS, Lambda functions). Key Advantages Serverless: No server management required; AWS scales automatically. High Reliability: Messages are stored across multiple Availability Zones to ensure they are not lost. Low Cost: Pay-as-you-go based on the actual number of messages sent. AWS SQS AWS SQS (Simple Queue ...