dynobase-icon
Dynobase

How To Create DynamoDB Table in AWS [Easiest Way]

Prerequisite:   Download Dynobase (free to try) in order to follow the steps below
DynamoDB create table API Syntax is complicated. Dynobase makes the table creation process a breeze. It's just a matter of filling out a simple form.
1
Step 1

To create a DynamoDB Table using Dynobase, click '+' sign in the bottom left corner.

2
Step 2

Fill out the form. Set table name, indexes, optionally global secondary indexes and select capacity mode. If going with provisioned mode, set WCU and RCU.

3
Step 3

Click 'Create Table'. After less than 10 seconds, your table should be ready to use!


Frequently Asked Questions

What is a DynamoDB table?

Table is the very basic container of data in DynamoDB. It's basically a collection of items/records. It's very similar to the traditional SQL table.

How much does a DynamoDB table cost?

Setting up table in On-Demand mode is completely free! You're billed on per-request basis, plus, the amount of data you store in the table. To get more detailed quota, use our DynamoDB Pricing Calculator

What are the different ways I can use to create a DynamoDB table?

If you don't want to use Dynobase to create your tables, Dynobase outputs DynamoDB Create Table template next to the form. You can use that output in other frameworks and libraries like AWS CloudFormation, AWS CDK, Serverless Framework, AWS SAM or even Terraform. Alternatively, you can use the AWS Console.

Do you need to design your schema in DynamoDB?

No. You only need to design primary and secondary key(s). It means setting attributes that are going to be used as keys and their type.

Does DynamoDB have schema?

Yes. You don't have to define columns upfront. The only required attributes in your objects is the partition key and optionally a sort key if one has been defined during table creation.

How to create DynamoDB table locally?

Select an offline profile and follow the same steps. If you want to do that using CLI or SDK, change the service endpoint to localhost:{port} (8000 for DynamoDB-local and 4569 for LocalStack). Find more about DynamoDB Offline and Dynobase here

Is it ok to create two DynamoDB tables?

Yes, this is perfectly fine. Even though AWS says that most well-designed applications require only one table, it requires the single-table design.

What if I wanted to create table using Node.js or Python, how can I do that?

Use our guides, for Python and Node.js.

Product Features

Download
/
Changelog
/
Pricing
/
Member Portal
/
Privacy
/
EULA
/
Twitter
© 2024 Dynobase