Overview
Dive into a comprehensive crash course on HAProxy, exploring its architecture, functionality, and advanced features. Learn about HAProxy's role as a high availability layer 4 and layer 7 load balancer and proxy. Discover how to implement TCP and HTTP proxying, utilize Access Control Lists (ACLs), and understand the differences between TLS termination and pass-through. Follow along with practical examples, including spinning up services, installing HAProxy, and configuring it for various scenarios. Master ACL conditionals, URL rejection, and enabling HTTPS and HTTP/2 on HAProxy. Gain hands-on experience with provided source code for applications and HAProxy configurations, and access additional resources for further learning on software architecture, database engineering, network engineering, and more.
Syllabus
Intro
Current and Desired Architecture
HAProxy Architecture
HAProxy as TCP Proxy, HTTP Proxy
ACL Access Control Lists
TLS Termination vs TLS Pass Through
Example
Spin up the services
Install HAProxy
HAProxy configuration
ACL Conditional
ACL Reject URL
Enable HTTPS HAProxy
Enable HTTP2 on HAProxy
Taught by
Hussein Nasser