tencent cloud

Feedback

Adding Replicas to Multi-AZ Deployed Instance

Last updated: 2022-04-25 15:59:07

    Overview

    A multi-AZ deployed instance uses the one-replica architecture by default. One master node and two replica nodes are recommended, with the master node and one replica node deployed in the master AZ and the other replica node deployed in the replica AZ. This deployment mode maximizes the service availability and greatly reduces the delay caused by failures of the master node. If the master node fails, the replica node in the master AZ can be first elected as the new master node, ensuring that the access latency in the master AZ will not be affected by the switch of the master node to the replica AZ otherwise. For more information, see Multi-AZ Deployment. We recommend you select the number of replicas based on your business needs.

    Billing Description

    • Pay-as-you-go: The instance will be billed based on the new specification on the next hour under tier 1, and fees will be settled on each hour. For pricing details, see Pricing.

    Notes

    • The number of replicas cannot be reduced for multi-AZ deployed instances.
    • If the number of replicas is increased, the instance will be charged at the price of the new specification.
    • Increasing the number of replicas will not cause momentary disconnections or command execution failures or affect existing connections.

    Prerequisites

    Directions

    1. Log in to the TencentDB for Redis console.
    2. Above the instance list on the right, select the region.
    3. In the instance list, find the target instance.
    4. In the Operation column of the target instance, select Configure > Add Replica.
    5. In the TencentDB for Redis Configuration Changes pop-up window, select the number of replicas to be added from the Add Replica drop-down list. Then, select AZs for them in the AZ drop-down list. The parameters are as described below.
      ParameterDescription
      Used Capacity Capacity used by the current instance.
      Min Memory Minimum memory specification of the current instance required to prevent the disk space from being used up.
      Add Replica Specify the number of replicas to be added based on the required security level of your business data.
      AZ Specify AZs for the added replicas. For more information on how to configure this parameter, see Multi-AZ Deployment.
      Compare Comparison of the specification before and after adding replicas. Check whether the new configuration meets your expectations.
      Configuration Change Fee Make sure that you understand the billing information of the new configuration. The hourly rate of the new configuration will be displayed for pay-as-you-go instances.
    1. After completing the configuration, click OK. Then, the instance status will change to Processing. Wait for the status to become Running.
    API Description
    UpgradeInstance Upgrades instance specification, including the shard size, shard quantity, and replica quantity.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support