Time to Complete Module: 30 Minutes
Amazon DynamoDB is a fully-managed NoSQL database provided by AWS. It provides single-digit millisecond response times and near-infinite scalability. DynamoDB is used by a wide variety of applications and industries, from the Amazon.com shopping cart to Lyft’s geolocation service to a wide variety of online games.
All interaction with DynamoDB is done over HTTPS using AWS Identity and Access Management (IAM) for authentication and authorization. Usually, you use the AWS SDK for your language of choice to interact with DynamoDB. If you are using AWS compute options for your application, such as Amazon Elastic Compute Cloud (Amazon EC2) or AWS Lambda, your application can use the AWS credentials in your compute environment to make requests to DynamoDB.
In this module, you provisioned an Amazon DynamoDB database to store your game data. You learned about primary keys in DynamoDB in modeling your data. After creating a table, you learned how to insert items into a table to store initial game state. Finally, you saw how to update items in your data to avoid making multiple requests to DynamoDB in a single request.
In the next module, you learn about using Amazon Simple Notification Service (Amazon SNS) to send SMS messages to notify your users about important events in their game.