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

  1. Log on to the Elastic IP Address console .
  2. On the Elastic IP Addresses page, click Create EIP.
  3. On the page that appears, set the following parameters, click Buy Now, and then complete the payment.
    Parameter Description
    Billing Method

    Select abilling method for the EIP.

    The subscription and pay-as-you-go billing methods are supported:
    • 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.

    Line Type Select a line type for the EIP.
    • BGP (Multi-ISP): Up to 89 high-quality BGP lines are available worldwide. Direct connections can be established across all regions in the Chinese mainland through lines of the following Internet service providers (ISPs): China Telecom, China Unicom, China Mobile, China Mobile Tietong, China Netcom, China Education and Research Network (CERNET), National Radio and Television Administration, Dr. Peng Telecom & Media Group, and Founder Broadband Network.
    • 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 supported only in the China (Hong Kong) region.
    Netmode Select a network type for the EIP.

    You can select only Public.

    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.

    The name must be 2 to 128 characters in length, and can contain digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.

    Quantity Specify the number of EIPs that you want to purchase.
    Duration Specify a subscription duration for the EIP.
    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): Up to 89 high-quality BGP lines are available worldwide. Direct connections can be established across all regions in the Chinese mainland through lines of the following Internet service providers (ISPs): China Telecom, China Unicom, China Mobile, China Mobile Tietong, China Netcom, China Education and Research Network (CERNET), National Radio and Television Administration, Dr. Peng Telecom & Media Group, and Founder Broadband Network.
    • 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 supported only in the China (Hong Kong) region.
    Network Type Select a network type for the EIP.

    You can select only Internet.

    Security Protection Select an edition of Anti-DDoS based on your business requirements.
    • Default: 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): Anti-DDoS Pro/Premium, which can mitigate DDoS attacks at the Tbit/s level.
      Note
      Anti-DDoS Pro/Premium is available only to users who are included in the whitelist. If you want to be included in the whitelist,submit a ticket.
      • To use Anti-DDoS Pro/Premium, you must associate an EIP with an EIP bandwidth plan for which Anti-DDoS Pro/Premium is also enabled.
      • You can enable Anti-DDoS Pro/Premium only when you purchase an EIP. After you purchase an EIP for which Anti-DDoS Origin Basic is enabled, you cannot upgrade Anti-DDoS Origin Basic to Anti-DDoS Pro/Premium.
      • After you enable Anti-DDoS Pro/Premium for an EIP, you cannot disable Anti-DDoS Pro/Premium.
    Data Transfer Select a metering method for the EIP.
    • By bandwidth: Bills are generated on a daily basis based on the specified maximum bandwidth value of the EIP.
    • By traffic: Bills are generated on an hourly basis based on the amount of data transferred over the Internet.
    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 other than Default, 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.

    The IP address pool feature is available only to users whose accounts are included in the whitelist. If you want to use the feature, submit a ticket.

    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.

    The name must be 2 to 128 characters in length, and can contain digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.

    Billing Cycle Select a billing cycle for the EIP.

    For pay-by-bandwidth EIPs, you can select only Day. For pay-by-data-transfer EIPs, you can select only Hour.

    Quantity Specify the number of EIPs that you want to purchase.

Recover a released EIP

You can specify the IP address or EIP ID to recover an EIP that is released by your Alibaba Cloud account within the last seven days. If the released EIP is already assigned to another Alibaba Cloud account, locked due to security reasons, or no longer for sale, you cannot recover the EIP.

If you want to use the following features,submit a ticket.
  • Recover an EIP that is released more than seven days ago.
  • Recover the static public IP address of an ECS instance.
  • You can recover EIPs at most 20 times per month. To recover EIPs more than 20 times, request a quota increase.
  1. Log on to the Elastic IP Address console .
  2. In the top navigation bar, select the region where the EIP is created.
  3. On the Elastic IP Addresses page, click Request Custom IP.
  4. In the Request Custom IP dialog box, set the following parameters and click OK.
    Parameter Description
    EIP Type Select Request 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 By 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 Instance ID: Specify the ID of the EIP.
    IP Address Enter the IP address of the EIP that you want to recover.
    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.

    The IP address pool feature is available only to users whose accounts are included in the whitelist. If you want to use the feature, submit a ticket.

    Instance ID Enter the ID of the EIP that you want to recover.
    Note You can recover only EIPs that you used.
    Connection Type Select a line type for the EIP:
    • BGP (Multi-ISP)
    • BGP (Multi-ISP) Pro
      Note BGP (Multi-ISP) Pro is supported only in the China (Hong Kong) region.

    For more information about the differences between BGP (Multi-ISP) and BGP (Multi-ISP) Pro, see Line types.

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.

Before you apply for a contiguous EIP group, take note of the following rules:
  • Only users who are included in the whitelist can apply for a contiguous EIP group. If you want to be included in the whitelist,submit a ticket.
    Note Alibaba Cloud provides a limited number of contiguous EIP groups. After you submit a ticket, Alibaba Cloud reviews your application. After your application is approved, you can apply for a contiguous EIP group.
  • You cannot release only one EIP 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 EIP groups and standard EIPs.
    Comparison item Contiguous EIP group 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 item In addition to the billable items of standard EIPs, you are charged a specification fee based on the number of contiguous EIPs. For more information about specification fees,submit a ticket. You are not charged a specification fee.
  1. Log on to the Elastic IP Address console .
  2. In the top navigation bar, select the region where you want to apply for a contiguous EIP group.
  3. On the Elastic IP Addresses page, click Request Custom IP.
  4. In the Request Custom IP dialog box, set the following parameters and click OK.
    Parameter Description
    EIP Type Select Request Continuous EIP Group.
    Continuous EIP Group Mask 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.
    • Public: After a contiguous EIP group is associated with a cloud resource, the cloud resource can use the contiguous EIP group to communicate with the Internet.
    • Hybrid Cloud: The contiguous EIP group can be used to establish communication within a hybrid cloud.
      Note You can select Hybrid Cloud only when your Alibaba Cloud account is included in the whitelist. To select Hybrid Cloud,submit a ticket.
    Billing Method Select a metering method for the contiguous EIP group.
    • Pay by Bandwidth: Bills are generated on a daily basis. You are charged based on specified bandwidth value instead of actual resource usage.
    • Pay by Traffic: Bills are generated on an hourly basis based on the amount of data transferred over the Internet.
    Note Contiguous EIP groups that are used within a hybrid cloud support only the pay-by-bandwidth metering method. Pay-by-data-transfer is not supported.
    Bandwidth Specify a bandwidth value for the contiguous EIP group.

    Valid values: 1 to 200. Unit: Mbit/s.

References