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.
The ECS instance to be bound must meet the following requirements:
|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|
Log on to the EIP console.
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.
Click Bind in the Actions column of the target EIP address.
In the Bind dialog box, follow these steps:
Instance type: Select ECS Instance.
ECS instance: Select the ECS instance to be bound.
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.