Creating tables

Let's make use of the AWS web console to create DynamoDB tables that we can then access later in our code. The first step is to visit the AWS management console main dashboard, then click on DynamoDB:

After clicking on DynamoDB, we will move to the DynamoDB main dashboard, where we can create a new table:

The next step is to pick the table name and the primary keys. As we mentioned earlier, the primary key in DynamoDB can consist of up to two attributes—the partition key and the sort key. Let's say we are creating a table called ...

Get Cloud Native programming with Golang now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.