Getting Started with Serverless Event-Driven Architectures on AWS

Getting Started with Serverless Event-Driven Architectures on AWS
Getting Started with Serverless Event-Driven Architectures on AWS

CLOUD LABS



Getting Started with Serverless Event-Driven Architectures on AWS

In this Cloud Lab, you’ll use Amazon EventBridge Pipes to build a serverless architecture and learn to filter and enrich data using EventBridge Pipes.

8 Tasks

intermediate

1hr 30m

Certificate of Completion

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

Learning Objectives

A thorough understanding of EventBridge Pipes
The ability to create an event-driven application using SNS, SQS, and Lambda function
Working knowledge of enriching events using Lambda functions and DynamoDB

Technologies
EventBridge logoEventBridge
Lambda logoLambda
SQS logoSQS
DynamoDB logoDynamoDB
SNS logoSNS
Cloud Lab Overview

Amazon EventBridge is an event management service. It allows us to connect components of a loosely coupled application through events, sparing developers the hassle of writing code to trigger or invoke components. EventBridge is effectively used to route, filter, and process events among AWS services, SaaS applications, and custom applications. EventBridge Pipes supports point-to-point integration by connecting a source and a target. Pipes allow us to filter and enrich the events sent to the destination.

In this Cloud Lab, you’ll first create an SNS topic, an SQS queue, a Lambda function, and a DynamoDB table. You’ll then create an Eventbridge Pipe, which will use the SQS topic as the source and filter the messages it receives. It will then invoke the Lambda function to enrich the messages it receives by fetching data from the DynamoDB table. Once the data is enriched, our message will be published on the SNS topic, which will then be forwarded to an email subscriber.

After completing this Cloud Lab, you can use EventBridge Pipes to create a serverless event-driven architecture. The following is the high-level architecture you will create in this Cloud Lab:

Create an EventBridge Pipe using SQS, Lambda, and SNS
Create an EventBridge Pipe using SQS, Lambda, and SNS
Cloud Lab Tasks
1.Introduction
Getting Started
2.Create the Required Resources
Create an SQS Queue and an SNS Topic
Create a DynamoDB Table
Create a Lambda Function
3.Putting It All Together
Create an EventBridge Pipe
Test the EventBridge Pipe
4.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.

Before you start...

Try these optional labs before starting this lab.

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