Getting Started with EventBridge

Getting Started with EventBridge
Getting Started with EventBridge

CLOUD LABS



Getting Started with EventBridge

In this Cloud Lab, you’ll explore the EventBridge service by building an application based on event-driven architecture. Moreover, you’ll be able to explore EventBridge rules with CloudTrail events.

10 Tasks

intermediate

2hr

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Thorough understanding of core concepts related to EventBridge
The ability to use EventBridge rules to build event-driven architectures
Working knowledge of EventBridge rules with CloudTrail

Technologies
EventBridge logoEventBridge
Lambda logoLambda
CloudTrail
Comprehend logoComprehend
DynamoDB logoDynamoDB
SNS logoSNS
Cloud Lab Overview

AWS EventBridge simplifies the creation of applications based on event-driven architecture in the cloud. It is a serverless event management service that allows us to create rules, pipes, and schemas to trigger targets when an event occurs.

In this Cloud Lab, you’ll explore EventBridge rules using an event-triggered web application. First, you’ll create a DynamoDB table to store sample data. Next, you’ll create a trail to log an event when an item is added to the table. Moving on, you’ll create a Lambda function as the event consumer. The Lambda function will perform sentiment analysis on the data stored in the DynamoDB using Amazon Comprehend. It’ll also publish a message to SNS based on the sentiment. Finally, you’ll create an EventBridge rule to process the event and trigger the target. You’ll then test the rule and deploy a simple React front-end application to add data to the table and trigger events.

By the end of this Cloud Lab, you’ll get hands-on experience with EventBridge and event-driven architectures. Also, you’ll be able to create rules for events logged by CloudTrail.

The architecture diagram below shows the infrastructure you’ll build in this Cloud Lab:

 EventBridge rules using an event-triggered web application
EventBridge rules using an event-triggered web application
Cloud Lab Tasks
1.Introduction
Getting Started
Event-Driven Architectures
2.Event Producers
Create a DynamoDB Table
Create a CloudTrail Trail
3.Event Consumers
Set Up an SNS Topic
Set Up a Lambda Function
4.EventBridge Rule
Create an EventBridge Rule
5.Putting It All Together
Set Up the React Application
6.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Hear what others have to say
Join 1.4 million developers working at companies like