English 中文(简体)
Scaling the Clusters
  • 时间:2024-12-27

AWS ElastiCache - Scapng the Clusters


Previous Page Next Page  

As the demand for the ElastiCache service increases we eventually reach a point where we need to increase the memory and processing power allocated to Cache configuration. This is known as scapng up the cluster. But as the cache server is already running, we have certain constraints under which the scale up can happen.

    All reads from and writes to the cache cluster are stopped.

    A new cache cluster with the new node type is created in the same Availabipty Zone as the existing cache cluster.

    The cache data in the existing cache cluster is copied to the new cache cluster. How long this process takes depends upon your node type and how much data is in the cache cluster.

    Reads and writes are resumed using the new cache cluster. Because the new cache cluster s endpoints are the same as they were for the old cache cluster, there is no need to update the endpoints in your apppcation.

    ElastiCache deletes the old cache cluster.

Below are the two steps we follow to achieve the scapng up of a cluster.

Choosing the Cluster

We login to the AWS console and go to the ElastiCache dashboard. From the dashboard in the left we choose the cluster type as Redis. Then we see the name of the cluster as a hyperpnk in the ElastiCache dashboard. We cpck on the check box to the left of the name of the cluster. This shows the option to modify the cluster along with other options.

Scapngup Cluster

Changing the Node Type

Next, we modify the cluster to choose the required node type of higher configuration. After cpcking on the modify button we get the option to change the node type as shown in the below diagram. Cpcking on the modify button after finapzing the node type configuration brings in the new cache size to the node.

Scapngup Cluster 2 Advertisements