Hands-on Labs for Amazon DynamoDB

In this workshop, you will learn to create and work with Amazon DynamoDB.

Here’s what this workshop includes:

  • Getting Started
  • In this chapter, we’ll cover the prerequisites needed to get started with Amazon DynamoDB. You’ll create DynamoDB tables and use a AWS Cloud9 envrironment to query these tables. The deployment architecture that you will be building in this lab will look like the below.

  • Explore DynamoDB with the CLI
  • We will be exploring DynamoDB with the AWS CLI using the AWS cloud9 management Console. If you haven’t already, choose open IDE to launch AWS Cloud9 environment. You can close the Welcome screen and adjust your terminal to increase screen area, or close all the windows and navigate to Window -> New Terminal to open a new terminal window. The highest level of abstraction in DynamoDB is a Table (there isn’t a concept of a “Database” that has a bunch of tables inside of it like in other NOSQL or RDBMS services).

  • Explore the DynamoDB Console
  • In this lab we will be exploring the DynamoDB section of the AWS Management Console. There are two versions of the console and while you can always click “Revert to the current console” we will be working with V2 of the console. The highest level of abstraction in DynamoDB is a Table (there isn’t a concept of a “Database” that has a bunch of tables inside of it like in other NOSQL or RDBMS services).

  • Backups
  • Amazon DynamoDB offers two types of backup, on-demand and point-in-time recovery (PITR). PITR is on a rolling window, on-demand backups stay around forever (even after the table is deleted) until someone tells DynamoDB to delete the backups. When you enable PITR, DynamoDB backs up your table data automatically with per-second granularity. The retention period is a fixed 35 days (5 calendar weeks) and can’t be modified. However, large enterprise customers who are used to deploying tradition backup solutions in their data centers often want a centralized backup solution that can schedule backups through “jobs” and handle tasks such as expiring/deleting older backups time, monitoring the status of on-going backups, verifying compliance, and finding / restoring backups, all using a central console.

  • Cleanup
  • Cleanup Resources Created During Lab

Target audience

This workshop is designed for developers, engineers, and database administrators who are involved in designing and maintaining DynamoDB applications.

Requirements

Basic knowledge of AWS services

Basic understanding of DynamoDB

  • If you’re not familiar with DynamoDB or are not participating in this lab as part of an AWS event, consider reviewing the documentation on “What is Amazon DynamoDB?

If you’re not part of an AWS event and you haven’t recently reviewed DynamoDB design concepts, we suggest you watch this video on Advanced Design Patterns for DynamoDB, which is about an hour in duration.