The QUIC protocol helps you access applications faster and achieves multiplexing with no reconnection required in scenarios such as weak network or frequent switch between Wi-Fi and 4G. This document introduces how to configure QUIC protocol in the CLB Console.
Quick UDP Internet Connection (QUIC is a transport layer network protocol designed by Google, multiplexing concurrent data streams using UDP. Compared with the popular TCP+TLS+HTTP2 protocol, QUIC has the following advantages:
After QUIC is enabled, the client can establish a QUIC connection with a CLB instance. If the QUIC connection fails due to negotiation between the client and the CLB instance, HTTPS or HTTP/2 will be used. However, the CLB instance and the real server still use the HTTP1.x protocol.
Currently, CLB supports QUIC Q044 and earlier versions.
Create a CLB instance as needed. For more information, see Creating CLB Instances.
When creating a CLB instance, select “Beijing”, “Shanghai” or “Mumbai” for Region, and “Public network” for Network type.
Log in to the CLB Console, and click CLB Instance List on the left sidebar.
On the Instance Management page, select the Cloud Load Balancer tab.
Locate the public network CLB instance created in Beijing, Shanghai or Mumbai region, and click Configure listener under the Operation column.
On the Listener Management page, click Create under HTTP/HTTPS Listener.
On the CreateListener page, choose “HTTPS” for Listen Protocol Ports. Complete other configurations, and click Submit.
On the Listener Management page, click the + symbol next to the listener you just created.
On the CreateForwarding rules page, enable QUIC and create a Layer-7 rule. Fill in relevant fields and click Next to complete the basic configuration.
- Currently, a HTTPS listener can only enable the QUIC protocol for one domain name.
- If you enabled the QUIC protocol when creating a HTTPS listener, you can enable or disable the QUIC protocol later as needed. If you did not enable the QUIC protocol when creating a HTTPS listener, you cannot enable it later.
- Based on the UDP protocol, QUIC will use the UDP port of a CLB instance. If you enable QUIC for a HTTPS listener, UDP and TCP ports will be used. For example, you enable QUIC for the HTTPS:443 listener, both TCP:443 and UDP:443 ports are used, and you cannot create the TCP:443 or UDP:443 listener.