Help Center/ Cloud Bastion Host/ User Guide/ Instances/ Changing a VPC for a CBH Instance
Updated on 2024-09-24 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 and select a region or project. In the upper left corner of the page, click and select a region. Choose Security & Compliance > Cloud Bastion Host to go to the CBH instance management page.

    Figure 1 Instances
    Table 1 Instance parameters

    Parameter

    Description

    Instance Name

    Instance name you specify. It cannot be modified after the instance is created.

    Status

    Status of the instance, including the status of the standby node.

    Instance Type

    Instance type you select.

    Login Address

    Private IP address of an instance.

    EIP

    EIP of the instance.

    Billing Mode

    Billing mode of the current instance.

    Enterprise Project

    Enterprise project that the instance belongs to.

  3. Locate the row that contains the target instance. In the Operation column, choose More > Configure Network > Change VPC.
  4. 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.