Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

4.1.2. Load Balancing Rules

Components:
Load Distribution Modes:
ModeHashUse Case
Default (5-tuple)Source IP, port, dest IP, port, protocolStateless apps
Source IP (2-tuple)Source IP, dest IPSession affinity
Source IP + protocol (3-tuple)Source IP, dest IP, protocolSame-client affinity
Health Probes:
ProtocolBest For
TCPSimple availability check
HTTP/HTTPSApplication-level health (checks specific path)

Probe settings:

  • Interval: How often to probe (seconds)
  • Unhealthy threshold: Failed probes before marking unhealthy
Outbound Rules (SNAT):

Standard Load Balancer provides explicit outbound SNAT configuration:

SettingPurpose
Frontend IPSource IP for outbound
Backend poolVMs using this rule
ProtocolTCP, UDP, or both
Allocated portsSNAT ports per instance
Idle timeoutHow long to keep connections

⚠️ Exam Trap: Without explicit outbound rules or NAT Gateway, Standard LB backends have NO outbound internet access. This is by design (secure by default).

Alvin Varughese
Written byAlvin Varughese
Founder15 professional certifications