Getting started with DynamoDB
Use the hands-on tutorials in this section to help you get started and learn more about Amazon DynamoDB.
Topics
- Basic concepts in DynamoDB
- Prerequisites - getting started tutorial
- Step 1: Create a table
- Step 2: Write data to a table using the console or AWS CLI
- Step 3: Read data from a table
- Step 4: Update data in a table
- Step 5: Query data in a table
- Step 6: Create a global secondary index
- Step 7: Query the global secondary index
- Step 8: (Optional) clean up resources
- Getting started with DynamoDB: Next steps
Basic concepts in DynamoDB
Before you begin, you should familiarize yourself with the basic concepts in Amazon DynamoDB. For more information, see DynamoDB core components.
Then continue on to Prerequisites to learn about setting up DynamoDB.
Prerequisites - getting started tutorial
Before starting the Amazon DynamoDB tutorial, follow the steps in Setting up DynamoDB. Then continue on to Step 1: Create a table.
Note
-
If you plan to interact with DynamoDB only through the AWS Management Console, you don't need an AWS access key. Complete the steps in Signing up for AWS, and then continue on to Step 1: Create a table.
-
If you don't want to sign up for a free tier account, you can set up DynamoDB local (downloadable version). Then continue on to Step 1: Create a table.
-
There are differences when working with CLI commands in terminals on Linux and Windows. The following guide presents commands formatted for Linux terminals (this includes macOS), and commands formatted for Windows CMD. Choose the command that best fits the terminal application you are using.