Event-Driven Architecture on AWS: Everything Reacts, Nothing Waits

I recently spoke at BlablaConf 6.0 Day 4 (Cloud, Containers & Infrastructure) about Event-Driven Architecture on AWS. In this post, I recap the talk: core concepts, AWS building blocks, and a real-world Taco Bell case study.

A few months ago, I had the opportunity to speak at BlablaConf 6.0 β€” Day 4: Cloud, Containers & Infrastructure πŸ‡²πŸ‡¦, the annual conference organized by the GeeksBlabla community, where talks are given in Moroccan Darija.

I gave a talk about Event-Driven Architecture (EDA) on AWS, under the motto: β€œEverything reacts, nothing waits.”

πŸŽ₯ Want to watch the full episode? It’s available on YouTube (in Darija): BlablaConf 6.0 Day 4 - Cloud, Containers & Infrastructure

Here’s a written recap of what I covered.

What is Event-Driven Architecture?

Event-Driven Architecture is an architectural pattern based on asynchronous communication between services through events, instead of direct API calls.

With this approach, our services remain:

In short: everything reacts to events, and nothing waits. There are no services blocking each other waiting for responses, like we’re used to with REST APIs. This is exactly why EDA is such a great fit for cloud-based systems.

The Building Blocks of EDA

The whole architecture revolves around events β€” a signal that something happened in the application, like a user interaction or a state change (for example, the creation of a new user).

The architecture is made of three main components:

  1. Event Producer (Publisher) β€” any interface or service whose role is to create events and send them to the event broker.
  2. Event Broker β€” the central piece that connects producers and consumers. It receives incoming events, filters them, and routes them to the right consumers.
  3. Event Consumers β€” services that listen for events from the broker and run their own logic (for example, a notification service sending an email with the user’s credentials).
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     events     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     events     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Producer β”‚ ─────────────► β”‚  Event Broker β”‚ ─────────────► β”‚  Consumer  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
     β”‚                            β”‚    β”‚                           β”‚
     β”‚                            β–Ό    β–Ό                           β”‚
     β”‚                       (filter & route)                      β”‚
     β”‚                                                             β”‚
     └─── more producers ──────────────────────── more consumers β”€β”€β”˜

Why is this so powerful?

This also makes integrating new services trivial: any new service just follows the events it needs from the event broker, without us having to modify the existing code. The result is an architecture that is extensible and well-decoupled compared to classic API calls β€” which is why EDA fits cloud environments like AWS so well, since many AWS services are designed to natively support event-driven communication.

EDA on AWS

Let’s map these concepts to actual AWS services:

EDA RoleAWS ServiceNotes
ProducersS3, DynamoDB, API Gateway, LambdaEmit events when something happens: file upload, database update, API request…
Event BrokerAmazon EventBridgeReceives events and routes them based on filters, rules, and event schemas
Event Broker (queueing)Amazon SQSWhen events need to be queued and processed by many services
Event Broker (broadcast)Amazon SNSWhen an event must be broadcast to many consumers at once (email, SMS, analytics…)
ConsumersAWS Lambda, Step FunctionsReact to events with business logic and scale automatically with the number of events

Use Cases

EDA shines in many scenarios:

To understand this better, let’s look at a real-world example: Taco Bell, which needed to integrate food delivery applications with its point-of-sale systems using event-driven architecture.

The Taco Bell Flow

  1. A customer places a Taco Bell order on a delivery app like Glovo (an external SaaS).
  2. Glovo validates the order and sends it to Taco Bell’s APIs.
  3. API Gateway receives the order API request and transforms it into an event.
  4. EventBridge picks up these events and routes them to the business workflow.
  5. AWS Lambda functions process the orders and apply the business logic.
  6. Finally, the orders arrive, ready, at Taco Bell’s point-of-sale systems.
Glovo (SaaS) ──► Taco Bell APIs ──► API Gateway ──► EventBridge ──► Lambdas ──► POS
   order           validation         event            routing       process     system

Wrapping Up

Event-Driven Architecture brings decoupling, resilience, and scalability to distributed systems β€” and AWS gives you all the building blocks (EventBridge, SQS, SNS, Lambda, Step Functions) to build it natively.

If you want to dive deeper, check out the resources below:

Thanks to the GeeksBlabla team for organizing BlablaConf, and to everyone who watched the episode. Thalaaaaaaw! πŸ™Œ