This topic describes the pay-as-you-go billing method of Elastic IP addresses. Pay-as-you-go Elastic IP addresses support pay-by-data-transfer and pay-by-bandwidth.

Overview

Pay-as-you-go is a billing method that allows you to pay after you use the resources. Features of pay-as-you-go Elastic IP addresses are as follows:
  • You can release a pay-as-you-go Elastic IP address at any time. After an instance is released, the bill for the current hour or day is issued and charged to your account the next hour or day.
  • If the Elastic IP address is associated with an Elastic Compute Service (ECS) instance of the Virtual Private Cloud (VPC) network, no configuration fee is charged. If the Elastic IP address is associated with a NAT Gateway, a Server Load Balancer (SLB), a secondary Elastic Network Interface (ENI), or a High-Availability Virtual IP Address (HaVip), a configuration fee is charged.
Different limits apply to the peak bandwidth of pay-as-you-go Elastic IP addresses that are billed by traffic and the ones billed by bandwidth. The following table lists the limits on the peak bandwidth of Elastic IP addresses.
Pay-by-data-transfer Elastic IP addresses Pay-by-bandwidth Elastic IP addresses
The peak bandwidth is for reference only and signifies the upper limit of bandwidth value. It is not a committed performance metric of the service. In the event of resource contention, the peak bandwidth of may be limited. The peak bandwidth a committed performance metric of the service. In the event of resource contention, the peak bandwidth is guaranteed,
The cumulative sum of the peak bandwidth values of all pay-by-data-transfer Elastic IP addresses in a single region cannot exceed 5 Gbit/s. If your service requires a guaranteed or larger peak bandwidth, you must use a pay-by-bandwidth Elastic IP address. The cumulative sum of the peak bandwidth values of all pay-by-bandwidth Elastic IP addresses in a single region cannot exceed 50 Gbit/s. To increase the peak bandwidth, contact your account manager.

Pay-by-data-transfer

The total fees of a pay-by-data-transfer Elastic IP address = Configuration fee + Traffic fee. Fees of pay-by-data-transfer Elastic IP addresses are calculated and charged on an hourly basis. Each partial instance-hour consumed will be billed as a full hour.

The configuration fee and traffic fee are described as follows:
  • Configuration fee = Instance unit price (USD/hour) x Usage period (hour)

    The usage period refers to the period between the time when the Elastic IP address is created and the time when the Elastic IP address is released.

  • Traffic fee = Traffic unit price (USD/GB) x Charged traffic (GB)

    The charged traffic refers to the cumulative outbound traffic of the Elastic IP address to be billed. Inbound traffic does not incur fees. Outbound traffic is the traffic from Alibaba Cloud data centers to the Internet.

Note Modifying the peak bandwidth does not affect the instance unit price or the traffic unit price. However, we recommend that you set the bandwidth based on your actual needs to avoid generating excessive charges due to malicious access.

Pay-by-bandwidth

The total fees of a pay-by-bandwidth Elastic IP address = Configuration fee + Bandwidth fee. The configuration fee and bandwidth fee support hourly payments. Each partial instance-hour consumed will be billed as a full hour. Fees of pay-by-bandwidth Elastic IP addresses are calculated and charged on a daily basis.

The configuration fee and bandwidth fee are described as follows:
  • Configuration fee = Instance unit price (USD/day) x [Usage period (hour)/24] (day)

    The usage period refers to the period between the time when the Elastic IP address is created and the time when the Elastic IP address is released.

  • Bandwidth fee
    • If the peak bandwidth is within the range from 1 Mbit/s to 5 Mbit/s, the bandwidth fee = unit bandwidth price (USD/day/Mbit/s) x [usage period (hour)/24] (day) x peak bandwidth
    • If the peak bandwidth is greater than 5 Mbit/s, the bandwidth fee = 1-5 Mbit/s bandwidth unit price (USD/day/Mbit/s) x [usage period (hour)/24] (day) x 5 + unit price of bandwidth greater than 5 Mbit/s (USD/day/Mbit/s) x [usage period (hours)/24] (days) x (n-5)

      N indicates the peak bandwidth.

    The bandwidth fee is charged in the tiered pricing model with 5 Mbit/s as the bandwidth tier.

    You can modify the peak bandwidth at any time. If you modify (either increase or decrease) the peak bandwidth, the peak bandwidth used to calculate the bandwidth fee is the maximum peak bandwidth set on that day.

Billing example

Assume that you created an Elastic IP address in the China (Hangzhou) region at 9:30 am and set the peak bandwidth to 10 Mbit/s. After creating the Elastic IP address, you immediately associated it with a NAT Gateway then launched the service which generated billable traffic. Assume that you changed the peak bandwidth twice that day:
  • At 17:00, you changed the peak bandwidth from 10 Mbit/s to 20 Mbit/s.
  • At 23:00, you changed the peak bandwidth from 20 Mbit/s to 15 Mbit/s.
Billing example

The following table lists the fees of the Elastic IP address in different billing situations: pay-by-data-transfer and pay-by-bandwidth.

Billing model Configuration fee Traffic fee/bandwidth fee Total fees
Pay-by-data-transfer The configuration fee is charged as follows:
  • Instance unit price: Assume that the unit price of pay-by-data-transfer Elastic IP addresses in the China (Hangzhou) region is USD 0.003/hour/unit.
  • Usage period: The Elastic IP address has been used for 14.5 hours on that day. The usage period is rounded up to the nearest integer, which is calculated as 15 hours in this case.
  • Configuration fee for the Elastic IP address on that day: Instance unit price x Usage period = USD 0.003/hour/unit × 15 hours x 1 unit = USD 0.045.
The traffic fee is charged as follows:
  • Traffic unit price: Assume that the unit price of traffic in the China (Hangzhou) region is USD 0.123/GB.
  • Charged traffic: The total used traffic of the Elastic IP address on that day is 60 GB.
  • Traffic fee for the Elastic IP address on that day: Traffic unit price x Charged traffic = USD 0.123/GB × 60 GB = USD 7.38.
Total fees = Configuration fee + Traffic fee = USD 0.045 + USD 7.38 = USD 7.425
Pay-by-bandwidth The configuration fee is as follows:
  • Instance unit price: Assume that the unit price of pay-by-bandwidth Elastic IP addresses in the China (Hangzhou) region is USD 0.074/day/unit.
  • Usage period: The Elastic IP address has been used for 14.5 hours on that day. The usage period is rounded up to the nearest integer, which is calculated as 15 hours in this case.
  • Configuration fee for the Elastic IP address on that day: Instance unit price x Usage period = USD 0.074/day/unit ÷ 24 hours × 15 hours x 1 unit = USD 0.04625.

The bandwidth fee is as follows:

  • Peak bandwidth: The maximum bandwidth set for the Elastic IP address on that day, that is, 20 Mbit/s.
  • Unit price of bandwidth: 0.14 (the bandwidth fee for the bandwidth within 5 Mbit/s in one day is USD 0.14) × 5 + 0.5 (bandwidth that exceeds 5 Mbit/s is charged at a rate of USD 0.5 per day) × (20-5) = USD 8.2 /day.
  • Usage period: The EIP has been used for 14.5 hours on that day. The usage period is rounded up to the nearest integer, which is calculated as 15 hours in this case.
  • Bandwidth fee of the Elastic IP address on that day = USD 8.2/day ÷ 24 hours × 15 hours = USD 5.125.
Total fees = Configuration fee + Bandwidth fee = USD 0.04625 + USD 5.125 = USD 5.17125