- Discussion
- Useful Resources
- Quick Guide
- Managing Costs
- Managing Tags
- Events
- SNS Notifications
- IAM policies
- Delete Memcached Cluster
- Connecting to Cluster in VPC
- Creating Memcached Cluster
- Memcached VPC
- Add TTL
- Write Through
- Lazy Loading
- Accessing Memcached Cluster
- Memcached & Redis
- Monitoring Node - Metrics
- Backup and Restore
- Engine Parameters
- Deleting Parameters
- Listing Parameters
- Parameter Group
- Redis Shards
- Delete Cluster
- Scaling the Clusters
- Removing Nodes
- Adding Nodes
- Rebooting Cluster
- Modifying Cluster
- Accessing Cluster
- Cluster Endpoints
- Viewing Cluster Details
- Launching Cluster
- Interfaces
- Environment
- Overview
- Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
AWS ElastiCache - Adding Nodes
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 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 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.
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
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.
Advertisements