- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
Persist Workflow State with DynamoDB
The beginnings of a media processing pipeline are in development! An existing Lambda function processes videos uploaded to a source S3 bucket, but a place to store metadata about the processing pipeline needs to be created. In this lab, you will use DynamoDB to create a serverless table to store metadata about objects in the pipeline, then update the provided Node.js Lambda function to create a table item storing information about the object, job ID, and transcoding status. You will then test the pipeline to ensure function.
Lab Info
Table of Contents
-
Challenge
Expand a partially-created video pipeline
Review the existing pipeline infrastructure and create a plan for extending it to include metadata support.
-
Challenge
Create a DynamoDB table to store metadata about processing jobs
Learn to create a DynamoDB table with the appropriate sort key and Global Secondary Index to store data about each video file and related processing jobs.
-
Challenge
Update an existing Lambda function with new functionality for writing to database tables
Review and update a Node.js-based Lambda function to add additional functionality by updating the database table with the desired metadata fields.
-
Challenge
Test the pipeline with the provided assets
Use the provided mp4 file to test the updated pipeline, ensuring the Lambda function not just triggers an Elemental MediaConvert job that runs successfully, but also updates the newly-created table with the necessary metadata.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.