Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

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.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 30m
Published
Clock icon Aug 03, 2020

Contact sales

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

Table of Contents

  1. 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
  2. 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 and SongTitle attributes as well as adding a few with the Rating attribute
    • Query for the items using the AWS DynamoDB Console
  3. 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

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans