This topic describes the billable items and pricing of Application Load Balancer (ALB).

Billable items of ALB

ALB supports the pay-as-you-go billing method. Total fees of ALB include instance fees, capacity unit (CU) fees, and Internet bandwidth fees.

Network type Instance fee CU fee Internet bandwidth fee
Internet Charged Charged Charged
Private network Charged Charged N/A

Instance fees

You are charged instance fees for ALB on an hourly basis. A usage duration of less than 1 hour is calculated as 1 hour.

Note The prices listed in the following table are for reference only. The actual prices on the buy page shall prevail.
Edition Instance fee (USD /hour)
Basic Edition 0.007
Standard Edition 0.021

CU fees

CUs are used to measure the performance of ALB when it processes traffic. ALB supports the following metrics:

Metric Description Metric value per CU
Number of new connections The number of new connections processed per second. 25 connections per second
Number of concurrent connections The number of active connections per minute. 3,000 connections per minute
Processed traffic The amount of traffic that ALB processes for HTTP and HTTPS requests and responses. Unit: GB. 1 GB per hour
Number of rule evaluations The product of the number of forwarding rules that are configured for ALB and queries per second (QPS). The first 10 rules are free of charge.
  • If the number of forwarding rules that are configured for ALB is greater than 10, the following formula is applied: Number of rule evaluations = QPS × (Number of forwarding rules that are configured for ALB - 10).
  • If the number of forwarding rules that are configured for ALB is less than or equal to 10, the following formula is applied: Number of rule evaluations = QPS.
1,000 rule evaluations per second

The number of CUs that are consumed by an ALB instance within an hour is calculated based on the preceding four metrics. The CU fee of an ALB instance is calculated based on the highest number of CUs consumed on the four metrics.

Note The prices listed in the following table are for reference only. The actual prices on the buy page shall prevail.
Billable item Unit price of CUs (USD/CU)
CU 0.007

Example

The following example shows how to calculate the number of CUs consumed:

Metric Example Calculation Number of CUs consumed
Number of new connections (per second) An average of 100 new connections per second. In this example, an average of 100 new connections are established per second. Each CU provides 25 new connections per second. The number of CUs consumed can be calculated by using the following formula:
100÷25=4
4
Number of concurrent connections (per minute) Each connection lasts 3 minutes, and each connection sends four requests per second. In this example, 100 new connections are established per second. The number of new connections per minute can be calculated by using the following formula:
Number of new connections per minute = 100 × 60 = 6,000 
Given that each new connection lasts 3 minutes, the number of concurrent connections per minute is the sum of the number of new connections in the current minute and the number of new connections in the previous 2 minutes:
Concurrent connections per minute = 6,000 + 6,000 + 6,000 = 18,000
Each CU provides 3,000 concurrent connections per minute. The number of CUs consumed can be calculated by using the following formula:
18000÷3000=6
6
Processed traffic (per hour) 1,000 KB per second. Given that 1,000 KB of data is processed per second, the amount of data processed per hour can be calculated by using the following formula:
1000 KB×60×60=3,600,000 KB=3.6 GB
Each CU provides 1 GB of data transfer per hour. The number of CUs consumed can be calculated by using the following formula:
3.6÷1=3.6
3.6
Number of rule evaluations (per second) 20. An average of 100 new connections are established per second and each connection sends an average of four requests per second. The number of requests received per second can be calculated by using the following formula:
100 × 4 = 400
Given that 20 rules are configured, the number of rule evaluations that generate fees per second can be calculated by using the following formula:
(20 - 10) × 400 = 4,000
Each CU provides 1,000 rule evaluations per second. The number of CUs consumed can be calculated by using the following formula:
4000÷1000=4
4

In this example, the metric that consumes the highest number of CUs is the number of concurrent connections (6 CUs). Therefore, the CU fees are calculated based on the number of concurrent connections.

CU fee per hour = USD 0.007/CU × 6 CUs = USD 0.042
CU fee per month = USD 0.042 × 24 × 30 = USD 30.24

Internet bandwidth fees

You are not charged Internet bandwidth fees for internal-facing ALB instances. You are charged Internet bandwidth fees for Internet-facing ALB instances. Internet-facing ALB instances use elastic IP addresses (EIPs) to provide services over the Internet. If an Internet-facing ALB instance uses an EIP to provide Internet-facing services, you are charged an instance fee and a bandwidth fee or a data transfer fee for the EIP. For more information, see Pay-as-you-go.