Awesome EventBridge 🚀
A handy list of resources for getting up to speed on events, patterns, and using Amazon EventBridge.
Table of Contents
Videos
-
How to get started with Amazon EventBridge. James Beswick talks us through a quick introduction into EventBridge.
-
AWS re:Invent 2020: Building event-driven applications with Amazon EventBridge. Great talk by Stephen Liedig around EventBridge, Multi-account patterns and recommended practices.
-
AWS re:Invent 2021: Using events and workflows to build distributed applications. Great talk around events and workflows using AWS. Diving into Events, Workflows, Orchestration, Choreography, EventBridge and Step functions.
-
Accelerate Your Serverless Adoption with Amazon EventBridge. Sheen Brisals shows us how LEGO are using Serverless and EventBridge inside their serverless architecture. Great watch.
-
Schema Registry, DLQ, Retry Policy with demos. Really good video into some core features of EventBridge and some demos around DLQ and Retry policies.
-
EventBridge quick learning videos. James Beswick gives us some great quick videos to learn about Amazon Eventbridge.
-
Event-Driven Architecture at PostNL Scale. Luc van Donkersgoed gives us some great insight into how to scale EventBridge with some interesting patterns like Authenticating producers/consumers, getting around EventBridge payload limits, EventBridge Metrics and much more...
-
The Art of Microservices Communication with AWS EventBridge. Sheen Brisals gives another amazing talk on EventBridge and various different patterns we can explore. A great watch with many learnings to take away from it.
-
Serverlesspresso - A demo using EventBridge, Step Functions and more!. James Beswick talks us through how the Serverlesspresso application was created with a mixture of API Gateway, IOT Core and EventBridge that glues the whole thing together.
-
Best practices to design your events in event-driven applications. David Boyne goes through Event Design patterns with EventBridge looking into Nofitication and State Carried patterns, the tradeoffs and ways to improve your event design by thinking Event first design.
-
User-driven Composable Infrastructure with CDK, Step Functions and CodeBuild. Luc van Donkersgoed gives us great insight into how PostNL are using CDK to automate deployments with producers and consumers with self service systems.
-
20 ways event-driven architectures can improve your development process - James Beswick gives us a fun talk about how EDA can improve our development workflows and processes.
Written resources
-
EventBridge Storming and Finding a Loosely Coupled Utopia with Event-Driven Serverless. Ben Ellerby gives us a fantastic piece about EventBridge and EventStorming. Talking about DDD, Bounded Context and much more.
-
Archive & Replay Events In Tandem With A Circuit-Breaker. Here we understand patterns around Archiving, Replaying and Circuit breaking with EventBridge. Full of examples and diagrams to help us understand.
-
A Case for Event Batching in Amazon EventBridge. Understand event payloads, and batching. Using EventBridge to batch up events with the detail in order to process them.
-
Amazon EventBridge: API Destinations Demystified-Part I and Part 2. Learn the power of API destinations for EventBridge. Filled with tutorial, examples and great explanations.
-
A fishing analogy for EventBridge filtering rules. A great analogy to help us understand how filtering with EventBridge works.
-
How to Observe EventBridge Events with Postman and WebSockets. Learn how to use WebSockets with EventBridge to take a look inside your bus and debug.
-
Serverless patterns with EventBridge. A wide range of Serverless patterns (SAM, CDK) for EventBridge.
-
Use Amazon S3 Event Notifications with Amazon EventBridge - Guide to understand how to quickly and efficiently react to changes in your S3 Objects.
-
Amazon EventBridge: Event Payload Standards - Explore ideas behind standardising your event payloads for Amazon EventBridge and explore what other people are doing.
-
Testing Amazon EventBridge events using AWS Step Functions - Explore how you can use Step Functions to help test your EDA with EventBridge.
-
How to use EventBridge as a Cross-Account Event Backbone - A post by Eoin Shanaghy explaining how we can utilise EventBridge and share events cross accounts. Worth a read if you are using multiple AWS accounts and want to share events between them.
-
Sending Amazon EventBridge events to private endpoints in a VPC - A great blog post by Emily Shea explaining how you can send events to private APIs in a VPC.
-
Should you validate your producer/consumer events? - David Boyne asked a portion of the community about event validation, and concluded the result in his Blog post.
-
Bidirectional event integrations with Salesforce and Amazon EventBridge - Example of using EventBridge to consume and produce events flowing outside your organistion.
-
Guaranteed event ordering when using Amazon EventBridge as your Enterprise Service Bus - Lee James Gilmore gives us a detailed example of how to use SNS and SQS FIFO queues with EventBridge and DDB Stream patterns, along with code examples and great diagrams. If you are interested in event ordering then check this blog post out.
-
Enrich your EventBridge events with AWS Lambda - Pattern to explore using content enrichment patterns with Amazon EventBridge and using AWS Lambda as the enricher. Using custom rules and metadata to enrich data and put the events back onto the bus for downstream consumers.
-
How to publish large events with Amazon EventBridge using the claim check pattern - Need to handle large events with EventBridge but hitting the payload limit? Try using the claim check pattern, here is an example of what the claim check pattern is and example code to do it.
-
Enriching operational events with AWS Serverless, EC2 and EventBridge! - Ben Moses gives us a great blog post to listen to EC2 changes, enrich events using Step Functions and email downstream consumers using SNS. Some great patterns here, recommened diving in if you want to learn more about enrichment and listening to aws events!
-
Introducing EventBridge Scheduler - If you are using EventBridge custom rules to build schedules, or want to setup millions of schedules for your projects, then check it out!
Patterns
- Enrich EventBridge events using Lambda and custom rules - Enrichment pattern that uses metadata on a given event, and enrichs the data before reaching downstream services.
- Claim check pattern with S3 and EventBridge Notifications - Claim check pattern to handle large data in EventBridge. In this example user uploads a file and S3 events are used to raise domain information. Presigned URLS are used to get the information to downstream consumers.
- Outbox pattern with EventBridge and DynamoDB - Using DynamoDB streams to process EventBridge events. First store the data (in this example user information) then raise EventBridge events off the back of it
Tools
-
evb-cli - Pattern generator and debugging tool for Amazon EventBridge. Browser targets of events, generate diagrams, generate code bindings and much more. All from the CLI.
-
EventCatalog - Document your Event Architectures using Markdown files. Use the Amazon EventBridge plugin to generate docs from your Schema Registry. Visualise targets, rules and much more...
-
cdk-eventbridge-socket - CDK construct that creates a WebSocket endpoint for you for any EventBridge rule you are interested in. (Built for debugging + testing )
-
sls-dev-tools - Dev Tools for the Serverless World. Another great CLI tool for serverless support and EventBridge!
-
EventBridge Atlas - Document, Discover and Share Amazon EventBridge Schemas. Transforms your schemas into documentation.
-
EventBridge Canon - Simple UI to Publish, Save and Share AWS EventBridge Events. Think Postman but for EventBridge.
-
EventBridge Schema Watcher - Simple CDK construct with plugin support that allows you to listen for schema changes on eventbridge. For example, send messages directly into Slack when schemas change, perfect for downstream consumers!
-
sls-test-tools - Custom Jest Assertions for Serverless integration testing. Test your EventBridge integration with these awesome jest tools. Check if events are raised and the payloads of them.
-
EventBridge Transformer - An online tool that allows you to quickly generate input paths and input templates for EventBridge. Use your event as a starting point then interactive editors to generate your code. Also see example outputs and validate your input templates/paths.
-
serverless-offline-eventbridge - serverless offline plugin that enables eventBridge events
-
Typebridge - TypeScript toolbox for EventBridge.
-
EventBridge Ruler - A Java library that allows you to build applications that can match any number of rules against events at several hundred thousand events per second.
-
Quamina - Go pattern match library following EventBridge pattern style. Use this package in your applications to only send events to EventBridge if they match the registered patterns. Improves latency and reduces cost in applications.
Example Projects
-
Event Driven Architecture with .NET API's - James Eastham has built a great EDA example using NET 6 APIS. This sample project demonstrates how to build an event driven architecture on AWS using ECS Fargate, .NET 6 REST API's, AWS CoPilot and Amazon EventBridge.
-
Serverlesspresso - Open source project for the Serverlesspresso the Serverless DA Team at AWS has built using Step Functions, EventBridge and API Gateway.
-
Event Driven Serverless CDK. James Eastham gives us another example of an event driven application. This project contains an example of building an AWS native, event driven, customer review analysis application. It uses serverless components and native AWS service integrations. The application is deployed using the AWS CDK, written in C#.