EventBridge
On This Page
About
EventBridge is a serverless event bus that makes it easy to connect applications together using data from apps, integrated SaaS apps, & AWS services.
EventBridge is a low-cost alternative to building a new backend infrastructure for every new app. With Serverless EventBridge, you can connect your existing apps with a few lines of code. You don’t have to build a new backend for every new app you want to connect to.
You can use existing infrastructure as a provider of event data, and connect your apps using Serverless EventBridge.
Alternatives
- Azure Service Bus
- TIBCO Cloud Integration (including BusinessWorks and Scribe)
- IBM App Connect
- Google Cloud Pub/Sub
- Apache Camel
- Peregrine Connect
- Software AG webMethods
- IBM Cloud Pak for Integration
Price
Use Cases
Type: Application integration
Same type services: SNS, SQS, AppSync, EventBridge
- Re-architect for speed
- Extend functionality via SaaS integrations
- Monitoring and Auditing
- Customize SaaS with AI/ML
EventBridge vs Amazon SNS
In comparison with Amazon SNS, EventBridge:
- Integrates with more AWS services than SNS
- Supports registering message schemas
- Has sophisticated third-party integrations available
- Supports transforming event messages before sending them
You should choose to use Amazon EventBridge over Amazon SNS when the system you are building is expected to:
- Support significant asynchronous functionality
- Grow significantly in terms of both usage and complexity
- Have changing requirements over time
- Have components built by different teams that interact
- Need support for disparate event sources and targets
Amazon EventBridge vs CloudWatch Events
- Amazon EventBridge extends CloudWatch Events - Build event-driven architectures
- Original goal with CloudWatch Events was to help with monitoring usecases specific to AWS services.
- React to events from Your Applications, AWS services and Partner Services
- Example: EC2 status change, change in your application or SaaS partner application
- Event Targets can be a Lambda function, an SNS Topic, an SQS queues etc
- Rules map events to targets (Make sure that IAM Roles have permissions)
- Event buses receive the events:
- Default event bus (for AWS services)
- Custom event bus (custom applications)
- Partner event bus (partner applications)
- React to events from Your Applications, AWS services and Partner Services
- Over time, Amazon EventBridge will replace Amazon CloudWatch Events
Practice
Processing File Uploads Asynchronously with Amazon EventBridge
Questions
Q1
A food delivery company is building a feature that requests reviews from customers after their orders are delivered. The solution should be a short-running process that can message customers simultaneously at various contact points including email, text, and mobile push notifications.
Which approach best meets these requirements?
- Use EventBridge with Kinesis Data Streams to send messages.
- Use a Step Function to send SQS messages.
- Use a Lambda function to send SNS messages.
- Use AWS Batch and SNS to send messages.