Amazon DynamoDB

Amazon DynamoDB is a key-value and document database that delivers single-digit millisecond performance at any scale. It’s a fully managed, multiregion, multimaster, durable database with built-in security, backup and restore, and in-memory caching for internet-scale applications. DynamoDB can handle more than 10 trillion requests per day and can support peaks of more than 20 million requests per second.

This lab is taken from the Python and DynamoDB tutorial. You can follow it here or use this tutorial for future reference.

In the lab we will use Amazon DynamoDB rather than a local version. You are going to use the Python SDK (Boto 3) to write some simple programs to perform the following Amazon DynamoDB operations

  • Create a table called Movies and load sample data in JSON format.
  • Perform create,read,update, and delete operations on the table.
  • Run simple queries.

As you work through lab, you can refer to the AWS SDK for Python (Boto) documentation. The following sections are specific to DynamoDB: