Introducing Dragonfly Cloud! Learn More

Question: How can you scale Azure Redis Enterprise?

Answer

Scaling in Azure Redis Enterprise is a simple and straightforward process, facilitated by the platform's built-in tools. You can scale either up (vertical scaling) or out (horizontal scaling) depending on the demands of your application.

  1. Vertical Scaling: This involves increasing the processing power of an existing node, usually by upgrading to a more powerful machine. To do this:
    • Navigate to your Redis Enterprise resource in the Azure portal.
    • Click on the "Properties" section on the left panel.
    • In the "Size" field, select a larger size to upgrade your instance.
# Sample Azure CLI command az redis enterprise update --name mycache --resource-group myresourcegroup --sku Enterprise_E10 --location westus
  1. Horizontal Scaling: This refers to adding more nodes to your Redis cluster. Adding nodes can improve performance by distributing load across multiple nodes and providing additional redundancy.

To horizontally scale:

  • Go to your Redis Enterprise cluster page in the Azure portal.
  • Move to "Nodes" tab.
  • Click on "Add Node" and follow the prompts to add a new node to your cluster.
# Sample Azure CLI command az redis enterprise cluster node create --cluster-name mycluster --node-type primary --region 0 --zone-redundant false --resource-group myresourcegroup

Remember, it's essential to monitor the performance of your Redis instances to determine when it is necessary to scale. Use Azure Monitor and Azure Log Analytics to gain insights into your Redis performance metrics.

Was this content helpful?

White Paper

Free System Design on AWS E-Book

Download this early release of O'Reilly's latest cloud infrastructure e-book: System Design on AWS.

Free System Design on AWS E-Book

Start building today 

Dragonfly is fully compatible with the Redis ecosystem and requires no code changes to implement.