We are going to look at creating a DynamoDB table, writing data to the table from hardcoded values, writing data records from a file, and then we are going to show two different ways to query a table:
Creating and writing to a NoSQL database called DynamoDB using AWS
Creating a DynamoDB in AWS
The following steps show how to create a DynamoDB:
- 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/.
- Choose Create table or, in the DynamoDB navigation pane, choose Tables and choose Create table.
- In the Create DynamoDB Table window, perform the following steps:
- Under Table name, type user-visits
- In Primary key for Partition key, type EventId and...