All Products
Search
Document Center

Microservices Engine:Manage the VPC of an instance

Last Updated:Mar 11, 2026

Microservices Engine (MSE) instances with the Internet network type expose only a public endpoint, which means you can access the instance only over the Internet. To route traffic over an internal network and improve stability, switch the network type to virtual private cloud (VPC).

If your instance already uses a VPC but the current VPC is no longer valid -- for example, after migrating applications to a different VPC -- you can switch to a new VPC without recreating the instance.

Prerequisites

Before you begin, make sure that you have:

Switch the network type 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, then click OK.

  6. Verify that the VPC and vSwitch now appear in the Network Information section.

Change the VPC of an instance

Use this procedure when the instance already has a VPC configured and you need to switch to a different one.

Important
  • After you change the VPC, services in the original VPC -- such as Elastic Compute Service (ECS) and Container Service for Kubernetes (ACK) -- can no longer access the instance.

  • The original internal endpoint is deleted. A new internal endpoint is generated after the change completes.

  • 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 new VPC and vSwitch, then click OK.

  6. Verify that the new VPC and vSwitch appear in the Network Information section. Update your application configurations to use the new internal endpoint.