Help Center> Cloud Bastion Host> User Guide> Instances> Changing a VPC for a CBH Instance
Updated on 2024-06-28 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.
  • At least three IP addresses are required in the VPC subnet you will use.
  • The CBH instance version must be V3.3.52.0 or later.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. In the navigation pane on the left, click and choose Security & Compliance > Cloud Bastion Host to go to the CBH console.

    Figure 1 Instances

  4. Locate the row that contains the target instance. In the Operation column, choose More > Configure Network > Change VPC.
  5. In the dialog box displayed, specify VPC and Subnet.

    Figure 2 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.