tencent cloud

Cloud Load Balancer

Release Notes and Announcements
CLB Release Notes
Product Announcements
Product Introduction
Overview
Strengths
Use Cases
Principles
Product Comparison
Use Limits
Service Regions and Service Providers
Purchase Guide
Billing Overview
Billing
CLB Resource Package
Purchase Methods
Payment Overdue
Product Attribute Selection
Getting Started
Getting Started with Domain Name-Based CLB
Getting Started with CLB
Getting Started with IPv6 CLB
Deploying Nginx on CentOS
Deploying Java Web on CentOS
Operation Guide
CLB Instance
CLB Listener
Real Server
Health Check
Certificate Management
Log Management
Monitoring and Alarm
Cloud Access Management
Classic CLB
Practical Tutorial
Deploy certificate to CLB (mutual authentication)
Enabling Gzip Compression & Testing
HTTPS Forwarding Configurations
Obtaining Real Client IPs
Best Practices for Configuring Load Balancing Monitoring Alerts
Implementing HA Across Multiple AZs
Load Balancing Algorithm Selection and Weight Configuration Examples
Configuring WAF protection for CLB listening domain names
Configure IAP to authenticate web access to the CLB domain and path
Configure IAP to authenticate programmatic access to CLB's domain and path
Ops Guide
Solution to Excessive Clients in TIME_WAIT Status
Load Balancer HTTPS Service Performance Test
Stress Testing FAQ
CLB Certificate Operation Permissions
Troubleshooting
UDP Health Check Exception
API Documentation
History
Introduction
API Category
Instance APIs
Listener APIs
Backend Service APIs
Target Group APIs
Redirection APIs
Other APIs
Classic CLB APIs
Load Balancing APIs
Making API Requests
Data Types
Error Codes
CLB API 2017
FAQs
Billing
CLB Configuration
Troubleshooting Health Check Issues
HTTPS
WS/WSS Protocol Support
HTTP/2 Protocol Support
Default Domain Name Blocking Prompt
Service Level Agreement
Contact Us
Glossary

Classic CLB Overview

PDF
Focus Mode
Font Size
Last updated: 2024-01-04 14:34:05

Overview

Classic CLB is easy to configure and supports simple load balancing scenarios:
Public network classic CLB: supports TCP/UDP/HTTP/HTTPS protocols.
Private network classic CLB: supports TCP/UDP protocols.
CLB instances can be classified into two types: CLB (formerly "application CLB") and classic CLB.
CLB includes all features of classic CLB. Based on their features and performance, we recommend using CLB. For detailed comparison, see Instance Types.
Note:
Currently, there are two types of Tencent Cloud accounts: bill-by-EIP/CLB and bill-by-CVM. All Tencent Cloud accounts registered after June 17, 2020 00:00:00 are bill-by-EIP/CLB accounts. For Tencent Cloud accounts registered before June 17, 2020, check your account types in the console. Bill-by-EIP/CLB accounts no longer support classic CLB. You can now only purchase a CLB instance.
This document introduces classic CLB instances. After creating an instance, you need to configure a listener for it. The listener listens to requests on the CLB instance and distributes traffic to the real server based on the load balancing policy.

Listener Configurations

You need to configure a CLB listener as follows:
1. Listener protocol and listening port. The listening port, or frontend port, is used to receive and forward requests to real servers.
2. Backend port. It is the port through which the CVM instance provides services, receives and processes traffic from the CLB instance.
3. Listening policy, such as load balancing policy and session persistence.
4. Health check policy.
5. Real server can be bound by selecting its IP.
Note:
If you configure multiple listeners to a classic CLB instance and bind multiple real servers, each listener will forward requests to all real servers based on its configuration.

Supported protocol types

A CLB listener can listen to Layer-4 and Layer-7 requests on a CLB instance and distribute them to real servers for processing. The main difference between Layer-4 CLB and Layer-7 CLB is which protocol is used to forward traffic when load balancing user requests.
Layer-4 protocols: transport layer protocols, including TCP and UDP.
Layer-7 protocols: application layer protocols, including HTTP and HTTPS.
Note:
1. A classic CLB instance receives requests and forwards traffic to the real server via VIP and port. Layer-7 protocols do not support forwarding based on domain name and URL.
2. A private network classic CLB instance only supports Layer-4 protocols, not Layer-7 protocols.
3. If you need aforementioned advanced features, we recommend choosing CLB over classic CLB. For more information, see Instance Types.

Port Configuration

Listening Port (frontend port)
Service Port (backend port)
Description
The listening port is used by a CLB instance to receive and forward requests to real servers for load balancing.
You can configure CLB for the port range 1-65535, such as 21 (FTP), 25 (SMTP), 80 (HTTP), and 443 (HTTPS).
A service port is used by the CVM to provide services, receives and processes traffic from the CLB instance.
On a CLB instance, one listening port can forward traffic to ports of multiple CVM instances.
On a CLB instance,
a listening port must be unique.
For example, TCP:80 and HTTP:80 listeners cannot be created at the same time.
Only TCP and UDP ports can be the same.
For example, you can create both TCP:80 and UDP:80 listeners.

The same service ports can be used on a CLB instance.
For example, HTTP:80 and HTTPS:443 listeners can be bound to the same port of a CVM instance.






Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback