Comprehending health probes
Azure Load Balancer needs to know which instances of our VMs are healthy so that it can safely distribute load there. The simplest idea is to just send a request to each machine and see whether it responds within the expected time frame. Health probes are exactly such a feature – it’s an inbuilt component of Azure Load Balancer that, once configured, will automatically discover healthy instances.
Health probes have slightly different capabilities, depending on the selected stock keeping unit (SKU), which is the selected tier of our load balancer:
- Basic SKU supports TCP and HTTP only
- Standard SKU supports the TCP, HTTP, and HTTPS protocols
There are also different behaviors for established TCP flows once the probe is down. For the Basic SKU, once the probe fails, TCP flows to the given backend pool will be terminated. The Standard SKU load balancer is much more forgiving and will maintain a connection, assuming there’...