Load Balancer Security 00:00:01 Which side of the proxy can read the request A clinic visitor opens a protected appointment page. In the first design the load balancer presents the site's certificate and ends the encrypted session. Trace the request on the second hop. The visitor opens TLS to the balancer, which shows the certificate. The request can now be read and checked. Servers get HTTP and spend no time on TLS. Plain HTTP on the inside leaves that hop unencrypted. Evaluate the internal trust boundary, access controls and handling of sensitive information before selecting this arrangement. 00:00:37 Carry the private envelope to the backend Leave the encrypted connection intact through the first balancing layer. Follow the certificate and decryption work to the backend. Which component is responsible for application-level checks? The balancer reads only addresses and ports. Server 2 ends TLS and does the decryption. An application request needing rejection can still traverse this transport-only balancer. The backend that decrypts it must enforce the applicable application policy. Opaque transport forwarding limits which application checks the balancer can perform. Configure the backend's certificate, authorization and logging for the work that actually reaches it. 00:01:19 Use separate protected connections on both sides Return termination to the proxy, then establish a separate encrypted connection to the backend. Ask how the proxy knows it reached the service named in its configuration. As with termination, the request can be read here. The balancer checks the server's certificate before it sends anything. The inside connection is encrypted too. Verify the upstream certificate and expected identity. Two protected legs still create a trusted termination point at the proxy, which must handle credentials and logs appropriately. 00:01:51 A fair request limit for appointment lookups One visitor may perform three lookups in a rolling minute under this example policy. Follow requests at zero, ten and twenty seconds, then predict the fourth outcome. At 0, 10 and 20 seconds. All pass. At 30 seconds the window holds three. The answer is 429. The visitor has a separate window and is not affected. At 61 seconds the entry at 0 has left the window, so a request passes. Another visitor has an independent allowance under this chosen key. Coordinate the counter over the intended scope and tell legitimate callers when retrying becomes appropriate. 00:02:31 A healthy backend behind an expired certificate All appointment workers pass their health checks. Visitors still cannot establish a trusted connection. Trace the failure to the public certificate before searching the appointment database. Renewal has failed for weeks and nobody was told. Browsers refuse the connection although every server is healthy. Renew, then automate, alert early, and test from outside. Renew the certificate, check its deployed chain from outside, and alert well before the next expiry. Backend health and the visitor's ability to connect need separate measurements.