Help Center> Elastic IP > User Guide> Global EIPs> Binding a Global EIP to an Instance
Updated on 2024-05-10 GMT+08:00

Binding a Global EIP to an Instance

Scenarios

Bind a global EIP to an instance, such as an ECS or a load balancer, to enable the instance to communicate with the Internet through the global EIP.

Notes and Constraints

  • A global EIP can be bound to only one instance at a time.
  • After a global EIP is bound to an ECS, the VPC of the ECS cannot be changed, and no more EIP can be bound to the ECS.

Prerequisites

  • The required instance (such as ECS or ELB) has been created.
  • For an ECS, you also need to create an internet gateway for the VPC that the ECS belongs to.

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, choose Networking > Cloud Connect.

    The network console is displayed.

  4. In the navigation pane on the left, choose Internet > Global Elastic IPs.

    The global EIP console is displayed.

  5. In the global EIP list, search for or locate the target global EIP.
  6. Locate the target global EIP, and click Bind Instance in the Progress column.

    The page for binding an instance is displayed.

  7. Select the region that the instance to be bound is located.

    A global EIP can be bound to an instance in any region.

  8. Select the type of the instance to be bound and then select the instance.
  9. Select the internet gateway to be bound.

    The system automatically lists the internet gateway of the VPC that the instance belongs to, if there is one.

  10. Click Next.
  11. Configure Global Connection Bandwidth, Bandwidth Name, and Bandwidth as prompted.
  12. Click OK.

    In the global EIP list, you can see that the global EIP has instance bound.