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: