Unlocking Network Efficiency Using Azure Load Balancer
An Azure Load Balancer can show a healthy frontend while an application still fails for users. A virtual machine may be running but not passing its health probe; an inbound connection may be permitted while outbound calls fail; a backend that serves new TCP connections may still be unable to complete a real business request. Operating a load balancer means separating those failures rather than assuming that adding more servers will improve availability.
Consider a fictional regional payment-status service hosted on two Azure virtual machines. Users report intermittent timeouts. Both VMs look healthy in the Azure portal, a public Standard Load Balancer fronts TCP 443, and an administrator notices that the service also times out when calling an external fraud-check endpoint. This article follows the troubleshooting decisions that distinguish a frontend, health-probe, network-rule, backend and outbound-SNAT problem. It is not a comparison catalog of every Azure traffic-routing service.
Azure Load Balancer distributes Layer 4 TCP and UDP flows. Its frontend IP receives traffic, a load-balancing rule maps a protocol and port to a backend pool, and a health probe determines which members are eligible for new flows. It is not an HTTP-aware reverse proxy: it does not inspect URL paths, issue application login decisions or repair a broken session model.
For current implementations, distinguish Standard regional and global/cross-region features from retired Basic Load Balancer. Microsoft retired Basic Load Balancer on September 30, 2025. An old Basic instance may still be operational in some environments, but Microsoft no longer supports that SKU or provides an SLA for it. Treat its presence as a migration risk, not as a sensible new lab or production choice. Standard Load Balancer is secure by default and requires the relevant inbound network permissions to be configured deliberately.
Document the public or private frontend, backend membership, rules, health-probe endpoint, network security group boundaries, availability zones, and explicit outbound path. A load-balancer diagram missing egress connectivity is incomplete when backends call third-party APIs or download updates.
Start with what failed: which client, destination IP, port, time and response? Repeat the same transaction from a controlled client and compare it with a healthy baseline. If only some connections fail, record whether the failing clients share a source network, whether failures cluster after deployment and which backend handled the flow when that can be established. A TCP handshake alone does not prove that a payment-status request succeeded.
Azure Monitor exposes both Data Path Availability and Health Probe Status for Standard Load Balancer. Those metrics answer different questions. Data-path availability reflects the platform’s handling of the frontend path; the probe status reflects the configured probe response from backend instances. A healthy frontend with failed probes points toward probe configuration, backend reachability or application readiness rather than an Azure-wide load-balancer outage. An unhealthy frontend can require different platform or configuration investigation.
Use Azure Monitor alert rules to record meaningful availability and health changes and route them to an accountable team. Avoid declaring success because a portal widget is green while the actual payment-status endpoint still fails. The incident record should include the observed request path and the metric interval; monitoring data can arrive after a short delay.
A TCP probe checks whether a backend accepts a connection on the specified port; that is useful but can miss failures after the connection. HTTP or HTTPS probes provide application-level response behavior within the capabilities of Azure Load Balancer health probes. Choose an endpoint that tests a meaningful service dependency without turning the probe into an expensive business transaction. A probe that returns success while the application cannot access its necessary local state is misleading.
Inspect the rule-to-probe association, backend listener, timeout thresholds and NSG filtering. A server that handles requests locally can still fail a probe sent from Azure’s platform probe source because of a firewall rule. Conversely, opening a listener widely merely to make the probe green can create an exposure. Preserve the intended trust boundaries while testing the probe path.
In the sample incident, suppose VM-A passes the configured TCP probe while its application worker cannot reach the required database. A new connection can arrive at VM-A and then fail during processing. Confirm the worker failure through application logs, compare VM-B, and adjust the health contract if an appropriate readiness endpoint is available. The fix is not necessarily a different five-tuple distribution rule or a larger backend pool.
Run a controlled failover rehearsal in a disposable or explicitly approved validation pool. Stop only the test backend’s listener, record the probe transition, and verify that new client requests use another healthy instance while any existing connections behave as documented. Restart the listener, wait for the configured recovery threshold and measure the time until the instance becomes eligible again. If the probe fails but a direct backend test succeeds, inspect the probe port, network rules and application readiness behavior rather than disabling security controls. Capture the evidence and clean up the test.
Incoming client traffic and outgoing calls from a backend are separate paths. Standard Load Balancer does not make internet egress automatically available to every backend. A public Standard Load Balancer can use explicit outbound rules with frontend addresses; an internal Standard Load Balancer provides no implied public egress path. For most production subnet-level outbound designs, Microsoft recommends Azure NAT Gateway; other explicit options include an instance public IP where justified or load-balancer outbound rules.
In the incident example, the payment-status endpoint might accept inbound calls, but a backend cannot reach a fraud-check service. Test DNS resolution, destination connectivity, routing, NSG and firewall decisions, then the configured outbound mechanism. If outbound rules use a Standard Load Balancer frontend, examine concurrent connections and SNAT port allocation. Exhaustion can cause intermittent outbound failures even when the incoming load-balancer probe remains healthy.
Don’t solve the problem by giving every VM a public IP without a security review. Assess expected concurrent connections, connection reuse, destination concentration and whether NAT Gateway or an appropriate egress architecture provides better capacity. Record the public source address expected by the third-party endpoint, especially if that partner allowlists source IPs.
A zone-redundant frontend does not automatically place every backend across multiple availability zones. Confirm the actual placement of virtual machines and dependencies. If both backends or a shared database reside in one failure domain, a resilient frontend alone will not deliver the intended availability. Test the failure assumption, not the marketing description.
During maintenance, a backend may stop accepting new connections while existing sessions continue according to the application’s and load balancer’s behavior. Establish a drain and rollback process that preserves active work where feasible. Some applications need state externalized from individual VMs because a flow that returns to a different backend may not share an in-memory user session.
Azure Load Balancer integrates with VM scale sets and supported Azure Kubernetes Service traffic patterns, but the owner should still understand the application readiness and backend lifecycle. Scaling out a broken image adds unhealthy instances; scaling down too quickly can remove capacity before a new member is ready. Compare useful response times and errors before and after a change.
If the requirement is regional HTTP path-based routing, request inspection or a web application firewall, Application Gateway may be appropriate. Global HTTP edge routing, CDN and WAF requirements point toward Azure Front Door. DNS selection among endpoints is a different function handled by Traffic Manager. These services should not be substituted simply because a frontend health metric is low; first identify the protocol, routing decision and security boundary that the workload actually needs.
In some architectures these components operate together, but each added tier creates another health signal and operational dependency. A cross-region design also requires application-data replication and failover choices; distributing TCP flows between healthy regional frontends does not make a stateful application globally consistent. Keep this decision separate from diagnosing the current regional incident.
A defensible incident note identifies the request that failed, which backend was eligible, whether platform and probe metrics agreed, what inbound or outbound network path was tested, and which application dependency failed. Record the exact configuration change and why the evidence supported it. After remediation, replay the original transaction from the affected client context and test at least one adjacent case, such as an outbound partner call, a second backend or an instance under maintenance.
Define alert ownership, the safe drain procedure, expected egress source address, health-probe contract and the recovery action for SNAT exhaustion. If a legacy Basic Load Balancer remains, place its migration and compatibility review in the same operational record rather than treating retirement as a future possibility. Document cost and traffic assumptions without inventing a universal performance number.
The operational skill is to explain why the user request failed despite apparently healthy infrastructure and to prove that the corrective action restored the business path. Standard Load Balancer provides scalable TCP and UDP distribution, but application availability still depends on readiness checks, secure rules, explicit egress, resilient backends and accountable changes.