edit-icon download-icon

Allocate a public IP

Last Updated: Aug 04, 2017

If a VPC ECS instance needs to access the Internet, you can choose to allocate a public IP for it when creating the ECS instance.

As shown in the following figure, after you have chosen the VPC and VSwitch where the ECS instance is created, you have to set a network bandwidth peak. The value must be larger than 0 so that a public IP will be allocated to the ECS instance after it is created.

Note:

  • Only when the specified network bandwidth peak is larger than 0, a public IP will be allocated. Otherwise, no public IP is allocated. In this situation, you can bind an Elastic IP to the ECS instance as an alternative.

  • You cannot unbind the system allocated IP from the ECS instance.

Bandwidth peak

After the ECS instance is created, you can view the public IP on the Instance List page. You can use this public IP to access the ECS instance in the public network.

public IP

Thank you! We've received your feedback.