This section explains multiple Azure load balancers feature for Microsoft Azure Cloud.

Avi Load Balancer deployments in Microsoft Azure leverage the Azure Load Balancer (ALB) to provide an ECMP-like, Layer 3 scale-out architecture.

By default, the Controller creates two Azure load balancers per SE group, one internal and one external. This limits the number of virtual service IPs (VIPs) or ports supported on the Service Engine. Each virtual IP and port consumes a rule.

Note:

Currently the number of rules per NIC is limited to 300. The revised number will periodically be updated at Load Balancer limits.

This feature is supported for basic ALB only.

Multi Azure load balancers are supported within a single Avi Load Balancer SE group. Consider an instance where 150 virtual services need to be created in an SE group, each with two front-end ports, 80 and 443. This would require 300 rules, which is the allowed limit. So, a new virtual service cannot be configured in the same SE group. However, with multi load balancers feature enabled, more virtual services can be created in the SE group. The Controller creates multiple Azure load balancers and distributes Service Engines across the availability sets.

The following are the advantages of this feature:

  • This feature is offered along with the basic load balancer at no additional costs.

  • The new load balancer is automatically created as required and scaled out seamlessly without any user intervention.

  • Multi Azure load balancers are configured only for the SE group. No configuration changes are required for the remaining virtual services.

Enabling Multi Azure Load Balancer

Follow the steps below to enable multi Azure load balancers in an Azure cloud:

  1. Configure the Service Engine group for Azure cloud.

  2. Set the enable_multi_lb option on the Service Engine group for the cloud(Optional).

  3. Set the following knobs for multi load balancer rules to restrict the number of rules used:

    1. Maximum ruler per Azure load balancer

    2. Maximum public VIPs per Azure load balancer

[admin:10-X-X-X]: > configure serviceenginegroup Default-Group

[admin:10-X-X-X]: serviceenginegroup> enable_multi_lb

[admin:10-X-X-X]: serviceenginegroup> max_rules_per_lb 150

[admin:10-X-X-X]: serviceenginegroup> max_public_ips_per_lb 30

Migrating to Multiple Azure Load Balancers

You can migrate to multiple load balancers in an Azure cloud without deleting the virtual services.

Follow the steps below, in the order provided, to migrate the existing SE groups with virtual services:

  1. Disable all virtual services placed on the target Service Engine group.

  2. Delete all the Service Engines from the Service Engine group.

  3. Enable multi-load balancers and configure the knobs, as explained in the section above.

  4. Enable all virtual services.