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
AWS logoAWS
EventBridge
DynamoDB logoDynamoDB
Lambda
SNS
CloudTrail
Comprehend
Skills Covered
Using AWS Cloud Services
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:

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.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image