Server Load Balancer (SLB) distributes traffic across backend servers to increase throughput, eliminate single points of failure, and improve availability. The SLB family includes Application Load Balancer (ALB), Network Load Balancer (NLB), and Classic Load Balancer (CLB).
Product overview
Alibaba Cloud SLB is a fully managed, pay-as-you-go load balancing service for large-scale internet applications and high-concurrency scenarios such as flash sales and IoT. Unlike hardware load balancers, SLB requires no upfront investment. Unlike self-managed solutions, it provides professional operations support and free 24/7 technical assistance.
Product types
Alibaba Cloud SLB supports the following types of load balancers:
-
Application Load Balancer (ALB): A Layer 7 load balancer that handles up to 1 million QPS per instance. Provides HTTPS offloading and content-based routing (forwarding, redirection, and rewriting by HTTP headers, cookies, and query strings). Serves as the official cloud-native Ingress gateway on Alibaba Cloud. What is Application Load Balancer (ALB).
-
Network Load Balancer (NLB): A next-generation Layer 4 load balancer for IoT and high-concurrency scenarios such as large-scale device connections, messaging services, and audio/video streaming. Handles up to 100 million concurrent connections per instance. NLB features include TCPSSL offloading, new-connection rate limiting, all-port listening, and MQTTS encryption offloading. What is Network Load Balancer (NLB).
-
Classic Load Balancer (CLB): Supports TCP, UDP, HTTP, and HTTPS with robust Layer 4 and basic Layer 7 processing. What is Classic Load Balancer (CLB).
Feature comparison
|
Item |
ALB |
NLB |
CLB |
|
Service focus |
|
|
|
|
Architecture and performance |
|
|
|
|
Forwarding capabilities |
|
|
|
|
Backend server type |
|
|
|
|
O&M capabilities |
|
|
|
|
Cloud-native integration |
|
Supports integration with ACK/ASK (Version 1.24 and later) |
Limited support; requires integration with Alibaba Cloud container services such as ACK or ASK |
|
Use cases |
|
|
|
Billing comparison
The following section describes the billing for ALB, NLB, and CLB.
ALB billing
-
For more information about ALB resource plans, see ALB resource plans.
-
For pay-as-you-go ALB pricing, see ALB billing rules.
NLB billing
For pay-as-you-go NLB pricing, see NLB billing rules.
CLB billing
The following figure shows billing components for pay-as-you-go CLB instances. For pricing details, see Pay-as-you-go.
The following table compares the Load Balancer Capacity Unit (LCU) pricing and definitions for ALB, NLB, and CLB.
|
Service |
LCU unit price Unit: USD/LCU/hour |
LCU definition |
References |
|
Application Load Balancer ALB |
0.007 |
One ALB LCU includes:
|
|
|
Network Load Balancer NLB |
0.005 |
For TCP traffic, one NLB LCU includes:
For UDP traffic, one NLB LCU includes:
For TCPSSL traffic, one NLB LCU includes:
|
|
|
Classic Load Balancer CLB |
0.007 |
For TCP traffic, one CLB LCU includes:
For UDP traffic, one CLB LCU includes:
For HTTP(S) traffic, one CLB LCU includes:
|
Benefits
Support for multiple protocols
Supports multiple protocols for diverse application needs.
-
Basic: TCP and UDP (Layer 4), HTTP and HTTPS (Layer 7).
-
Advanced protocols:
-
ALB: QUIC for audio/video and mobile apps; gRPC for microservice communication.
-
NLB: TCPSSL for centralized SSL certificate management and offloading.
-
Multi-level disaster recovery
Multiple disaster recovery layers ensure high availability.
-
Health checks detect unhealthy backend servers and automatically stop forwarding traffic to them.
-
Multi-zone deployment: Deploy across availability zones for intra-city disaster recovery.
-
Session synchronization: Cluster deployment synchronizes sessions across servers, supporting hot upgrades and eliminating single points of failure.
Enhanced security and reliability
Built-in security features reduce your security overhead.
-
Network-layer: Protects against DDoS, SYN Flood, UDP Flood, ACK Flood, ICMP Flood, and DNS Flood attacks.
-
Application-layer: Integrates with Web Application Firewall (WAF) in one click for enhanced application protection.
-
Certificate management: Centralized management for HTTPS, QUIC, and TCPSSL certificates.
Guaranteed performance
Guaranteed traffic distribution capacity with elastic scaling.
-
Performance-guaranteed instances: CLB provides performance isolation between instances based on the selected specification.
-
Elastic capacity: ALB supports up to 1 million QPS; NLB supports up to 100 million concurrent connections and 100 Gbps bandwidth. Both auto-scale for traffic spikes.
Flexible scheduling strategies
Multiple scheduling algorithms and forwarding modes for flexible deployment.
-
Scheduling algorithms: Weighted round-robin, weighted least connections, source IP hash, 4-tuple hash, consistent hashing, and QUIC ID hash.
-
Forwarding rules: Configure rules for requests and responses to schedule traffic based on conditions and actions.
Flexible management and payment options
Multiple management channels and payment options.
-
Management: Console, OpenAPI, and SDKs.
-
Billing: Pay-as-you-go or subscription; pay by data transfer or fixed bandwidth.
Related documents
-
Learn more about each product:
-
If you are new to SLB, see Quick start.
-
For a summary of billing-related documentation for load balancing products, see SLB billing.