Create a DynamoDB Table Using CloudFormation

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

In this lab scenario, Alfredo of Alfredo’s Pizza is building a web application to manage his supply and food inventory. That’s where you and I come in. He’s looking for our help to provision his database infrastructure, which will hold his data. We’ll use CloudFormation to write the desired state of the infrastructure using code, which includes a DynamoDB table to hold inventory items. We’ll first launch the resources in his development environment, but the template can later be used to launch a stack in the test and production environments as well. By the end of this lab, you’ll have a good understanding of infrastructure as code using CloudFormation.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Review and Download CloudFormation Template

Review and download the CloudFormation template. The template can be found here.

Launch CloudFormation Stack

Upload the CloudFormation template and launch the stack to create the DynamoDB table.

Verify DynamoDB Table Created

Verify that the Inventory table was created correctly.

Additional Resources

  • Please log in to the lab environment with the credentials provided. Make sure you are using the us-east-1 region throughout the lab.
  • The CloudFormation template can be found here.

Note: At the end of the lab, instead of clicking the DynamoDB Items tab (as shown in the video), you could add a table item via the Actions pulldown and choose Create item.

What are Hands-on Labs

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.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?