Creating a DynamoDB Table

Guide to Creating DynamoDB Table

Access AWS Console

  1. Navigate to AWS Management Console and go to the DynamoDB service
  2. In the DynamoDB Dashboard interface, select Create table

DynamoDB Console Interface

Configure Basic Table Settings

  1. Set up table information:
    • Enter table name: Books
    • Define partition key: id (primary key)

Configure table information

Customize Advanced Settings

  1. In the Table settings section, select Customize settings
  2. Configure the following:
    • Table class: Select DynamoDB Standard
    • Capacity mode: Select On-demand (On-demand)

Configure capacity

Complete Table Creation

  1. Review all configurations
  2. Select Create table to complete the process

Complete table creation

  1. Verify the Books table has been created successfully in the Tables list

Tables list

Important Notes

  • On-demand mode is suitable for irregular or unpredictable workloads
  • Partition key is required and cannot be changed after table creation
  • You can add secondary indexes after creating the table