Configuring UDP for network load balancers
You can configure the User Datagram Protocol (UDP) for the Network Load Balancer for VPC (NLB) listener and pool. UDP is a communications protocol that establishes low-latency and loss-tolerating connections between applications on the internet. It speeds up transmissions by enabling the transfer of data before an agreement is provided by the receiving party.
The following information does not apply to Private Path network load balancers.
UDP is only supported on network load balancers. When configuring UDP and attaching a pool to your listener, you must configure the pool with the same protocol as the listener.
For more information about limitations, see IBM Cloud Network Load Balancer for VPC limitations and Port range limitations.
Configuring UDP using the UI
You can configure UDP when creating a network load balancer, or afterwards using the following procedure:
-
From your browser, open the IBM Cloud console and log in to your account.
-
Select the Navigation Menu , then click Infrastructure > Load balancers.
-
Click the NLB that you want to change.
-
From the NLB details page, select the Front-end listeners tab. Then, select the listener that you want to edit.
You can also click the Create listener button to create a listener.
Select the UDP that receives your inbound customer traffic from the Protocol drop-down menu.
-
From the NLB details page, select the Back-end pools tab. Then, select the pool that you want to edit.
You can also click the Create pool button to create a pool.
Select the UDP that sends your outbound customer traffic from the Protocol drop-down menu.
Configuring UDP using the CLI
You can configure the UDP using the CLI when creating a network load balancer using the udp
option.
Configuring UDP using the API
For listeners and pools, you can configure UDP using the API when creating a network load balancer by specifying udp
for the protocol
attribute.