All Products
Search
Document Center

Server Load Balancer:Features

Last Updated:Apr 01, 2026

Classic Load Balancer (CLB) provides Layer 4 and Layer 7 load balancing. The tables below list the features supported at each layer. "✔" means supported and "–" means not supported.

Traffic management

FeatureDescriptionLayer 4Layer 7
Routing algorithmsCLB supports three algorithms: round-robin (RR), weighted round-robin (WRR), and consistent hashing (CH). Layer 7 does not support CH.
Session persistenceRoutes all requests from the same session to the same backend server.
Domain name-based and URL-based forwardingRoutes requests to different backend servers based on domain name or URL path. Configured on Layer 7 listeners only.

High availability and security

FeatureDescriptionLayer 4Layer 7
High availabilityDistributes traffic across zones, with cross-zone deployment supported in most regions. If the primary zone fails, traffic automatically shifts to the secondary zone.
Network access control lists (ACLs)Controls access using allowlists and denylists.
DDoS protectionIntegrates with Apsara Stack Security to protect against DDoS attacks of up to 5 Gbit/s.
Certificate managementCentrally manages certificates for HTTPS listeners. CLB decrypts requests before forwarding them to backend servers, reducing backend processing load.
Server Name Indication (SNI)Associates multiple certificates with a single HTTPS listener to route requests from different domain names to different backend servers.
HTTP-to-HTTPS redirectionRedirects HTTP requests to HTTPS.

Protocols and network

FeatureDescriptionLayer 4Layer 7
Network typesSupports Internet-facing instances for public traffic and internal-facing instances for traffic within a virtual private cloud (VPC).
IPv6 supportForwards requests from IPv6 clients to IPv4 backend servers. IPv6 backend servers are not supported.
WebSocket (WS) and WebSocket Secure (WSS)Supports full-duplex communication between clients and servers.
HTTP/2Supports HTTP/2, which is backward compatible with HTTP/1.X.

Monitoring and logging

FeatureDescriptionLayer 4Layer 7
Health checksMonitors the health of backend servers and stops routing traffic to unhealthy servers.
MonitoringProvides connection counts and the volumes of inbound and outbound traffic through CloudMonitor.
Health check logsRetains health check logs for the last 3 days by default. To store all logs, enable Object Storage Service (OSS) first.