Decoupling Serverless Applications with Amazon EventBridge

Decoupling Serverless Applications with Amazon EventBridge
Decoupling Serverless Applications with Amazon EventBridge

CLOUD LABS



Decoupling Serverless Applications with Amazon EventBridge

In this Cloud Lab, you will use Amazon EventBridge to build an event-driven application and use EventBridge events to connect the different components of this application.

12 Tasks

intermediate

2hr

Certificate of Completion

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

Learning Objectives

A thorough understanding of EventBridge rules
The ability to trigger EventBridge rules through S3 bucket events
Hands-on experience using different ML services in Lambda functions
The ability to invoke Lambda functions using EventBridge
The ability to create an event-driven application

Technologies
EventBridge logoEventBridge
Lambda logoLambda
Rekognition
Textract logoTextract
Comprehend logoComprehend
S3 logoS3
Cloud Lab Overview

As an application grows in complexity, it becomes harder to maintain and add new features. One possible solution is to divide your application into components and allow them to communicate using Amazon EventBridge. Amazon EventBridge is a service that uses event buses to connect your components and build an event-driven application.

In this Cloud Lab, you’ll first deploy a document processing serverless application using a Lambda function. This application will be tightly coupled, so you’ll find it hard to make changes in this application. You’ll then deploy the same application, but this time, you’ll add some new components and divide them into different functions. You’ll then create multiple EventBridge rules that will allow the components in this application to communicate with each other.

After completing this Cloud Lab, you’ll be able to use EventBridge to decouple the components of your application. The following is the high-level architecture you will create in this Cloud Lab:

Architecture diagram
Architecture diagram

Cloud Lab Tasks
1.Introduction
Getting Started
Event-Driven Architecture
2.Deploy a Document Processing Application
Configure Provisioned Resources
Test the Application
3.Decouple Application Using EventBridge
Create the S3 Bucket
Deploy Lambda Functions
Configure EventBridge Rules
4.Add New Application Components
Create an Application Component
Connect the Component
Add Another Component
5.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 Course

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