CLB offers two types of instances: CLB (formerly "application CLB") and Classic CLB.
CLB has all features of Classic CLB. Given their product features and performance, we recommend that you use CLB. For a detailed comparison, please see below:
Product Type | CLB | Classic CLB | ||
---|---|---|---|---|
Public network | Private network | Public network | Private network | |
Layer-7 forwarding (HTTP/HTTPS) | ✓ | ✓ | ✓ | × |
Layer-4 forwarding (TCP/UDP) | ✓ | ✓ | ✓ | ✓ |
Encrypted Layer-4 forwarding (TCP SSL) | ✓ | × | × | × |
HTTP/2 and WebSocket (Secure) support | ✓ | ✓ | ✓ | × |
Load balancing policy | IP hash (Layer-7) Weighted round-robin Weighted least-connection scheduling |
IP hash (Layer-7) Weighted round-robin Weighted least-connection scheduling |
IP hash (Layer-7) Weighted round-robin Weighted least-connection scheduling |
Weighted round-robin |
Session persistence | ✓ | ✓ | ✓ | ✓ |
Health check | ✓ | ✓ | ✓ | ✓ |
Custom forwarding rule (domain name/URL) | ✓ | ✓ | × | × |
SNI multi-certificate support | ✓ | ✓ | × | × |
Forwarding to different real ports | ✓ | ✓ | × | × |
Custom Layer-7 configuration | ✓ | ✓ | × | × |
Layer-7 redirect (rewrite) | ✓ | × | × | × |
Cross-region binding support | ✓ | × | × | × |
Storing Layer-7 access logs in CLS | ✓ | ✓ | ✓ | × |
Note:
- CLB instance: a CLB instance supports enabling or disabling the HTTP/2 protocol. For more information, see Configuring an HTTPS Listener .
- Classic CLB instance: HTTPS listeners created for Classic CLB before April 2018 do not support the HTTP/2 protocol. HTTPS listeners created after April 2018 support but cannot disable the HTTP/2 protocol.
Was this page helpful?