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|
You are charged instance fees for ALB on an hourly basis. A usage duration of less than 1 hour is calculated as 1 hour.
|Edition||Instance fee (USD /hour)|
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.
||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.
|Billable item||Unit price of CUs (USD/CU)|
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:
|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:
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:
Each CU provides 3,000 concurrent connections per minute. The number of CUs consumed can be calculated by using the following formula:
|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:
Each CU provides 1 GB of data transfer per hour. The number of CUs consumed can be calculated by using the following formula:
|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:
Given that 20 rules are configured, the number of rule evaluations that generate fees per second can be calculated by using the following formula:
Each CU provides 1,000 rule evaluations per second. The number of CUs consumed can be calculated by using the following formula:
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.