An elastic IP address (EIP) is a public IP address that you can purchase and use as an independent resource. You can apply for a new EIP, a released EIP, or a contiguous EIP group.
Operations
Apply for a new EIP
- Log on to the Elastic IP Address console .
- On the Elastic IP Addresses page, click Create EIP.
- On the page that appears, set the parameters described in the following table, click Buy Now, and then complete the payment.
Parameter Description Billing Method Select a billing method for the EIP.
EIPs support the subscription and pay-as-you-go billing methods.- Subscription: You are charged a subscription fee based on the specified maximum bandwidth value of the EIP. For more information, see Subscription.
- Pay-as-you-go: You are charged for the resources that you use. The pay-by-data-transfer and pay-by-bandwidth metering methods are supported. For more information, see Pay-as-you-go.
Subscription Region Select the region where you want to create the EIP. You can associate the EIP with a cloud resource in a virtual private cloud (VPC), such as an Elastic Compute Service (ECS) instance, a NAT gateway, a Classic Load Balancer (CLB) instance, a high-availability virtual IP address (HAVIP), or a secondary elastic network interface (ENI). Make sure that the EIP and the cloud resource are deployed in the same region.
ISP Select a line type for the EIP. - BGP (Multi-ISP): provides premium BGP lines across the world. BGP lines from different ISPs are used at the same time and the optimal BGP line is automatically selected to ensure network stability. Supported ISPs are China Telecom, China Unicom, China Mobile, China Mobile Tietong, China Netcom, CERNET, NRTA, Dr.Peng Group, and Founder Broadband.
- BGP (Multi-ISP)_Pro: BGP (Multi-ISP) Pro is provided to improve the efficiency of data transmission from regions outside the Chinese mainland to the Chinese mainland. Compared with BGP (Multi-ISP), when BGP (Multi-ISP) Pro provides services to users in the Chinese mainland (excluding data centers), cross-border connections are established by using Chinese mainland ISP services. This reduces network latency. Note BGP (Multi-ISP) Pro is available only in the China (Hong Kong) region.
Netmode Select a network type for the EIP. You can select only Public.
Bandwidth Specify a bandwidth value for the EIP. Unit: Mbit/s. Name Enter a name for the EIP. Quantity Specify the number of EIPs that you want to purchase. Duration Select a subscription duration and specify whether to enable auto-renewal. Pay-As-You-Go Region Select the region where you want to create the EIP. You can associate the EIP with an ECS instance, a NAT gateway, a Server Load Balancer (SLB) instance, an HAVIP, or a secondary ENI. Make sure that the EIP and the cloud resource are deployed in the same region.
Line Type Select a line type for the EIP. - BGP (Multi-ISP): provides premium BGP lines across the world. BGP lines from different ISPs are used at the same time and the optimal BGP line is automatically selected to ensure network stability. Supported ISPs are China Telecom, China Unicom, China Mobile, China Mobile Tietong, China Netcom, CERNET, NRTA, Dr.Peng Group, and Founder Broadband.
- BGP (Multi-ISP) Pro: BGP (Multi-ISP) Pro is provided to improve the efficiency of data transmission from regions outside the Chinese mainland to the Chinese mainland. Compared with BGP (Multi-ISP), when BGP (Multi-ISP) Pro provides services to users in the Chinese mainland (excluding data centers), cross-border connections are established by using Chinese mainland ISP services. This reduces network latency.Note BGP (Multi-ISP) Pro is available only in the China (Hong Kong), Japan (Tokyo), Singapore, Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
Network Mode Select a network type for the EIP. You can select only Internet.
Security Protection Select an edition of Anti-DDoS based on your requirements. - Default: specifies Anti-DDoS Origin Basic, which can mitigate DDoS attacks at 5 Gbit/s or lower. For more information, see What is Anti-DDoS Origin?.
- Anti-DDoS (Enhanced): specifies Anti-DDoS Pro/Premium, which can mitigate DDoS attacks at the Tbit/s level. ImportantWhen you use EIPs protected by Anti-DDoS Pro/Premium, pay attention to the following items:
- If this is the first time you use EIPs protected by Anti-DDoS Pro/Premium, click Anti-DDoS Origin (Pay-as-you-go) to activate Anti-DDoS Origin that uses the pay-as-you-go billing method.
- When you use EIPs protected by Anti-DDoS Pro/Premium, Anti-DDoS charges you protection fees. For more information, see Pay-as-you-go.
- Anti-DDoS Pro/Premium is supported only in some regions. For more information about the supported regions, see Anti-DDoS editions.
IP Address Pool Select an IP address pool based on your business requirements. - By default, Default is selected. The system assigns an EIP from the public IP address pool of Alibaba Cloud.
- If you select an IP address pool, the system assigns an EIP from the specified IP address pool.
For more information about IP address pools, see Create and manage IP address pools.
To use the IP address pool feature, apply for the privilege in the Quota Center console. For more information, see Request a quota increase.
Data Transfer Select a metering method for the EIP. - Pay-By-Bandwidth: You are charged based on the specified maximum bandwidth per day, regardless of the actual usage.
- Pay-By-Data-Transfer: You are charged based on the amount of data transfer over the Internet per hour.
Maximum Bandwidth Enter a bandwidth value or adjust the slider to specify a bandwidth value based on your business requirements. Name Enter a name for the EIP. Billing Cycle Select a billing cycle for the EIP. For pay-by-bandwidth EIPs that are billed on a daily basis, select Day. For pay-by-data-transfer EIPs that are billed on an hourly basis, select Hour.
Quantity Specify the number of EIPs that you want to purchase.
Recover a released EIP
You can apply for an EIP that is released by your Alibaba Cloud account within the last seven days by specifying the IP address or ID of the EIP.
If the EIP or static public IP address that you want to recover is assigned to another Alibaba Cloud account, locked due to security reasons, or recycled, your application fails. You cannot recover the public IP addresses of ECS instances or CLB instances that are deployed in classic networks.
- Log on to the Elastic IP Address console .
- In the top navigation bar, select the region in which the EIP is created.
- On the Elastic IP Addresses page, click Apply for Specific EIP.
- In the Apply for Specific EIP dialog box, configure the parameters described in the following table and click OK.
Parameter Description Request Type Select Apply for Specific EIP. You can specify the IP address or ID of the EIP. By default, a recovered EIP uses the pay-as-you-go billing method and the pay-by-data-transfer metering method. The maximum bandwidth of the EIP is 5 Mbit/s.
Request Method Select a request method: - Request by IP Address: Specify the IP address of the EIP or the static public IP address of the ECS instance.
- Request by EIP ID: Specify the ID of the EIP.
IP Address If you set Request Method to Request by IP Address, enter the IP address of the EIP that you want to apply for. EIP Instance ID If you set Request Method to Request by EIP ID, enter the ID of the EIP that you want to apply for. Note You can recover only EIPs that you used.IP Address Pool Select an IP address pool from the drop-down list based on your business requirements. For more information about IP address pools, see Create and manage IP address pools.
To use the IP address pool feature, apply for the privilege in the Quota Center console. For more information, see Request a quota increase.
Apply for a contiguous EIP group
You can apply for a contiguous EIP group to facilitate network management. A contiguous EIP group consists of contiguous EIPs. Contiguous EIP groups are similar to standard EIPs. You can associate contiguous EIP groups with cloud resources in VPCs, such as ECS instances, internal-facing CLB instances, internal-facing Application Load Balancer (ALB) instances, secondary ENIs, NAT gateways, and HAVIPs. After you associate a contiguous EIP group with a cloud resource, the cloud resource can use the EIPs in the contiguous EIP group for communication.
- You cannot separately release EIPs in a contiguous EIP group. If you want to release an EIP in a contiguous EIP group, you must release all EIPs in the contiguous EIP group.
- The following table describes the differences between contiguous EIPs and standard EIPs.
Item Contiguous EIP Standard EIP Billing method Only the pay-as-you-go billing method is supported. The subscription and pay-as-you-go billing methods are supported. Billing method switching You cannot switch the billing method from pay-as-you-go to subscription. You can switch the billing method from pay-as-you-go to subscription. Billable items Contiguous EIPs and regular EIPs support the same billable items. For more information, see Billable items.
- Log on to the Elastic IP Address console .
- In the top navigation bar, select the region where you want to apply for a contiguous EIP group.
- On the Elastic IP Addresses page, click Apply for Specific EIP.
- In the Apply for Specific EIP dialog box, set the following parameters and click OK.
Parameter Description Request Type Select Request Continuous EIP Group. Mask for Continuous EIP Group Select the subnet mask length of the contiguous EIP group, and select I have read and understand that:. Valid values: 24 to 28. The number of contiguous EIPs varies based on the selected mask length.- /28: allocates 16 contiguous EIPs by default.
- /27: allocates 32 contiguous EIPs by default.
- /26: allocates 64 contiguous EIPs by default.
- /25: allocates 128 contiguous EIPs by default.
- /24: allocates 256 contiguous EIPs by default.
Note In some scenarios, the actual number of EIPs that are allocated may be less than the expected number because one, three, or four IP addresses may be reserved.Network Type Select a network type for the contiguous EIP group. You can select only Internet.
Billing Method Select a metering method for the contiguous EIP group. - Pay-By-Bandwidth: You are charged based on the specified maximum bandwidth per day, regardless of the actual usage.
- Pay-By-Data-Transfer: You are charged based on the amount of data transfer over the Internet per hour.
Bandwidth Specify a bandwidth value for the contiguous EIP group. Valid values: 1 to 200. Unit: Mbit/s.
References
- AllocateEipAddress: applies for an EIP.
- AllocateEipAddressPro: applies for a specified EIP.
- AllocateEipSegmentAddress: applies for a contiguous EIP group.