An LCU measures the metrics on which that CLB processes traffic. This document describes how the LCU charge is calculated.
- Only LCU-supported CLB instances will incur LCU usage fees. LCU-supported CLB instances are only available to beta users. To use it, please submit an application.
- Shared CLB instances are free of LCU charges.
In the pay-as-you-go model, you will pay for the LCUs consumed based on the following CLB performance metrics:
|New connections||Number of newly established connections per second.|
|Concurrent connections||Number of concurrent connections.|
|Processed traffic||Number of bytes (both outbound and inbound) processed by the CLB instance in Gigabytes (GB).|
|Rule evaluations (only for HTTP/HTTPS)||It is the product of number of rules processed by your CLB instance and queries per second (QPS). The first 10 processed rules are free:
- The number of LCUs consumed for one hour is calculated based on the above four metrics and the maximum consumed across the four metrics will be charged.
- LCU unit price: 0.0072 USD/hour
- In the pay-as-you-go model, LCU-billing CLB instances provide the highest performance specification. The metrics are:
- Concurrent connections: 1,000,000
- New connections: 100,000
- QPS: 50,000
- Bandwidth: 10 Gbps
The performance specification per LCU varies depending on the protocol.
|Protocol||Performance Specification Per LCU|
Assume that your CLB instance receives an average of 100 new connections per second, each lasting 3 minutes. A client sends an average of 4 requests per second per connection, and 1,000 KB of requests and responses are processed per second in total. You have configured an HTTP (80) listener and an HTTPS (443) listener, with 20 forwarding rules to route your client requests. You are charged on the following metrics:
In this example, the concurrent connections translate to 6 LCUs, the maximum LCUs among the four metrics, resulting in a total charge of 0.0432 USD/hour (6 LCUs * 0.0072 USD per LCU) or 31.104 USD/month (0.00432 USD * 24 hours * 30 days).
Assume that your CLB instance receives 100 new TCP connections (each lasting 3 minutes) and transfers 1,000 processed bytes while receives 100 new UDP flows (each lasting 2 minutes) and transfers 1,000 processed bytes. Your monthly CLB bill will be calculated as follows:
Using these values, the hourly bill for each protocol is calculated by taking the maximum LCUs consumed among the three metrics.
In this case, your LCU charge is 0.005184 USD/hour (0.002592 USD for TCU traffic and 0.002592 USD for UDP traffic)