Creating a DynamoDB in AWS

The following steps show how to create a DynamoDB:

  1. You need to sign in to the AWS Management Console first and then open the AWS DynamoDB console at https://console.aws.amazon.com/dynamodb/.
  2. Choose Create table or, in the DynamoDB navigation pane, choose Tables and choose Create table.
  3. In the Create DynamoDB Table window, perform the following steps:
    1. Under Table name, type user-visits
    2. In Primary key for Partition key, type EventId and choose String
    3. Check the Add sort key box
    4. In Sort Key, type EventDay and choose Number

The partition key and hash key can be used interchangeably, like sort key and range keys. A primary key can be the partition key alone, or a composite key with both a partition key and a sort key.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset