Quick Start
Creating a Network Load Balancer from the portal
From the portal, you can create an NLB from the Compute / Load Balancer menu. You must provide the name of the load balancer, and the zone to deploy it. An optional description can also be provided.
After a few dozens of seconds, the Load Balancer is created and has its own IP address.
From the contextual menu - the 3 dots on the right, you can select the details option to get additional information about the Load Balancer. This view also allows to add a Service to the Load Balancer - an Instance Pool the Load Balancer will send requests to.
Clicking on the Add Service button allows you to specify such a Service.
Creating a Network Load Balancer from the CLI
We can create a Network Load Balancer using the command line.
$ exo compute load-balancer create mynlb --zone ch-gva-2 --description "Exposing my application to the internet"
✔ Creating Network Load Balancer "mynlb"... 6s
┼───────────────────────┼─────────────────────────────────────────┼
│ NETWORK LOAD BALANCER │ │
┼───────────────────────┼─────────────────────────────────────────┼
│ ID │ 988e7d8e-5841-451a-995a-8b5b48ac071c │
│ Name │ mynlb │
│ Zone │ ch-gva-2 │
│ IP Address │ 91.92.152.147 │
│ Description │ Exposing my application to the internet │
│ Creation Date │ 2025-05-19 08:26:43 +0000 UTC │
│ State │ running │
│ Services │ n/a │
│ Labels │ │
┼───────────────────────┼─────────────────────────────────────────┼
You can also retrieve this information later on.
$ exo compute load-balancer show mynlb
The following command allows you to add and a Service to this Load Balancer.
$ exo compute load-balancer service add -h