Create a load balancer listener
Reviewed on · View on GitHub
You can create a listener for a load balancer to check connection requests and forward them to the backend VM (Virtual Machine).
Permissions
This action requires the following IAM (Identity and Access Management) permissions:
- compute.loadBalancer.create
- Console
- API
- Terraform
Console
-
From the left-hand side menu, click Network → Load Balancers to access the list of load balancers.
-
Click the name of the load balancer for which you want to create a listener.
-
In the "Listeners" tab, click Create a listener.
-
Configure the listener settings (protocol, port, etc.).
-
Click Create.
The listener is created and associated with the load balancer.
API
The POST /compute/spaces/{spaceId}/loadBalancers/{id}/listeners command creates one or more listeners for a specified load balancer.
Terraform
The Terraform documentation is available on the Numspot registry ↗.