• Virtual Private Cloud

vpc
  1. Help Center
  2. Virtual Private Cloud
  3. User Guide
  4. Virtual IP Address
  5. Assigning a Virtual IP Address

Assigning a Virtual IP Address

Scenarios

When an ECS requires a virtual IP address or a virtual IP address needs to be reserved, you can assign a virtual IP address from the subnet.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. On the console homepage, under Network, click Virtual Private Cloud.
  4. In the navigation pane on the left, click Virtual Private Cloud.
  5. On the Virtual Private Cloud page, locate the VPC containing the subnet where a virtual IP address is to be assigned, and click the VPC name.
  6. On the Subnets tab, click the name of the subnet where a virtual IP address is to be assigned.
  7. Click the Virtual IP Addresses tab and click Assign Virtual IP Address.
  8. Select the virtual IP address assignment mode.
    • Automatic: The system automatically assigns an IP address.
    • Manual: You can specify an IP address.
  9. Select Manual and enter a virtual IP address.
  10. Click OK.

You can then query the assigned virtual IP address in the IP address list.