Sunday, April 4, 2021

Azure Load Balancer Part- 1

Load balancing provides a higher level of availability by spreading incoming requests across multiple virtual machines. 

A public load balancer can provide outbound connections for virtual machines (VMs) inside your virtual network. These connections are accomplished by translating their private IP addresses to public IP addresses. Public Load Balancers are used to load balance internet traffic to your VMs.

An internal (or private) load balancer is used where private IPs are needed at the frontend only. Internal load balancers are used to load balance traffic inside a virtual network.

Azure Load Balancer SKUs

SKU is short for 'Stock-keeping-Unit'.In terms of the Microsoft Azure cloud, they basically signify a purchasable SKU under a product. It has a bunch of different shapes of the product. Azure Load Balancer has two SKUs.

SKU comparison

Load balancer supports both Standard and Basic SKUs. These SKUs differ in scenario scale, features, and pricing. Any scenario that's possible with Basic load balancer can be created with Standard load balancer.

To compare and understand the differences, see the following table. 

                                    Standard Load Balancer                                         Basic Load Balancer           

Backend pool sizeSupports up to 1000 instances.Supports up to 300 instances.
Backend pool endpointsAny virtual machines or virtual machine scale sets in a single virtual network.Virtual machines in a single availability set or virtual machine scale set.
Health probesTCP, HTTP, HTTPSTCP, HTTP
Health probe down behaviorTCP connections stay alive on an instance probe down and on all probes down.TCP connections stay alive on an instance probe down. All TCP connections end when all probes are down.
Availability ZonesZone-redundant and zonal frontends for inbound and outbound traffic.Not available
DiagnosticsAzure Monitor multi-dimensional metricsAzure Monitor logs
HA PortsAvailable for Internal Load BalancerNot available
Secure by defaultClosed to inbound flows unless allowed by a network security group. Internal traffic from the virtual network to the internal load balancer is allowed.Open by default. Network security group optional.
Outbound RulesDeclarative outbound NAT configurationNot available
TCP Reset on IdleAvailable on any ruleNot available
Multiple front endsInbound and outboundInbound only
Management OperationsMost operations < 30 seconds60-90+ seconds typical

Limitations of SKU

  • SKUs aren't mutable. You can't change the SKU of an existing resource.
  • A standalone virtual machine resource, availability set resource, or virtual machine scale set resource can reference one SKU, never both.

0 comments:

Post a Comment