To get started, you will learn how to set up your first Redis Cluster, and configure its node type and security group.

Time to Complete Module: 10 Minutes

 


Step 1.1

(Click to enlarge)

Step 1.1
Step 1.2

(Click to enlarge)

Step 1.2
Step 1.3

(Click to enlarge)

Step 1.3

Step 1.4

(Click to enlarge)

Step 1.4

That node type is fine for this tutorial, but for a production cluster the size of the node should depend on your workload and you should start with the m5 or r5 instance families.

Step 1.5

(Click to enlarge)

Step 1.5

That read-only replica will allow you to scale your reads. In case of a failure, an automatic failover will be triggered and the replica will take over the role of the master node.

Step 1.6

(Click to enlarge)

Step 1.6

Step 1.7

(Click to enlarge)

Step 1.7

If you need more information about Subnet groups, please refer to the documentation.

Step 1.8

(Click to enlarge)

Step 1.8

Each node will be created in a different availability zone. This is a best practice for improved reliability.

Step 1.9

(Click to enlarge)

Step 1.9

For this example we won’t use encryption, but keep in mind you can configure both encryption for data at-rest and for data in-transit.


This is important: make sure the Security group you select allows incoming TCP connections on port 6379 from your EC2 instance. If that’s not the case, you won’t be able to connect to your Redis nodes.

Step 1.10

(Click to enlarge)

Step 1.10

For this example, we won’t load any seed RDB file so we can skip this configuration step altogether. Just keep in mind that this option is available.


Daily backups are important for most use cases, and a good recommendation is to enable backups with a retention period that will give you enough time to act in case anything bad happens. For this tutorial, we won’t use any backups.


Step 1.11

(Click to enlarge)

Step 1.11

For this tutorial, it suffices to specify “No preference”.

Here you can think about the time and day when your application has a low workload. For our current needs, we can just state “No preference”.

Step 1.12

(Click to enlarge)

Step 1.12

After a review of all the fields in the form, click “Create”.


A Redis Cluster will get initialized and once it becomes “available” you will be able to continue the next step.

Step 1.13

(Click to enlarge)

Step 1.13

A Redis Cluster will get initialized and once it becomes “available” you will be able to continue the next step.