Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Amazon Web Services Bootcamp

You're reading from   Amazon Web Services Bootcamp Develop a scalable, reliable, and highly available cloud environment with AWS

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788294454
Length 338 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

DynamoDB tables


Let's look at how to create a DynamoDB table.

AWS Management Console

The AWS Management Console allows us to easily create and manage the AWS services.

Creating a table

Go to AWS DynamoDB Management Console at https://console.aws.amazon.com/dynamodb/home:

  1. Click on Create table: 

Figure 6.2: Creating a table

Provide the following details:

    • Table name: Type in awsbootcamp.
    • Primary key:
      • Partition key: Type in id and select Number as the data type
      • Sort key: Type in name and select String as the data type
    • Table settings: If we want to change the default table settings, then uncheck Use default settings and configure the Secondary indexes, Provisioned capacity, and Auto Scaling. For our example, we will change the Read capacity units to 1 and the Write capacity units to 1:

Figure 6.3: Table settings

  1. Once the table configuration has been done, click Create. The table will be created, as shown in the following screenshot:

Figure 6.4: Table listing

Here, we can see the created table and on the right...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images