More Info:

Ensure that each Microsoft Azure virtual machine scale set is integrated with a load balancer in order to distribute incoming traffic among healthy virtual machine instances running within the scale set. Azure load balancer is a layer 4 load balancer that provides low latency, high throughput, and scales up to millions of flows for all TCP and UDP web applications.

Risk Level

Medium

Address

Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration of VM Scale Sets not being integrated with Load Balancers in AZURE, follow the below steps:

  1. Login to the AZURE portal (https://portal.azure.com/).
  2. Navigate to the “Virtual machine scale sets” option in the left-hand menu.
  3. Select the VM scale set that you want to integrate with a load balancer.
  4. Click on the “Networking” option under the “Settings” section.
  5. In the “Networking” section, click on the “Add inbound NAT rule” option.
  6. In the “Add inbound NAT rule” window, select the “Load balancer” option.
  7. Select the load balancer that you want to integrate with the VM scale set.
  8. Select the backend port and protocol for the VM instances.
  9. Select the frontend IP configuration for the load balancer.
  10. Click on the “Add” button to save the changes.

After following these steps, the VM scale set will be integrated with the selected load balancer.