tencent cloud

All product documents
Cloud Load Balancer
LCU Fees
Last updated: 2024-01-04 09:44:16
LCU Fees
Last updated: 2024-01-04 09:44:16
A Loadbalancer Capacity Unit (LCU) measures the performance metrics when CLB processes traffic. This document describes how the LCU charge is calculated.

Pay-as-You-Go

Note:
Only LCU-supported CLB instances will incur LCU usage fees.
Specification
Concurrent Connections per Minute
New Connections per Second (CPS)
Queries per Second (QPS)
Max Bandwidth
Standard
100,000
10,000
10,000
2Gbps
Advanced 1
200,000
20,000
20,000
4Gbps
Advanced 2
500,000
50,000
30,000
6Gbps
Super Large 1
1,000,000
100,000
50,000
10Gbps
Super Large 2
2,000,000
200,000
100,000
20Gbps
Super Large 3
5,000,000
500,000
200,000
40Gbps
Super Large 4
10,000,000
1,000,000
300,000
60Gbps

LCU metrics

In the pay-as-you-go mode, LCU usage is measured by using the following four metrics: CPS, concurrent connections per minute, processed traffic, and rule evaluations. Rule evaluations are supported only for HTTP and HTTPS protocols. The performance of a single LCU is related to the protocol type of the listener.
In pay-as-you-go mode, the billing cycle of LCUs is one hour. The number of LCUs consumed in one hour is calculated based on the aforementioned metrics, and fees are charged based on the maximum number of LCUs consumed by the aforementioned metrics. The LCU fees for a single CLB instance is the sum of the LCU costs of the listeners for different protocols.
LCU fees per hour = MAX[Number of LCUs for concurrent connections, Number of LCUs for new connections, Number of LCUs for processed traffic, Number of LCUs for rule evaluations] × LCU unit price

Pricing​

Region
LCU Unit Price (USD/Hour)
LCU Unit Price for New Purchases (USD/Hour)
All regions
0.0072
0.0059
Note:
Starting from 00:00:00, June 1, 2023 (UTC+8):
For new purchases of CLB pay-as-you-go instances, the LCU unit price is adjusted to 0.0059 USD/hour.
For existing CLB instances, the LCU fees and other billable items are not affected.
This price adjustment is always valid unless otherwise declared.

Billing examples

Example 1: HTTP/HTTPS
Example 2: TCP/UDP
Assume that your LCU-supported CLB instance receives an average of 100 new connections per second, each lasting 3 minutes, that a client sends an average of 400 queries per second and CLB processes a total of 1,000 KB of query and response data per second, and that you have configured an HTTP listener on port 80 and an HTTPS listener on port 443, with 20 forwarding rules to route your client queries. You are charged on the following metrics:
Metric Name
Use Case
LCU Coefficient
LCUs Quantity Calculation
New connections (per second)
In this example, your CLB instance receives 100 new connections per second.
25
Number of LCUs = 100 ÷ LCU Coefficient = 4
Concurrent connections (per minute)
In this example, your CLB instance receives 100 new connections per second, which means 6,000 new connections per minute. As each connection lasts 3 minutes, the maximum concurrent connections per minute = 6,000 × 3 = 18,000.
3,000
Number of LCUs = 18,000 ÷ LCU Coefficient = 6
Processed traffic (per hour)
In this example, your CLB instance processes 1,000 KB of data per second. This translates to 3.6 GB per hour.
1
Number of LCUs = 3.6 ÷ LCU Coefficient = 3.6
Rule evaluations (per second)
In this example, your CLB instance receives 400 queries per second on average. Therefore, 20 forwarding rules result in 4,000 rule evaluations per second for each query: (20 forwarding rules – 10 free rules) × 400.
1,000
Number of LCUs = 4,000 ÷ LCU Coefficient = 4
In this example, the maximum number of LCUs is consumed by the concurrent connections metric, which consumes 6 LCUs. Therefore, hourly fees of LCUs = 0.0072 USD/LCU × 6 LCUs = 0.0432 USD, and monthly fees = 0.0432 USD/h × 24 hours × 30 days = 31.104 USD.
Assume that your CLB instance receives 100 new TCP connections (each transferring 1,000 processed bytes and each lasting 3 minutes) and 100 UDP flows (each transferring 1,000 processed bytes and each lasting 2 minutes). Your LCU fees will be calculated as follows: TCP traffic
Metric Name
Use Cases
LCU Coefficient
LCUs Quantity Calculation
New connections (per second)
In this example, your CLB instance uses 100 new connections per second.
800
Number of LCUs = 100 ÷ LCU Coefficient = 0.125
Concurrent connections (per minute)
In this example, your CLB instance receives 100 new TCP connections per second, each lasting 3 minutes. Therefore, the maximum number of concurrent connections per minute = 6,000 × 3 = 18,000.
100,000
Number of LCUs = 18,000 ÷ LCU Coefficient = 0.18
Processed traffic (per hour)
In this example, your CLB instance transfers 1,000 processed bytes for each TCP client connection. Therefore, the amount of traffic processed per hour = 100 connections/s × 60s × 60 min × 1,000 bytes = 0.36 GB.
1
Number of LCUs = 0.36 ÷ LCU Coefficient = 0.36
UDP traffic
Metric Name
Use Case
LCU Coefficient
LCUs Quantity Calculation
New connections (per second)
In this example, your CLB instance uses 100 new UDP connections per second.
400
Number of LCUs = 100 ÷ LCU Coefficient = 0.125
Concurrent connections (per minute)
In this example, your CLB instance receives 100 new TCP connections per second, each lasting 2 minutes. Therefore, the maximum number of concurrent connections per minute = 100 × 60 × 2 = 12,000.
50,000
Number of LCUs = 12,000 ÷ LCU Coefficient = 0.24
Processed traffic (per hour)
In this example, your CLB instance transfers 1,000 processed bytes for each UDP client connection. Therefore, the amount of traffic processed per hour = 100 connections/s × 60s × 60 min × 1,000 bytes = 0.36 GB.
1
Number of LCUs = 0.36 ÷ LCU Coefficient = 0.36
The hourly fee for each protocol is calculated based on the maximum number of LCUs used by these metrics.
In the example of TCP traffic, the maximum number of LCUs is consumed by the processed traffic metric, which consumes 0.36 LCUs. Therefore, the hourly LCU fee for TCP = 0.0072 USD/LCU × 0.36 LCU = 0.002592 USD, and the monthly fee = 0.002592 USD/h × 24 hours × 30 days = 1.86624 USD.
In the example of UDP traffic, the maximum number of LCUs is consumed by the processed traffic metric, which consumes 0.36 LCU. Therefore, the hourly LCU fee for UDP = 0.0072 USD/LCU × 0.36 LCUs = 0.002592 USD, and the monthly fee = 0.002592 USD/h × 24 hours × 30 days = 1.86624 USD.
Then, the total hourly LCU fee of your LCU-supported CLB instance is 0.005184 USD/hour (with 0.002592 USD for TCP traffic and 0.002592 USD for UDP traffic). The estimated total monthly LCU fee on average is 3.73248 USD/month (with 1.86624 USD for TCP traffic and 1.86624 USD for UDP traffic)

References



Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon