- Lab
- A Cloud Guru
Processing DynamoDB Streams Using Lambda
In this lab, we will create a Lambda function to process DynamoDB stream data from an existing table that is actively being written to. Once processed, the data from the stream will be aggregated and written to a second DynamoDB table.
Path Info
Table of Contents
-
Challenge
Create Lambda Function to Process Stream Events
- Log in to the AWS Management Console for the lab environment using the credentials provided.
- Navigate to Lambda.
- Create a new Lambda function and write/paste the code (found on GitHub) to process DynamoDB Streams events.
-
Challenge
Create DynamoDB Streams Trigger
- Create a new trigger for your function, setting DynamoDB as the trigger type, and provide the appropriate configuration information.
- Enable trigger on creation to start processing stream events into stats aggregation table.
-
Challenge
Verify Stream Processing
Navigate to DynamoDB to verify statistics are correctly aggregated and written to the stats table.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.