All Products
Search
Document Center

Elastic IP Address:Pay-as-you-go

Last Updated:Feb 22, 2024

Elastic IP Address (EIP) supports the pay-as-you-go billing method, which supports the pay-by-data-transfer and pay-by-bandwidth metering methods. This topic describes the billable items and billing rules of EIP.

Overview

The pay-as-you-go billing method allows you to use resources before you pay for them. The following table describes the billing rules for each metering method of pay-as-you-go EIPs.

Item

Pay-by-data-transfer

Pay-by-bandwidth

Billing rules

You are charged based on the amount of data transfer per hour. You can release pay-by-data-transfer EIPs anytime.

You are charged based on the maximum bandwidth value and the usage duration. You can release pay-by-bandwidth EIPs anytime.

Supported scenarios

Traffic fluctuates and short-term usage duration is required, such as the gaming and video industries.

Traffic does not fluctuate and short-term usage duration is required.

Billing cycles and bill generation time

Hourly

A bill is generated within 1 hour after the current billing cycle ends. The time when bills are generated is determined by the system.

Daily

A bill is generated in the early hours of the next day. The time when bills are generated is determined by the system.

Billable items and calculation formula

Billable items:

  • Internet data transfer

  • EIP configuration

  • EIP association

Billable items:

  • Internet bandwidth

  • EIP configuration

  • EIP association

Switch between metering methods

Supported. You can switch the metering method from pay-by-data-transfer to pay-by-bandwidth or from pay-by-bandwidth to pay-by-data-transfer. The change takes effect at 00:00:00 (UTC+8) on the next day.

Maximum bandwidth

  • Bandwidth guarantee: The maximum bandwidth is not a guaranteed value. It indicates the upper limit of bandwidth and is for reference only. In scenarios where demand outstrips resource supplies, the bandwidth may not reach the maximum value.

  • Total peak bandwidth: In each region, the sum of bandwidth consumed by all pay-by-data-transfer EIPs within each Alibaba Cloud account cannot exceed 5 Gbit/s. If you require a higher bandwidth value, we recommend that you set your EIP to the pay-by-bandwidth metering method.

  • Bandwidth guarantee: The maximum bandwidth is a guaranteed value. In scenarios where demand outstrips resource supplies, the bandwidth can reach the maximum value.

  • Total peak bandwidth: In each region, the sum of bandwidth consumed by all pay-by-bandwidth EIPs within each Alibaba Cloud account cannot exceed 50 Gbit/s. If you require a higher bandwidth value, contact your account manager.

Note

The EIP association fee is not exclusive for pay-as-you-go EIPs. The billing cycle and bill generation time are irrelevant to the Internet resource metering method of EIPs. The EIP association fee is determined by the number of times that you associate EIPs in each region with each Alibaba Cloud account. For more information, see Billable items.

Internet resource fee

Data transfer fee (for pay-by-data-transfer EIPs)

You are charged based on the amount of data transfer over the Internet per hour. Fees are calculated and bills are generated on an hourly basis. Within a billing cycle, if the usage duration of an EIP is less than 1 hour, the usage duration is rounded up to 1 hour.

How to calculate the data transfer fee within a billing cycle:
Data transfer fee = Unit price of data transfer (USD/GB) × Amount of data transfer (GB)

The amount of data transfer refers to the cumulative outbound data transfer of an EIP. You are not charged for inbound data transfer. Outbound data transfer refers to the data transfer that is transmitted from Alibaba Cloud to the Internet.

Note

We recommend that you set the maximum bandwidth value based on your business requirements to prevent unexpected data transfer fees caused by malicious requests or program errors.

EIPs support the following line types: BGP (Multi-ISP) and BGP (Multi-ISP) Pro. The data transfer unit price of each line type is different.

Note

The prices and regions listed in the following table are for reference only. The actual information on the buy page shall prevail.

Table 3: Unit prices of data transfer over EIP BGP (Multi-ISP) lines

Area

Region

Data transfer unit price (USD/GB)

China

China (Beijing)

China (Zhangjiakou)

China (Hohhot)

cn-hangzhou

China (Shanghai)

China (Shenzhen)

China (Heyuan)

China (Guangzhou)

China (Chengdu)

China (Ulanqab)

0.123

China (Qingdao)

0.110

China (Hong Kong)

0.153

Asia Pacific

Japan (Tokyo)

0.087

Singapore

Philippines (Manila)

Thailand (Bangkok)

0.081

Australia (Sydney)

0.096

Malaysia (Kuala Lumpur)

0.077

Indonesia (Jakarta)

India (Mumbai)

0.090

South Korea (Seoul)

0.123

Europe & Americas

US (Virginia)

0.076

US (Silicon Valley)

0.077

Germany (Frankfurt)

UK (London),

0.070

Middle East

UAE (Dubai)

0.153

SAU (Riyadh)

Important

The SAU (Riyadh) region is a partner region.

0.097

Table 4: Unit prices of data transfer over EIP BGP (Multi-ISP) Pro lines

Area

Region

Data transfer unit price (USD/GB)

China

China (Hong Kong)

0.452

Asia Pacific

Japan (Tokyo)

Malaysia (Kuala Lumpur)

Philippines (Manila)

Indonesia (Jakarta)

Thailand (Bangkok)

0.452

Singapore

0.778

Bandwidth fee (for pay-by-bandwidth EIPs)

You are charged based on the maximum bandwidth and the usage duration. Fees are calculated and bills are generated on a daily basis. Fees can also be calculated on an hourly basis and bills can be generated on a daily basis. The usage duration refers to the amount of time that the EIP runs in pay-by-bandwidth mode. If the usage duration of your pay-by-bandwidth EIP is less than 1 hour, the usage duration is rounded up to 1 hour. For example, Alice created a pay-by-bandwidth EIP at 09:00:00, and released the EIP at 12:30:00. In this case, the usage duration is 4/24 days.

  • The bandwidth fee of an EIP that uses a BGP (Multi-ISP) line is calculated based on a tiered pricing model with 5 Mbit/s as the threshold. The following formulas show how to calculate the bandwidth fee in different scenarios:

    • 1 Mbit/s ≤ Maximum bandwidth value ≤ 5 Mbit/s:

      Bandwidth fee = Unit price for the bandwidth that ranges from 1 Mbit/s to 5 Mbit/s (USD/day per Mbit/s) × [Usage duration (hours)/24] (days) × Maximum bandwidth value (Mbit/s)
    • Maximum bandwidth value > 5 Mbit/s:

      Bandwidth fee = (Unit price for the bandwidth that ranges from 1 Mbit/s to 5 Mbit/s (USD/day per Mbit/s) × [Billing duration (hours)/24] (days) × 5 + Unit price for the bandwidth greater than 5 Mbit/s (USD/day per Mbit/s) × [Billing duration (hours)/24] (days) × (n - 5)

      In the preceding formula, n represents the maximum bandwidth value.

  • The bandwidth fee of an EIP that uses a BGP (Multi-ISP) Pro line is calculated by using the following formula:

    Bandwidth fee = Bandwidth unit price (USD/day per Mbit/s) × [Usage duration (hours)/24] (days) × Maximum bandwidth (Mbit/s)

You can adjust the maximum bandwidth value of an EIP as needed. If you change the maximum bandwidth value of an EIP, the bandwidth fee for the day is calculated based on the highest maximum bandwidth value on that day.

EIP

Note

The prices and regions listed in the following table are for reference only. The actual information on the buy page shall prevail.

Table 7: Bandwidth unit prices of EIP BGP (Multi-ISP) lines

Area

Region

Bandwidth unit price (USD/day per Mbit/s)

1 to 5 Mbit/s

> 5Mbit/s

China

China (Beijing)

China (Zhangjiakou)

China (Hohhot)

cn-hangzhou

China (Shanghai)

China (Shenzhen)

China (Heyuan)

China (Guangzhou)

China (Chengdu)

China (Hong Kong)

China (Ulanqab)

0.14

0.5

China (Qingdao)

0.11

0.46

Asia Pacific

Japan (Tokyo)

0.17

0.57

Singapore

Australia (Sydney)

Malaysia (Kuala Lumpur)

Philippines (Manila)

Indonesia (Jakarta)

South Korea (Seoul)

Thailand (Bangkok)

0.14

0.5

Europe & Americas

US (Virginia)

US (Silicon Valley)

Germany (Frankfurt)

UK (London),

0.14

0.5

Middle East

SAU (Riyadh)

Important

The SAU (Riyadh) region is a partner region.

0.17

0.60

Table 8: Bandwidth unit prices of EIP BGP (Multi-ISP) Pro lines

Area

Region

Bandwidth unit price (USD/day per Mbit/s)

China

China (Hong Kong)

1.430

Asia Pacific

Japan (Tokyo)

Malaysia (Kuala Lumpur)

Philippines (Manila)

Indonesia (Jakarta)

Thailand (Bangkok)

1.430

Singapore

2.460

EIP configuration fee

You are charged an EIP configuration fee because EIPs occupy public IP addresses. You are charged based on the unit prices of EIPs and the usage duration.

If your EIP is associated with an ECS instance or an elastic container instance in a VPC, and the EIP quota of your Alibaba Cloud account is no more than 2,000, you are not charged an EIP configuration fee.

Note
  • If EIPs are associated with an ECS instance through an ENI, you are still charged an EIP configuration fee.

  • For more information about how to associate an EIP with an elastic container instance, see Associate an EIP with the elastic container instance.

  • By default, you can apply for at most 20 EIPs with each Alibaba Cloud account. You can go to the Quota Management page to view the highest quota that you can apply for. For more information, see Manage EIP quotas.

You are charged an EIP configuration fee on an hourly basis regardless of the metering method. The bill generation time varies based on the metering method. If your EIP uses the pay-by-data-transfer metering method, the configuration fee is calculated and bills are generated on an hourly basis. The currency is USD/hour per EIP. If your EIP uses the pay-by-bandwidth metering method, the configuration fee is calculated and bills are generated on a daily basis. The currency is USD/day per EIP.

EIP configuration fee = EIP unit price × Usage duration × Number of EIPs

EIPs support BGP (Multi-ISP) lines and BGP (Multi-ISP) Pro lines. The supported line types and unit prices vary based on the region.

Note

The prices and regions listed in the following table are only for reference. The actual information on the buy page shall prevail. In the following table, "-" indicates that the item does not apply.

Table 10: Unit prices of EIPs that use BGP (Multi-ISP) lines

Area

Region

EIP unit price (USD/hour per EIP)

EIP unit price (USD/day per EIP)

China

China (Qingdao)

China (Beijing)

China (Zhangjiakou)

China (Hohhot)

cn-hangzhou

China (Shanghai)

China (Shenzhen)

China (Heyuan)

China (Guangzhou)

China (Chengdu)

China (Ulanqab)

0.003

0.074

China (Hong Kong)

0.009

0.211

Asia Pacific

Singapore

Australia (Sydney)

Philippines (Manila)

Indonesia (Jakarta)

Thailand (Bangkok)

0.006

0.151

Japan (Tokyo)

0.005

0.113

Malaysia (Kuala Lumpur)

South Korea (Seoul)

0.003

0.074

India (Mumbai)

0.006

-

Europe & Americas

US (Virginia)

US (Silicon Valley)

0.005

0.113

Germany (Frankfurt)

UK (London),

0.006

0.151

Middle East

UAE (Dubai)

0.009

-

SAU (Riyadh)

Important

The SAU (Riyadh) region is a partner region.

0.008

0.181

Table 11: Unit prices of EIPs that use BGP (Multi-ISP) Pro lines

Area

Region

EIP unit price (USD/hour per EIP)

EIP unit price (USD/day per EIP)

China

China (Hong Kong)

0.009

0.211

Asia Pacific

Japan (Tokyo)

0.005

0.113

Malaysia (Kuala Lumpur)

0.003

0.074

Philippines (Manila)

Thailand (Bangkok)

Singapore

0.006

0.151

Indonesia (Jakarta)

0.006

0.144

Billing examples

For example, the EIP quota of your Alibaba Cloud account (Account A) is 500 and you created 450 EIPs in the China (Beijing) region. You associated 400 EIPs with Classic Load Balancer (CLB) instances and 50 EIPs with ECS instances. In this case, you are charged configuration fees for the EIPs that are associated with the CLB instances. You are not charged configuration fees for the EIPs that are associated with the ECS instances. The total configuration fee per hour is calculated based on the following formula:400 × USD 0.003/hour × 1 hour + 50 × USD 0/hour × 1 hour = USD 1.2.

Due to business development, you requested a quota increase and the EIP quota increased to 2,500. In this case, you are charged configuration fees for all of the 450 EIPs. The total configuration fee per hour is calculated based on the following formula:450 × USD 0.003/hour × 1 hour = USD 1.35

Billing examples

For example, Alice created an EIP in the China (Hangzhou) region at 09:30:00 (UTC+8) and set the maximum bandwidth value to 10 Mbit/s. Then, Alice associated the EIP with a NAT gateway and enabled services. In this case, Alice is charged a data transfer fee. Alice changed the maximum bandwidth value twice on the same day:

  • At 17:00:00 (UTC+8), Alice changed the maximum bandwidth value from 10 Mbit/s to 20 Mbit/s.

  • At 23:00:00 (UTC+8), Alice changed the maximum bandwidth value from 20 Mbit/s to 15 Mbit/s.

计费示例

The following table describes how fees are calculated based on the pay-by-data-transfer or pay-by-bandwidth metering method.

Note

The prices described in the examples are for reference only. The prices on the buy page shall prevail.

Billing method

Configuration fee

Data transfer or bandwidth fee

Total fee

Pay-by-data-transfer

  • Instance unit price: In this example, the unit price of the EIP in the China (Hangzhou) region is 0.003 USD/hour/instance.

  • Usage duration: In this example, the EIP is used for 14.5 hours on that day. The usage duration is rounded up to 15 hours.

  • Configuration fee of the EIP on that day = Instance unit price (USD/hour/instance) × Usage duration (hours) × Number of EIPs = 0.003 (USD/hour) × 15 (hours) × 1 = USD 0.045.

  • Unit price of data transfer: In this example, the unit price of data transfer in the China (Hangzhou) region is USD 0.123 per GB.

  • Amount of data transfer: In this example, 60 GB of data is transferred on that day.

  • Data transfer fee of the EIP on that day = Unit price of data transfer (USD/GB) × Amount of data transfer (GB) = 0.123 (USD/GB) × 60 (GB) = USD 7.38.

Total fees = Configuration fee (USD) + Data transfer fee (USD) = USD 0.045 + USD 7.38 = USD 7.425.

Pay-by-bandwidth

  • Instance unit price: In this example, the unit price of the EIP in the China (Hangzhou) region is USD 0.074 per day.

  • Usage duration: In this example, the EIP is used for 14.5 hours on that day. The usage duration is rounded up to 15 hours.

  • Configuration fee of the EIP on that day = Instance unit price (USD/day) × Usage duration (days) × Number of EIPs = 0.074 (USD/day) × [15 (hours)/24 (hours)] (days) × 1 = USD 0.04625.

  • Maximum bandwidth value: The bandwidth fee is calculated based on the highest maximum bandwidth value on that day. In this example, the highest maximum bandwidth value is 20 Mbit/s.

  • Bandwidth unit price: USD 0.14 per day [unit price for bandwidth that is between 1 Mbit/s to 5 Mbit/s in China (Hangzhou)] × 5 + USD 0.5 per day (unit price for bandwidth that is higher than 5 Mbit/s) × (20 - 5) = USD 8.2 per day.

  • Usage duration: In this example, the EIP is used for 14.5 hours on that day. The usage duration is rounded up to 15 hours.

  • Bandwidth fee of the EIP on that day = 8.2 (USD/day) × [15 (hours)/24 (hours)] (days) = USD 5.125.

Total fees = Configuration fee + Bandwidth fee = USD 0.04625 + USD 5.125 = USD 5.17125.

References