Azure Load Balancer

  • Distributes incoming network traffic across multiple targets.
  • Allows you to route traffic based on source IP address and port to a destination IP address and port.

Features

  • The load balancer supports TCP/UDP-based protocols.
  • Scales automatically as traffic increases.
  • The load-balancing decision is based on the following tuple connection:
    • Source IP address and port
    • Destination IP address and port
    • Protocol
  • NAT allows you to control the inbound and outbound network traffic.
    • Inbound rules –  traffic allowed to a specific virtual machine or instance in the backend pool.
    • Outbound rules – enable all resources to communicate to the Internet.
  • Control the flow of traffic inside your private virtual network using an internal load balancer.
  • IT Certification Category (English)728x90
  • You can use a public load balancer to allow outbound connections for your virtual machines.
  • Azure Load Balancer supports IPv6.
  • Load balancer tiers: Basic and Standard

Components

  • A group of VMs or instances in a VM scale set serving the incoming request is called backend pool.
  • Determine the health status of backend pool instances with health probes
    • Health probe down behavior – if the probes in a backend pool fail, it will stop receiving traffic until it starts passing health probes again.
  • Standard load balancer availability zones:
    • Zonal = single zone
    • Zone-redundant = multiple zones

Details

Basic Load Balancer

Standard Load Balancer

Backend pool size

Supports up to 300 instances.

Supports up to 1000 instances.

Backend pool endpoints

A single availability set for VMs or VM scale set.

A single virtual network for any VMs or VM scale sets.

Health probes

TCP, HTTP

TCP, HTTP, HTTPS

Health probe down behavior

TCP connections stay alive on an instance probe down. All TCP connections terminate when all probes are down.

TCP connections stay alive on an instance probe down and on all probes down.

Availability Zones

Not available

Zone-redundant and zonal frontends for inbound and outbound traffic.

Diagnostics

Azure Monitor logs

Azure Monitor multi-dimensional metrics

HA Ports

Not available

Available for Internal Load Balancer

Secure by default

Open by default. Network security group optional.

Closed to inbound flows unless allowed by a network security group. Please note that internal traffic from the VNet to the internal load balancer is allowed.

Outbound Rules

Not available

Declarative outbound NAT configuration

TCP Reset on Idle

Not available

Available on any rule

Multiple frontends

Inbound only

Inbound and outbound

Management Operations

60-90+ seconds typical

Most operations < 30 seconds

SLA

Not available

99.99%

Pricing

  • You are charged based on the number of outbound rules.
  • You are billed for the first five rules of load balancing.
  • You are not charged for the NAT rules.

Azure Load Balancer vs App Gateway vs Traffic Manager:
https://tutorialsdojo.com/azure-load-balancer-vs-app-gateway-vs-traffic-manager/

How to Create a Load Balancer

Want to learn more about Azure? Watch the official Microsoft Azure YouTube channel’s video series called Azure Tips and Tricks.

Sources:
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-overview
https://azure.microsoft.com/en-us/services/load-balancer/

BLACK FRIDAY Sale FINAL Week! Biggest Discounts on Practice Test + eBook Bundles

tutorials dojo black friday sale

NEW Course – AWS Certified Data Analytics Specialty Practice Exams

AWS Certified Data Analytics Sepcialty

Pass your AWS and Azure Certifications with the Tutorials Dojo Portal

Tutorials Dojo portal

Our Bestselling AWS Certified Solutions Architect Associate Practice Exams

AWS Certified Solutions Architect Associate Practice Exams

Enroll Now – Our AWS Practice Exams with 95% Passing Rate

AWS Practice Exams Tutorials Dojo

Enroll Now – Our Azure Certification Exam Reviewers

azure reviewers tutorials dojo

Tutorials Dojo Study Guide and Cheat Sheets eBooks

Tutorials Dojo Study Guide and Cheat Sheets-2

FREE Intro to Cloud Computing for Beginners

FREE AWS Practice Test Samplers

Browse Other Courses

Generic Category (English)300x250

Recent Posts