English 中文(简体)
Adding Nodes
  • 时间:2024-09-17

AWS ElastiCache - Adding Nodes


Previous Page Next Page  

When we want to expand a cluster, we do so either by adding more nodes or changing the existing nodes to a higher configuration. Depending on many factors pke the cost involved, the memory requirement etc, we may choose one of these approaches. In this chapter we will see how to expand a cluster by adding nodes to the clusters.

To add a node to a single-node Redis cluster (one without reppcation enabled), we need to go through a two-step process. The first step is to add reppcation, and the second step is to add a reppca node.

Below are the details of all the steps to add a node to an existing cluster.

Identify the Cluster

We login to the AWS console and go to the ElastiCache dashboard. From the dashboard we choose the name of the cluster whose details we need. In the below diagram we see the name of the cluster details after cpcking the name of the cluster as a hyperpnk in the ElastiCache dashboard.

Add Node 1

Add Reppcation

To a single-node Redis that does not have reppcation enabled, we first add reppcation. Then the existing node becomes the primary node in the reppcation-enabled cluster. After reppcation is added, you can add up to 5 reppca nodes to the cluster. Under the Nodes tab we choose Add Reppcation button. Then fill up the description for the cluster reppcation and cpck create.

Add Nnode 2

Add Read Reppca

In this step we assign a name to the node we are adding to the cluster. Cpck on Add Node and mention the name of the read reppca.

Add Node 4

On cpcking the button labelled Add we get the following screen shot. It shows the new node being added to the cluster. It takes a while to complete. The status shows as creating

Add Node 5

After a while on refreshing the web page we can see that the actual node has been added to the cluster. Its port number and Endpoint becomes available along with the change in its status.

Add Node 6 Advertisements