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. He’s looking for help to provision his database infrastructure, which will hold his data. You’ll use CloudFormation to write the desired state of the infrastructure using code, which includes a DynamoDB table to hold inventory items. You’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 the CloudFormation Template

Review and download the CloudFormation template.

Launch the CloudFormation Stack

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

Verify the DynamoDB Table Was Created

Verify that the Inventory table was created correctly.

Additional Resources

  • Log in to the lab environment with the credentials provided. Make sure you are using the us-east-1 Region throughout the lab.
  • You can access the CloudFormation template via GitHub.

Note: At the end of the lab, you could add a table item via the Actions pulldown. Then, select 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?