Book Image

Amazon Web Services Bootcamp

Book Image

Amazon Web Services Bootcamp

Overview of this book

AWS is at the forefront of Cloud Computing today. Businesses are adopting AWS Cloud because of its reliability, versatility, and flexible design. The main focus of this book is teaching you how to build and manage highly reliable and scalable applications and services on AWS. It will provide you with all the necessary skills to design, deploy, and manage your applications and services on the AWS cloud platform. We’ll start by exploring Amazon S3, EC2, and so on to get you well-versed with core Amazon services. Moving on, we’ll teach you how to design and deploy highly scalable and optimized workloads. You’ll also discover easy-to-follow, hands-on steps, tips, and recommendations throughout the book and get to know essential security and troubleshooting concepts. By the end of the book, you’ll be able to create a highly secure, fault tolerant, and scalable environment for your applications to run on.
Table of Contents (16 chapters)

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...