Menu
×
   ❮   
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS DSA TYPESCRIPT SWIFT ANGULAR ANGULARJS GIT POSTGRESQL MONGODB ASP AI R GO KOTLIN SWIFT SASS VUE GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE INTRO TO PROGRAMMING HTML & CSS BASH RUST

AWS Cloud Tutorial

AWS HOME AWS Intro AWS Cloud Certification AWS Get Started AWS Cloud Computing AWS Cloud Benefits AWS Infrastructure Intro AWS EC2 Intro AWS EC2 Instance Types AWS EC2 Pricing AWS EC2 Scaling AWS EC2 Auto Scaling AWS Elastic Load Balancing AWS Messaging AWS EventBridge AWS SNS AWS SQS AWS Messaging Comparison AWS Serverless AWS Lambda AWS Containers AWS ECS AWS EKS AWS Fargate AWS Additional Compute AWS Infrastructure AWS Regions AWS Availability Zones AWS Edge Locations AWS Provision AWS Provision Services AWS Elastic Beanstalk AWS CloudFormation AWS Networking AWS Connectivity AWS Subnet and Access AWS Global Networking AWS Global Architectures AWS Storage AWS Instance Stores AWS EBS AWS S3 AWS Elastic File System AWS Storage Comparison AWS Databases AWS RDS AWS DynamoDB AWS DynamoDB vs RDS AWS Redshift AWS DMS AWS Additional DB Services AWS AI/ML Intro AWS AI/ML on AWS AWS AI/ML Services AWS Generative AI Intro AWS Generative AI Services AWS Data Analytics AWS Data Pipelines AWS Cloud Security AWS Shared Responsibility AWS User Access AWS Network Protection AWS Data Protection AWS Detection and Response AWS Monitoring & Governance AWS Monitoring Intro AWS CloudWatch AWS CloudTrail AWS Compliance AWS Auditing AWS Organizations AWS Governance AWS Health AWS Trusted Advisor AWS Pricing and Support AWS Free Tier AWS Pricing Concepts AWS Billing Services AWS Support Plans AWS Marketplace AWS Cost Optimization AWS Migration AWS CAF AWS Migration Strategies AWS Migration Services AWS Database Migrations AWS Data Transfer Online AWS Data Transfer Offline AWS Well-Architected Solutions AWS Well-Architected Framework AWS Specialized Services AWS Specialized Use Cases AWS Cloud Practitioner Wrap Up AWS Exam Preparation

AWS Examples

AWS Cloud Exercises AWS Cloud Quiz AWS Certificate

More AWS

AWS Machine Learning AWS Serverless AWS GenAI

AWS Messaging Services Comparison


Messaging Services Comparison

AWS offers three main messaging services, each designed for different use cases:

Service Type How It Works
EventBridge Event bus Routes events based on rules to multiple targets
SNS Publish-subscribe Pushes messages to multiple subscribers at once
SQS Message queue Stores messages until a receiver pulls and processes them

When to Use Each Service

Use EventBridge when:

  • You need to route events from multiple sources (AWS services, SaaS apps, custom apps)
  • You want to filter and route events based on content
  • You're building event-driven architectures

Use SNS when:

  • You need to send one message to many subscribers
  • You want to send notifications (email, SMS, mobile push)
  • You need fan-out messaging to multiple endpoints

Use SQS when:

  • You need reliable message delivery between two components
  • You want to decouple sender and receiver
  • Messages should be processed in order or only once

Working Together

These services often combine:

  • SNS + SQS: Fan-out to multiple queues for parallel processing
  • EventBridge + SNS: Route events to SNS for notifications
  • EventBridge + SQS: Send events to queues for ordered processing

Best Practice: Use EventBridge as your central event router, SNS for fan-out notifications, and SQS for reliable point-to-point messaging.


×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookies and privacy policy.

Copyright 1999-2026 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.