Featured resource
Tech Upskilling Playbook 2025
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Learn more
  • Labs icon Lab
  • Cloud
  • Data
Google Cloud Platform icon
Labs

Using AWS Lambda With Amazon Kinesis Data Stream

In this lab, you will step into the shoes of a data engineer who is challenged with moving some taxi data from a Cloud9 instance to a DynamoDB table so the data analyst team can easily access and view it. To accomplish this, you will launch a CloudFormation stack, create a Kinesis Data Stream, create a DynamoDB table, format a Lambda function, and finally, move data from the Cloud9 instance to the DynamoDB table.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 1h 0m
Last updated
Clock icon Sep 01, 2025

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create an Amazon Kinesis Data Stream

    Create a Kinesis Data Stream named input-stream.

  2. Challenge

    Populate Data on the Cloud9 Instance

    1. Add the lab1.py file from the lab GitHub repo to the Cloud9 instance.
    2. Install boto3 on the instance using pip install boto3.
    3. Run the newly created lab.py file with python lab.py.
  3. Challenge

    Create a DynamoDB Table

    Create a new DynamoDB table named kinesisAggs and add a partition key named vendorId with type of Number.

  4. Challenge

    Create and Configure a Lambda Function

    1. Create a new Lambda function named kinesisLambdaConsumer01.
    2. Set the IAM role to KinesisLambdaConsumerRole-Kinesislab
    3. Download and modify the lambda-deploy.zip file from the lab GitHub repo.
  5. Challenge

    Confirm Data is Populating to DynamoDB

    In the DynamoDB section of the console, explore items in the table and confirm that you have at least two entries.

    (If you are not seeing data after 5 minutes, your python script may have timed out. If you do not see data flowing in the CLI, rerun the python lab.py command and data should start flowing through in about 3-5 minutes)

  6. Challenge

    Create a CloudFormation Stack

    Create a CloudFormation stack using the template file provided in the GitHub repo for this lab named CFN Build.yaml.

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

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.