In this lab, you learn how to build a multiplayer, turn-based game using Amazon DynamoDB and Amazon Simple Notification Service (Amazon SNS).

Amazon DynamoDB is a fully-managed, NoSQL database that provides lightning-fast performance at any scale.

Amazon SNS is a high-volume messaging service that allows for pub/sub functionality as well as messaging directly to SMS, email, or mobile applications.

Amazon DynamoDB and Amazon SNS are common choices for use in game applications. Both services provide high-scalability with ease of use and straight-forward pricing.

Some of the key reasons to use Amazon DynamoDB and Amazon SNS for your game application are:

  • Performance: Amazon DynamoDB provides single-digit millisecond latency at any scale.
  • Pay-per-use: Both Amazon DynamoDB and Amazon SNS offer pay-per-use pricing models. This eases development and ensures your bill only grows as your user base does.
  • Fully-managed: Both Amazon DynamoDB and Amazon SNS do not require you to provision servers, perform upgrades, or handle failovers. All operations are managed by AWS, allowing you to focus on building your application.

AWS Experience: Intermediate

Time to complete: 2.5 hours

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

Technologies used:

• Active AWS Account**
• Browser: AWS recommends Chrome
• Amazon DynamoDB
• Amazon SNS
• Amazon Cloud9
• Amazon Cognito
• AWS Lambda
• Amazon API Gateway
• AWS SDK for Node.js

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

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