This lab uses DynamoDB to store User data and Game result. We are going to store simple information, and this information will be used to Leaderboard on our static web page.
Additionally, we will use ElastiCache in front of DynamoDB for caching. Because your game “Gomoku” will be very popular, so we need cache layer for performance and reliability!
First things first, let’s make DynamoDB first.
Set Table name as “GomokuPlayerInfo”, and Primary Key “PlayerName”. Make data type as “String”. Let’s click “Create button”.
Enable “Stream” on your DynamoDB Table. It is disabled as default, so select “Exports and streams” tab and click “Enable” button on DynamoDB stream details.
Basic configuration is ended. Let’s make Test Data Sample. Click “Explore table Items” in the upper right corner.
Click “Create Item”, and make new Item.
Click Create Item button on the editor, and append item.
Put data on your new item same as below. Click “Create Item” to store Item. (Check the data type)
Ok. This is Basic settings of DynamoDB. Nextly we are making ElastiCache.