Help Center/ Cloud Bastion Host/ User Guide/ Managing Instances/ Changing a VPC for a CBH Instance
Updated on 2025-09-04 GMT+08:00

Changing a VPC for a CBH Instance

This topic describes how to change the VPC your CBH instance belongs to on the CBH console. Provisioning your CBH instances and other projects in the same VPC will make communications between them more secure and stable.

Constraints

  • The CBH instances must be in the Running status.
  • Before changing the VPC, ensure that there are enough Available IP Addresses in the target VPC subnet. To check available IP addresses, go to the VPC console and select the target subnet.
    • Single-node instance: At least one IP address is required.
    • Primary/Standby instance: At least three IP addresses are required.
  • The CBH instance version must be V3.3.52.0 or later.

Procedure

  1. Log in to the CBH console.
  2. Click in the upper left corner on the displayed page and select a region.
  3. Locate the row that contains the target instance. In the Operation column, choose More > Configure Network > Change VPC.
  4. Select the target VPC and subnet from the VPC and Subnet drop-down lists.

    Figure 1 Change VPC

    After changing the VPC, you need to remove the CBH instance from the original VPC subnet, or the subnet will still be used.

  1. Click OK.