In this tutorial, you create a DynamoDB table and use the table to store and retrieve data. You use Python and Boto 3, the AWS SDK for Python, for interacting with the DynamoDB APIs. You also learn a few key ways that DynamoDB (a nonrelational database) differs from traditional relational databases. The tutorial uses an online bookstore application as a guiding example.

You should understand how to model your data to fit both your application’s data access patterns and your database’s underlying model. When architecting a new application, you want to know that your database choice can handle the increased load from additional usage of your application.

DynamoDB provides low-latency performance with near-infinite scaling, so you do not need to worry about performance bottlenecks as your application grows. DynamoDB is accessible over an HTTP API or an HTTPS endpoint, providing a simple, secure interaction model with your database. Finally, DynamoDB is a NoSQL database, allowing for flexible schema design that can evolve with your application.

AWS Experience: Intermediate

Time to complete: 120 minutes

Cost to complete: This tutorial will cost you less than $2 (assuming all services are running for 2 hours)*

Technologies used:

• Active AWS Account**
• Browser: AWS recommends Chrome
Amazon DynamoDB
Amazon Cloud9
AWS SDK for Python (Boto3)

*This estimate assumes you follow the recommended configurations throughout the tutorial and terminate all resources within 2 hours.

**Accounts that have been created within the last 24 hours might not yet have access to the resources required for this project.