Skip to main content

Register a VM with a load balancer

Reviewed on · View on GitHub

You can attach one or more VM (Virtual Machine) to a specified load balancer. You must specify at least the BackendIps or BackendVMIds parameter. The VM can be located in different subnets and different Subregions from the load balancer, as long as the VM and the load balancers are either all in the public Cloud or all in the same VPC (Virtual Private Cloud). Registering a VM with the load balancer can take some time. Once registered, the VM receives traffic and requests from that load balancer and is then called a backend VM.

Permissions​

info

This action requires the following IAM (Identity and Access Management) permissions:

  • compute.loadBalancer.update

Console​

  1. From the left-hand side menu, click Network → Load Balancers to access the list of load balancers.
  2. Click the name of the load balancer for which you want to register a VM.
  3. In the "Backend VM" tab, click Register a VM.
  4. Select the VM to register from the drop-down list.
tip

Multi-selection is available.

  1. Click Register. The VM is registered with the load balancer.
Was this page helpful?