tencent cloud

Cloud Load Balancer
Cloud Load Balancer (CLB) provides a secure and fast layer-4 and layer-7 traffic distribution service to expand service capabilities and eliminate single points of failure, making it easy to handle high-traffic access. Gateway Load Balancer (GWLB) is a load balancer running at the network layer, helping customers to easily deploy, scale, and manage third-party virtual devices with high security.
Get Started
Buy
Documentation
Get Started
Buy
Documentation
NEW
Cloud Load Balancer offers
Starting from November 25, 2023, network fees in overseas regions will be
reduced by up to 35% based on traffic; instance fees will be reduced by up to 50%.
Why choose Cloud Load Balancer
High performance
CLB Single Cluster (not a single CLB instance) supports hundreds of millions of concurrent connections, processing millions of packets per second, and can cope easily with e-commerce websites, social media platforms, and gaming services exceeding ten million daily visits.
High performance
CLB Single Cluster (not a single CLB instance) supports hundreds of millions of concurrent connections, processing millions of packets per second, and can cope easily with e-commerce websites, social media platforms, and gaming services exceeding ten million daily visits.
High availability
CLB uses clustered deployment with 99.99% high availability (domain name instance). In extreme cases where a single CLB physical server is available, it can still support tens of millions of concurrent connections. Meanwhile, the cluster system removes faulty instances and filters out healthy instances to ensure normal operation of backend server business.
High availability
CLB uses clustered deployment with 99.99% high availability (domain name instance). In extreme cases where a single CLB physical server is available, it can still support tens of millions of concurrent connections. Meanwhile, the cluster system removes faulty instances and filters out healthy instances to ensure normal operation of backend server business.
Elastic scaling
The CLB cluster scales horizontally based on business load, elastically expanding the service capacity externally of application systems. Meanwhile, with the aid of Auto Scaling's dynamic scaling group, it auto-creates and releases CVM instances. Combined with the dynamic monitoring situation and second-level billing system, you can achieve reasonable allocation of computing resources without manual intervention or estimating resources, preventing resource waste.
Elastic scaling
The CLB cluster scales horizontally based on business load, elastically expanding the service capacity externally of application systems. Meanwhile, with the aid of Auto Scaling's dynamic scaling group, it auto-creates and releases CVM instances. Combined with the dynamic monitoring situation and second-level billing system, you can achieve reasonable allocation of computing resources without manual intervention or estimating resources, preventing resource waste.
Secure and stable
CLB relies on the Dayu Distributed Defense System to defend against the vast majority of network attacks (such as DDoS, CC, Web intrusion), achieve second-level cleansing for traffic attacks, and greatly avoid situations like IP blocking and bandwidth saturation.
Secure and stable
CLB relies on the Dayu Distributed Defense System to defend against the vast majority of network attacks (such as DDoS, CC, Web intrusion), achieve second-level cleansing for traffic attacks, and greatly avoid situations like IP blocking and bandwidth saturation.
Low cost
By using Tencent Cloud CLB, there is no need to invest in additional load balancing hardware or complex Ops work, saving you up to 99% in hardware cost and labor cost.
Low cost
By using Tencent Cloud CLB, there is no need to invest in additional load balancing hardware or complex Ops work, saving you up to 99% in hardware cost and labor cost.
Discover the key features​​
Multi-protocol forwarding

Support L4 and L7 listeners, including TCP, UDP, TCP-SSL, QUIC, HTTP, HTTPS, and WebSocket (Secure). Layer 7 supports traffic distribution based on forwarding domain name and URL.

Multi-protocol forwarding

Support L4 and L7 listeners, including TCP, UDP, TCP-SSL, QUIC, HTTP, HTTPS, and WebSocket (Secure). Layer 7 supports traffic distribution based on forwarding domain name and URL.

Weight configuration

Weight configuration enables faster request processing for backend cloud services. Traffic is distributed to different backend servers via CLB based on weight ratio, or through hash and polling results of the source IP address.

Weight configuration

Weight configuration enables faster request processing for backend cloud services. Traffic is distributed to different backend servers via CLB based on weight ratio, or through hash and polling results of the source IP address.

Content-based route

Cloud Load Balancer (CLB) supports Content-based Routing with layer-7 protocol. It allows custom domains/URLs, forwarding rules, and forwarding group Content. Users can distribute requests to different real servers under various forwarding rules. By dividing target groups through CLB, business separation is achieved, significantly improving service efficiency.

Content-based route

Cloud Load Balancer (CLB) supports Content-based Routing with layer-7 protocol. It allows custom domains/URLs, forwarding rules, and forwarding group Content. Users can distribute requests to different real servers under various forwarding rules. By dividing target groups through CLB, business separation is achieved, significantly improving service efficiency.

Redirect requests

Application-based CLB supports the custom redirect feature (Rewrite) for L7 protocol, which addresses two major challenges:

-Force HTTPS: When PCs or mobile browsers access web services via HTTP requests, the CLB proxy returns HTTPS responses to the browser, enforcing HTTPS access to the web page.

-Redirect a single path. For example, when a Web business needs to go temporarily offline (such as e-commerce business sold out, page maintenance, or update), redirect the original page to a new page.

Redirect requests

Application-based CLB supports the custom redirect feature (Rewrite) for L7 protocol, which addresses two major challenges:

-Force HTTPS: When PCs or mobile browsers access web services via HTTP requests, the CLB proxy returns HTTPS responses to the browser, enforcing HTTPS access to the web page.

-Redirect a single path. For example, when a Web business needs to go temporarily offline (such as e-commerce business sold out, page maintenance, or update), redirect the original page to a new page.

Multiple scheduling algorithms

CLB supports weighted round-robin scheduling, IP Hash, and weighted least connections as the three scheduling algorithms, as well as backend server weight settings to ensure more even traffic scheduling and enhance CLB capacity.

Multiple scheduling algorithms

CLB supports weighted round-robin scheduling, IP Hash, and weighted least connections as the three scheduling algorithms, as well as backend server weight settings to ensure more even traffic scheduling and enhance CLB capacity.

Session persistence

For L4 services, CLB provides IP-based session persistence. During load balancing, CLB uses the source address of the request as the basis for associating sessions, forwarding all access requests from the same IP (subnet) to the same server. For layer-7 business, CLB offers cookie-based session persistence. CLB is responsible for embedding cookies, and no configuration is required on the real server.

Session persistence

For L4 services, CLB provides IP-based session persistence. During load balancing, CLB uses the source address of the request as the basis for associating sessions, forwarding all access requests from the same IP (subnet) to the same server. For layer-7 business, CLB offers cookie-based session persistence. CLB is responsible for embedding cookies, and no configuration is required on the real server.

Health check

CLB performs scheduled detection to check if backend cloud services are running properly. You can customize health check frequency. If server exceptions are detected, CLB stops directing traffic to these affected instances and filters out healthy instances to ensure business continuity.

Health check

CLB performs scheduled detection to check if backend cloud services are running properly. You can customize health check frequency. If server exceptions are detected, CLB stops directing traffic to these affected instances and filters out healthy instances to ensure business continuity.

Cross-AZ disaster recovery

Public network CLB supports primary-secondary AZ mode. When the primary availability zone fails, the load balancer will switch automatically to the secondary AZ and restore service in super short time. Private network CLB implements Closest Access Architecture, where a single CLB instance is deployed to one or more availability zones. When clients access the CLB, traffic is automatically directed to the cluster with minimum latency in the availability zone and forwarded to the backend server. If the CLB cluster in a certain availability zone becomes unavailable, it can switch to the CLB cluster in other availability zones.

Cross-AZ disaster recovery

Public network CLB supports primary-secondary AZ mode. When the primary availability zone fails, the load balancer will switch automatically to the secondary AZ and restore service in super short time. Private network CLB implements Closest Access Architecture, where a single CLB instance is deployed to one or more availability zones. When clients access the CLB, traffic is automatically directed to the cluster with minimum latency in the availability zone and forwarded to the backend server. If the CLB cluster in a certain availability zone becomes unavailable, it can switch to the CLB cluster in other availability zones.

Multi-protocol forwarding

Support L4 and L7 listeners, including TCP, UDP, TCP-SSL, QUIC, HTTP, HTTPS, and WebSocket (Secure). Layer 7 supports traffic distribution based on forwarding domain name and URL.

Weight configuration

Weight configuration enables faster request processing for backend cloud services. Traffic is distributed to different backend servers via CLB based on weight ratio, or through hash and polling results of the source IP address.

Content-based route

Cloud Load Balancer (CLB) supports Content-based Routing with layer-7 protocol. It allows custom domains/URLs, forwarding rules, and forwarding group Content. Users can distribute requests to different real servers under various forwarding rules. By dividing target groups through CLB, business separation is achieved, significantly improving service efficiency.

Redirect requests

Application-based CLB supports the custom redirect feature (Rewrite) for L7 protocol, which addresses two major challenges:

-Force HTTPS: When PCs or mobile browsers access web services via HTTP requests, the CLB proxy returns HTTPS responses to the browser, enforcing HTTPS access to the web page.

-Redirect a single path. For example, when a Web business needs to go temporarily offline (such as e-commerce business sold out, page maintenance, or update), redirect the original page to a new page.

Multiple scheduling algorithms

CLB supports weighted round-robin scheduling, IP Hash, and weighted least connections as the three scheduling algorithms, as well as backend server weight settings to ensure more even traffic scheduling and enhance CLB capacity.

Session persistence

For L4 services, CLB provides IP-based session persistence. During load balancing, CLB uses the source address of the request as the basis for associating sessions, forwarding all access requests from the same IP (subnet) to the same server. For layer-7 business, CLB offers cookie-based session persistence. CLB is responsible for embedding cookies, and no configuration is required on the real server.

Health check

CLB performs scheduled detection to check if backend cloud services are running properly. You can customize health check frequency. If server exceptions are detected, CLB stops directing traffic to these affected instances and filters out healthy instances to ensure business continuity.

Cross-AZ disaster recovery

Public network CLB supports primary-secondary AZ mode. When the primary availability zone fails, the load balancer will switch automatically to the secondary AZ and restore service in super short time. Private network CLB implements Closest Access Architecture, where a single CLB instance is deployed to one or more availability zones. When clients access the CLB, traffic is automatically directed to the cluster with minimum latency in the availability zone and forwarded to the backend server. If the CLB cluster in a certain availability zone becomes unavailable, it can switch to the CLB cluster in other availability zones.

View All
How it works in various businesses scenarios
Professional
Separation
Hybrid Cloud
GWLB - Private Network Security
GWLB - Public Network Security
Business Type

- The business has obvious peaks and valleys, and business stability and low costs are desired.

Scenario Description

- The business goes through significant peaks and troughs and requires the flexible control of backend resources.

The business has requirements that are highly time-sensitive. For example, during ecommerce promotion campaigns, web page views may increase by over 10 times within a few hours, and a large number of backend CVMs need to be added when the number of visitors surges. When the traffic drops, the unnecessary CVMs needs to be terminated. You can use CLB to distribute traffic to the business systems, which helps flexibly enhance the service capabilities of the application systems and elastically adjust the backend resources in real time.

- The business has high peak traffic and needs to build a low-cost architecture.

When a business has high peak traffic, using traditional hardware to build a cluster is very costly and requires tedious OPS work. CLB can work together with Cloud Monitor to effectively manage high peak traffic and reduce deployment costs, relieving you from hardware OPS duties and allowing you to focus instead on developing product features.

Business Type

- The business has complex modules and requires the separation of dynamic and static services.

Scenario Description

- The business requires the separation of dynamic and static services and flexible forwarding.

When the number of requests is high, the targeted distribution of requests to the website can be achieved by differentiating the static and dynamic requests, effectively reducing the backend load pressure. The dynamic requests can be processed by the independently deployed CLB and associated backend CVM clusters, while the static content can be connected to CDN and optimized by COS to significantly improve the loading speed.

Business Type

- The website or business requires data interconnection.

Scenario Description

- The business requires content-based routing and forwarding for IP convergence.

A large website generally has hundreds of business modules. CLB can analyze HTTP headers by setting different forwarding rules or groups to separate the business modules and achieve content-based routing and forwarding. In addition, you can use custom forwarding paths instead of second-level domain names to reduce the number of DNS polls, converge IPs and improve the service accessing speed.

- The Direct Connect-hybrid cloud solution achieves stable data transfer and flexible migration.

With Tencent Cloud's hybrid cloud solution, the core internal systems and data of the business can be stored in the user-built IDC, and the services can be deployed in the cloud to cope with the surge in user traffic. Direct Connect ensures the stability and speed of in/off-cloud data transfer to guarantee data consistency. In addition, the business can be gradually migrated to the cloud through flexible weight configuration, and combined with the data transfer feature of Direct Connect, an elastic, fast, reliable and low-cost business deployment can be easily implemented.

Gateway Load Balancer (GWLB) is a load balancer running at the network layer. The GWLB instance helps customers deploy, scale, and manage third-party virtual devices such as firewalls, intrusion detection and prevention systems, analysis, and visibility, making operations simpler and security stronger.

GWLB, in conjunction with third-party virtual devices such as firewalls, can detect inbound and outbound traffic while ensuring high availability zones. GWLB uses the GENEVE protocol to communicate with firewalls, forwards the received traffic to a group of firewalls at the backend, and performs management features such as health checks and load balancing.

Gateway Load Balancer (GWLB) is a load balancer running at the network layer. The GWLB instance helps customers deploy, scale, and manage third-party virtual devices such as firewalls, intrusion detection and prevention systems, analysis, and visibility, making operations simpler and security stronger.

GWLB associates the Elastic IP with the terminal node. Access from the public network to the VPC network where the GWLB instance resides is available through Private Link. Third-party virtual devices, such as firewalls, are deployed directly in the network data path so that all passing data packets will be checked and processed by the firewalls. This stops malicious data from entering the network and protects internal resources from attacks.

Resources and documentation
Cloud Load Balancer Billing Overview
This document helps you get started with Cloud Load Balancer
Gateway Load Balancer Billing Overview
This document helps you get started with Gateway Load Balancer
Are you ready to get started?
Empowering enterprises' cloud migration and digital transformation to unleash unlimited potential