- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Data

AWS DynamoDB in the Console - Creating Tables, Items, and Indexes
Welcome to this live AWS environment for learning the fundamentals of using DynamoDB in the AWS console. This lab provides you with essential exposure to database concepts such as partition and sort keys, how to add, delete, and update items, as well as attributes inside of a DynamoDB table. Indexes give access to alternate query patterns and can speed up queries. Secondary keys allow efficient access to data with attributes other than the primary key. You can create one or more secondary indexes on a table. Query or Scan requests can be done against those indexes. In the lab, you will add local and global secondary indexes, and use the local secondary index to query for items in your table.

Lab Info
Table of Contents
-
Challenge
Create a DynamoDB Table
Use the AWS DynamoDB console to create a DynamoDB table named
MusicNotes
. Set the provisioned throughput for the new table to 1 Read Capacity Unit (RCU) and Write Capacity Unit (WCU).- Log in to the AWS console with the provided credentials
- Navigate to the DynamoDB portion of the console
- Create the
MusicNotes
DynamoDB table with a local secondary index
-
Challenge
Add Items to Your Table
After creating your DynamoDB
MusicNotes
table add some items to it.- Create the DynamoDB table (in the previous step)
- Add items to the table with the
Artist
andSongTitle
attributes as well as adding a few with theRating
attribute - Query for the items using the AWS DynamoDB Console
-
Challenge
Add a Global Secondary Index to your Table
Using the AWS Console, add a Global Secondary Index to your table.
- Select your DynamoDB table
- Open the indexes section of the DynamoDB console
- Create a global secondary index for your table
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.