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 click “Manage Stream” button on the console.
Basic configuration is ended. Let’s make Test Data Sample. Click “Items” tab on table.
Click “Create Item”, and make new Item.
Click + button on the editor, and append item.
Put data on your new item same as below. Click “Save” to store Item. (Check the data type)
Ok. This is Basic settings of DynamoDB. Nextly we are making ElastiCache.