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:

Architecture diagram
Architecture diagram
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.

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