Nextly, we will configure ElastiCache. This cache will store ranking data.
Click “Create” button to create “Redis”. (It takes time to create Redis)
If you would like to make ElastiCache on specific VPC, you can configure VPC settings on “Advanced Redis settings”.
When Redis cluster turns it’s status “Available”, check Primary Endpoint. We use this endpoint on our Lambda functions.
Nextly, make Security Group for this ElastiCache. We are making very simple Security Group for our resources.
Let’s move to VPC console(https://console.aws.amazon.com/vpc). Click “Security Group” menu on left side tab and create Security Group.
Put right information on Name tag, Group name, etc and Select default VPC.
We should fix inbound policy in this security group. Select Security Group and Click Inbound Rules.
Click “Edit” button, and create inbound policy like below. Put Security Group ID itself as source. In this policy, it is able to communicate between resources that have this security group.
After you finish creating Security Group, move to ElastiCache Console. Select Redis that we made.
Click “Modify” on the above, Modify Security Group settings to apply Security Group that we created before
Now we finish ElastiCache configurations, next page is for SQS.