Hi Reader ππ½
in this issue we'll explore the core services to build Event-Driven Architectures (EDA) with AWS. π¨
Like the name already suggest, EDA do rely on events (=> messages) that are used to trigger code executions.
An event can be any change or update in any part of the system, e.g. a user interaction or a message from another system.
By building apps in this way, we can deliver exceptional high responsiveness, flexibility, and scalability.
Who is our major suspect for creating such architectures on AWS? π΅οΈββοΈ
=> Actually, there are 3 of them! β¨
But how do they differ and when to use what?
That's exactly what we want to explore in this weeks issue!
Let's go! π
β
Services like SNS, SQS, and EventBridge provide a way to send and receive messages between different components of an application. This allows them to communicate and therefore work together.
This can be useful in situations where components need to be decoupled, such as for...
Additionally, they help to make systems very resilient as they allow them to respond to incidents with reprocessing of events.
Those services and the resulting architecture when using them properly result in various benefits, including:
Those benefits are just an outtake and surely nothing comes with trade-offs compared to monolithic and/or synchronous systems.
SQS, a fully-managed queuing service, allows you to send, store, and receive messages between various AWS services and components. It enables asynchronous communication between different parts of your application.
The main concepts of SQS are:
SNS is a managed messaging service that allows you to (mass) send notifications to either endpoints or clients. It's based on the publish/subscribed pattern and can be therefore used to fan-out messages to multiple recipients.
Key concepts of SNS are:
EventBridge is a serverless event bus service that allows you to easily route events between different services and components. It drastically helps to build loosely-coupled systems that can quickly adapt to changing requirements.
Key concepts:
β
We've covered the fundamentals of the three core messaging services. As they not only differ in their feature set but also in how they work, it's important to know when to use which service.
Let's phrase this into a small summary:
β
By leveraging SQS, SNS, and EventBridge, you can build highly fault-tolerant, event-driven systems with a high degree of flexibility as components are never strictly coupled.
Due to their pay-as-you-go pricing models, they are also a perfect starting point to discover, learn about and build complex architectures on AWS.
We hope you've learned something new in this issue!
See you in two weeks!
Sandro & Tobi π
If you want to continue reading, have a look at our recent blog posts in which we cover the different AWS Compute Services or How to Keep Your Account Secure with Multi-Factor Authentication π
We teach AWS for the real world - not for certifications. Join more than 10,500 developers learning how to build real-world applications on AWS.
AWS FOR THE REAL WORLD β±οΈ Reading time: 6 minutes π― Main Learning: Learn how to securely connect GitHub Actions to your AWS account using OIDC authentication without storing access keys. Step-by-step guide with IAM role setup, trust policy configuration, and workflow examples for safe CI/CD deployments. π Blog Post Hey Reader ππ½, welcome to another week of AWS for the Real World We are right in the middle of pre:invent. Re:Invent starts next week! We are both not present, but we will give you...
AWS FOR THE REAL WORLD β±οΈ Reading time: 4 minutes π― Main Learning: AWS CloudWatch log centralization makes cross-account logging simple. Learn how to set it up, avoid gotchas, and query logs across your organization. π Blog Post Hey Reader ππ½ another week, another newsletter about CloudWatch. This time we're talking about a rather new feature: Log Centralization. But quick question before we dive into this weekβs CloudWatch deep diveβ¦ Weβre 6 weeks out from 2025 (wild, right?) and Iβm...
AWS FOR THE REAL WORLD β±οΈ Reading time: 20 minutes π― Main Learning: How to achieve end-to-end observability by integrating CloudWatch Application Signals with OpenTelemetry for automatic service discovery and cross-service request tracing in AWS. π Blog Post π» GitHub Repository Hey Reader ππ½ Welcome to this weekβs AWS Fundamentals Newsletter. Pre:Invent season is starting slowly with new launches like: Bigger payload sizes for Kinesis and async Lambda invocations CloudWatchβs interactive...