Building Payment Systems Using AWS Event-Driven Architecture

Building Payment Systems Using AWS Event-Driven Architecture
Building Payment Systems Using AWS Event-Driven Architecture

CLOUD LABS



Building Payment Systems Using AWS Event-Driven Architecture

In this Cloud Lab, you will gain insights into building a serverless, event-driven payment system using AWS EventBridge, SNS, Lambda, and DynamoDB for real-time transaction processing and notification.

8 Tasks

intermediate

1hr 30m

Certificate of Completion

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

Learning Objectives

Hands-on experience building an event-driven transaction processing system
An understanding of Amazon EventBridge Pipes for point-to-point event integration
Hands-on experience using Lambda functions to process and enrich events
Hands-on experience publishing enriched events to SNS and sending email notifications

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

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

In this Cloud Lab, you’ll create a payment system using an SNS topic, Lambda functions, and a DynamoDB table. You’ll first create a Lambda function that will receive the transaction request made by a user through a React application. This function will check for duplicates and store items in a DynamoDB table. You’ll then create an EventBridge pipe using the DynamoDB table as the source. It will first invoke the Lambda function to enrich and process the transaction you receive from the DynamoDB table. Once the data is enriched, your message will be published on the SNS topic and forwarded to an email subscriber.

After completing this Cloud Lab, you can use EventBridge Pipes to create a serverless event-driven payment system that processes transactions in near real time.

Building a payment processing system using EventBridge pipe
Building a payment processing system using EventBridge pipe

Cloud Lab Tasks
1.Introduction
Getting Started
2.Build the Payment System
Create an SNS Topic and a DynamoDB Table
Create the Ingestion Function
Create the Data Enrichment Function
Create an EventBridge Pipe
3.Putting It All Together
Test the Pipeline
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.

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