Scenario
Elastic IP (ElP) is a static IP designed for dynamic cloud computing and a fixed public IP in a certain region. With EIP, you can quickly remap an address to another instance in your account or NAT gateway instance to avoid instance failure. This document describes how to use EIPs.
Prerequisites
Directions
Apply for EIPs
1. In the left sidebar, click Public IP to enter the EIP management page. 2. Click Apply on the EIP management page.
3. In the pop-up Apply for EIP window, select the region, IP address type, billing method and bandwidth limit, and enter the number of EIPs you want to apply for.
Note:
A standard account is taken as an example below. If you are unsure of your account type, see Account Types. |
IP Address Type | Tencent Cloud supports various types of EIPs, such as general BGP IP, premium BGP IP, accelerated IP, static single-line IP, and anti-DDoS EIP. General BGP IP: The domestic multi-line BGP network covers more than twenty ISPs (including the three major ISPs, CERNET, and China Broadnet). The BGP public network outbound supports switchover across regions within seconds, providing your users with high-speed and secure networks. Premium BGP IP: Dedicated lines can avoid the use of international ISP services. The latency is lower, which effectively improves the quality of overseas services for users in Chinese Mainland. Accelerated IP: Anycast is used for acceleration to ensure more stable and reliable public network access with a low latency. Static single-line IP: Users can access the public network using services of a single ISP, featuring low cost and convenient scheduling. Anti-DDoS EIP: This type of GBP IP provides Tbps-level cloud-native DDoS protection capability and should be used together with Anti-DDoS Pro for Enterprise. After the IP address is bound to business resources and Anti-DDoS Pro resources, uses can enjoy the anti-DDoS capability. |
IP Resource Pool | If certain adjacent IP addresses need to be reserved for your services or IP addresses in a specific network segment should be allocated, you can submit a ticket for consultation. A dedicated IP resource pool will be assigned for you. Dedicated resource pools are supported for general and premium BGP IPs and static single-line IPs currently. For the fees, please consult your business manager. |
Billing Mode | General BGP IPs support billing by traffic and bandwidth package. For details, see Public Network Fees. Accelerated IPs, static single-line IPs, and anti-DDoS EIPs support only billing by bandwidth package. Other billing modes are not supported now. |
Bandwidth Cap | Set the bandwidth cap based on your needs and allocate bandwidth resources reasonably. |
Amount | Determine the amount of EIPs to be applied as needed and make sure that the amount does not exceed the total quota. For details, see Quota Limit in Usage Restrictions. |
Name | Specify the EIP instance name. This parameter is optional. |
Tag | You can add a tag for permission management. |
4. Click OK to complete the EIP application.
5. After the application is completed, you can see in the list the EIP you have applied for, which is in an unbound status.
Bind EIPs to cloud products
1. In the left sidebar, click Public IP to enter the EIP management page. 2. In the EIP management page, select the EIP which you want to bind to a cloud product and click More > Bind.
Note:
If the EIP has been bound to a instance, please unbind it first.
3. In the pop-up “Bind resources” window, select the resource to be bound to the EIP and click OK.
4. In the pop-up window, click OK to complete binding the EIP to the cloud product.
Unbind EIPs from cloud products
1. In the left sidebar, click Public IP to enter the EIP management page. 2. In the EIP management page, select the EIP which you want to unbind from the cloud product and click More > Unbind.
3. In the pop-up “Unbind EIP” window, confirm the unbinding information and click OK.
4. In the pop-up window, click OK to complete unbinding the EIP from the cloud product.
Note:
After unbinding, the cloud product instance may be assigned a new public IP, which may be different from the one before binding.
Release EIPs
1. In the left sidebar, click Public IP to enter the EIP management page. 2. In the EIP management page, select the EIP which you want to release from the cloud product and click More > Release.
3. In the pop-up “Are you sure you want to release the selected EIPs?” window, select Release the above EIPs and click Release.
Adjust Bandwidth
1. In the left sidebar, click Public IP to enter the EIP management page. 2. Select the EIP whose bandwidth needs to be adjusted and click Adjust network
3. In the pop-up “Change bandwidth” window, configure the bandwidth value and click OK to complete the adjustment.
Convert a public IP to an EIP
The public IP purchased along with the CVM instance is not elastic and cannot be mounted or unmounted. Tencent Cloud allows you to convert the public IP to an EIP by the following steps:
1. In the left sidebar, click instances to enter the instance management page. 2. Select the instance whose public IP needs to be converted to an EIP and then click , as shown below: 3. In the pop-up “Convert to EIP” window, click OK.
Troubleshoot Exceptions
Network inaccessibility may occur with an EIP due to the following reasons:
The EIP is not bound to any cloud product. For more information about how to bind an EIP to the cloud product, please see bind EIPs to cloud products. Security policy is invalid. Check if there is a valid security policy (security group or network ACL). If the bound cloud product has a security group policy, such as access to 8080 port is denied, the port 8080 of the EIP is also inaccessible.
Was this page helpful?