edit-icon download-icon

Bind an EIP address to an ECS instance

Last Updated: Dec 22, 2017

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 limitation

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 EIP console.

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

    If no available EIP addresses, click Create EIP.

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

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

    BindEIP

  4. In the Bind 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 Security group settings.

Thank you! We've received your feedback.