edit-icon download-icon

Bind an EIP address to an ECS instance

Last Updated: Apr 11, 2018

You can bind an EIP address to an ECS instance in any VPC as needed to make the instance accessible to the Internet, and release it whenever the Internet communication is not needed.

ECS instance limits

The ECS instance to be bound must meet the following requirements:

ECS instanceRequirements
Network type VPC
Region The same as the EIP address
Status Running or stopped
Quantity One ECS instance can only be bound with one EIP address at a time

Procedure

  1. Log on to the VPC console.

  2. In the left-side navigation pane, click Elastic IP Addresses.

  3. Choose a region. All Elastic IP addresses under the selected region are displayed.

    If there is no available EIP instance, click Create EIP.

    Note: Ensure that the EIP address and the VPC ECS instance to be bound are in the same region. For more information, see Apply for an EIP address.

  4. Click Bind in the Actions column of the target EIP address.

  5. In the displayed dialog box, follow these steps:

    1. Instance type: Select ECS Instance.

    2. ECS instance: Select the ECS instance to be bound.

    3. Click OK.

After the EIP address is bound to the ECS instance, the ECS instance can communicate with the Internet. Make sure the configured security group rules do not block the Internet access. For more information, see Use secuirty groups to control ECS instances’ access to public cloud for a VPC.

Thank you! We've received your feedback.