Updated on 2024-12-04 GMT+08:00

Switching a Node Subnet

Scenario

This section describes how to switch subnets for nodes in a cluster.

Constraints

  • Only subnets in the same VPC as the cluster can be switched. The security group of the node cannot be switched.

Procedure

  1. Log in to the ECS console.
  2. Click More > Manage Network > Change VPC in the Operation column of the target ECS.
  3. Set parameters for changing the VPC.

    • VPC: Select the same VPC as that of the cluster.
    • Subnet: Select the target subnet to be switched.
    • Private IP Address: Select Assign new or Use existing as required.
    • Security Group: Select the security group of the cluster node. Otherwise, the node is unavailable.

  4. Click OK.
  5. Go to the CCE console and reset the node. You can use the default parameter settings. For details, see Resetting a Node.