Network Switch

Last updated: 2021-04-02 17:08:55

    Overview

    Tencent Cloud supports classic network and VPC, which are capable of offering a diversity of smooth services. On this basis, we provide more flexible services as shown below to help you manage network connectivity with ease.

    • Network switch
      • Switch from classic network to VPC: a single TencentDB source instance can be switched from classic network to VPC.
      • Switch from VPC A to VPC B: a single TencentDB source instance can be switched from VPC A to VPC B.
    • Custom IP and port
    • Custom source instance IP and port: the IP and port of a source instance can be customized on the instance details page in the console.
    • Custom read-only replica IP and port: the IP and port of a read-only replica can be customized on the instance details page in the console.

    Notes

    • Switching the network may cause the change of instance's private IP. The original IP will become invalid after the repossession time has elapsed. Please modify the instance IP on the client promptly.
      The default repossession time for the original IP is 24 hours and the longest repossession time can be 168 hours. If the repossession time is set to 0 hours, the original IP address will be repossessed immediately after the network switch.
    • The switch from classic network to VPC is irreversible. After the switch to a VPC, the TencentDB instance cannot communicate with Tencent Cloud services in another VPC or classic network.
    • After you switch a source instance's network, the networks of read-only replicas or disaster recovery instances associated with the source instance won’t be automatically switched, that is, you need to manually switch them.

    Directions

    Switching the network

    1. Log in to the TencentDB for MySQL console. In the instance list, click an instance ID/name or Manage in the Operation column to enter the instance details page.
    2. Click Switch to VPC or Change Network after Network in the Basic Info section.
    3. In the pop-up dialog box, select a VPC and corresponding subnet and click OK.

      Note:

      • If there is no IP address specified, one will be automatically assigned by the system.
      • You can only select a VPC in the region of the instance.
      • You are recommended to select the VPC where the CVM instance resides; otherwise, the CVM instance will not be able to access TencentDB for MySQL over the private network, unless a peering connection or a CCN instance is created between the two VPCs.
      • Switch from classic network to VPC
      • Switch from VPC A to VPC B
    4. Return to the instance details page where you can view the network of the instance.

    Customizing the IP and port

    1. Log in to the TencentDB for MySQL console. In the instance list, click an instance ID/name or Manage in the Operation column to enter the instance details page.
    2. Click after Private IP and Private Port on the Basic Info page.

      Note:

      Modifying the private IP and port affects the database business being accessed.

    3. In the pop-up dialog box, specify the IP and port, and click OK.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help