tencent cloud

Feedback

Modifying Instance AZ

Last updated: 2022-06-22 14:26:34

    You can flexibly switch the AZ in the TencentDB for MongoDB console based on your business needs.

    Overview

    During daily maintenance, you can place your TencentDB for MongoDB and CVM instances in the same AZ to lower the network latency. TencentDB for MongoDB multi-AZ instances support free AZ switch, and single-AZ instances support upgrade to multi-AZ instances.

    Version Requirement

    TencentDB for MongoDB 4.2 doesn't support AZ modification.

    Billing Description

    AZ modification doesn't affect instance billing.

    Notes

    • AZ modification may lead to primary-secondary switch and a momentary disconnection of about 10 seconds; therefore, proceed during the off-peak hours of your business.
    • After AZ modification, you must switch the network to the subnet of the new AZ as instructed in Switching Instance Network.
    • All instance attributes, configurations, and connection address will stay unchanged after AZ modification.

    Prerequisites

    • You have applied for a TencentDB for MongoDB instance.
    • The instance is in Running status.
    • The target AZ and the current instance AZ are in the same region.
    • The instance version is TencentDB for MongoDB 4.0, 3.6, or 3.2.

    Directions

    1. Log in to the TencentDB for MongoDB console.
    2. In the MongoDB drop-down list on the left sidebar, select Replica Set Instance or Sharded Instance. The directions for the two types of instances are similar.
    3. Above the instance list on the right, select the region.
    4. In the instance list, find the target instance.
    5. Click the instance ID to enter the Instance Details page.
    6. In the Basic Info section on the Instance Details page, click Modify AZs after AZ.
    7. In the Modify AZs window, read the prompt carefully and confirm AZ modification.
      Note:

      AZ modification may lead to primary-secondary switch and a momentary disconnection of about 10 seconds; therefore, proceed during the off-peak hours of your business.

    8. Set AZs in the drop-down lists after Primary Node and Secondary Node respectively.
    9. Select the time for executing the AZ switch task after Switch Time.
    • Upon modification completion: The task will be executed immediately after the configuration is completed.
    • During maintenance time: The task will be executed during the maintenance time period.
    1. Click OK.
      The Instance Status in Basic Info becomes Switching AZ. Wait for the task to be completed, and you can see that the AZ has been modified.
    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