All Products
Search
Document Center

Microservices Engine:Manage the VPC of an instance

Last Updated:Oct 25, 2024

If you purchase an instance whose network type is Internet, only the public endpoint is provided for the instance, and you can access the instance only over the Internet. To improve network stability, you can change the network type of the instance to virtual private cloud (VPC). This way, you can access the instance over a VPC. If you select an invalid VPC when you purchase an instance or applications are migrated to another VPC, you can change the VPC for the instance. This topic describes how to change the network type of a Microservices Engine (MSE) instance from Internet to VPC. This topic also describes how to change the VPC of an instance.

Prerequisites

Change the network type of an MSE instance from Internet to VPC

  1. Log on to the MSE console, and select a region in the top navigation bar.

  2. In the left-side navigation pane, choose Microservices Registry > Instances.

  3. On the Instances page, click the name of the instance.

  4. In the Network Information section of the Basic Information page, click Configure VPC.

  5. In the Configure VPC dialog box, select a VPC and a vSwitch based on your business requirements, and click OK.

    After you add VPC information, you can check whether the VPC and vSwitch are displayed on the Basic Information page.

Change the VPC of an MSE instance

Important
  • After you change the VPC to which an MSE instance belongs, other services that belong to the original VPC cannot access the instance. These services include ECS and ACK.

  • After you change the VPC, the original internal endpoint is deleted. After the system completes the change, the new internal endpoint is displayed.

  • You can change the VPC of an MSE instance but cannot delete the VPC.

  1. Log on to the MSE console, and select a region in the top navigation bar.

  2. In the left-side navigation pane, choose Microservices Registry > Instances.

  3. On the Instances page, click the name of the instance.

  4. In the Network Information section of the Basic Information page, click Configure VPC.

  5. In the Configure VPC dialog box, select a VPC and a vSwitch based on your business requirements, and click OK.

    After the change is complete, you can check whether the new VPC and vSwitch are displayed on the Basic Information page.