
Understand how a load balancer uses a proxy to route client requests across web servers A, B, and C, filter traffic, ensure healthy connections, and enable scalable failover with keepalived.
Discover why HAProxy is used as a reliable open-source proxy and load balancer, offering layer 4/7 load distribution, content filtering, health checks, and metrics for monitoring dashboards.
Explore best practices for using HAProxy as a proxy on AWS, with health checks and traffic distribution to backend clusters. Support availability zones and public IP keep-alive failover for access.
Learn the four essential sections of haproxy configuration—global, default, front end, and backend—and how they govern security, sockets, timeouts, max connections, and round-robin traffic.
Launch an aws ec2 instance via the console, select ubuntu and free tier, configure a secure security group, and set up a proxy architecture with keep-alive.
launch aws ec2 instances to run a proxy and three ubuntu web servers, configure security groups, and connect via ssh using a key, and access the public ip.
Acquire all installation scripts and documentation from the GitHub repository, clone the project, and configure a proxy with round-robin or sticky sessions, then test.
Install Apache web server nodes and update the system. Patch, test via a proxy, and verify websites 0 1 and 0 2 are running.
Configure an HAProxy setup to route traffic to multiple web servers, reveal each request’s hostname with a PHP script, and test distinct backends 0_1, 0_2, and 0_3 using port configurations.
Install HAProxy from source on Ubuntu 16.04, configure IP forwarding, systemd service, SSL termination, and basic proxy status monitoring.
learn how to install HAProxy from source on Ubuntu 18.04, covering compiling the code, installing dependencies, setting up symbolic links, and configuring the proxy binary for the target version.
Install and configure haproxy on CentOS 7 by updating packages, provisioning, starting the proxy, and verifying health through port checks and interface configuration.
Install haproxy from source on CentOS 7, following an Ubuntu-like process: log in, customize configuration, install libraries, download and build, then start and verify the proxy.
Enable HAProxy logging by creating a dedicated configuration file, adjusting log settings, restarting the proxy, and verifying that transaction logs are recorded.
Configure HAProxy with ELB in a single AWS availability zone, building a proxy cluster and routing traffic with round-robin, health checks, and security group rules.
Learn to deploy HAProxy as a proxy across multiple availability zones in AWS, configure proxy and web server clusters, and manage health checks and security groups.
Demonstrates the haproxy round robin load balancing algorithm by routing requests to six backend servers in sequence behind a proxy, with a sample layer 7 configuration and health checks.
Learn static round robin in HAProxy, compare it with traditional round robin, and configure backend sets, weights, and layer 7 health checks for AWS deployment.
Leverage HAProxy URL forwarding to route requests by path using a front-end, directing specific paths to designated servers and distributing traffic with round-robin.
Explore configuring HAProxy with SSL pass-through, balancing encrypted client requests to backend beacon servers using round-robin, in DCP mode, while performing SSL health checks.
Discover how to configure and verify HAProxy health checks for a MySQL setup, monitor health with native tooling, and adjust max connections to keep proxies healthy.
Learn how to configure HAProxy health checks by moving from layer 4 to layer 7 application checks, using HTTP health checks to verify each web server is up.
https://www.haproxy.com/blog/haproxy-and-gzip-compression/
Configure haproxy on amazon aws to enable sticky sessions with cookies in http mode, binding the front end to backend servers and testing cookie injection versus non sticky routing.
Configure a backup node in HAProxy by designating a pickup set and routing requests to primary servers, with automatic failover to the standby backup when others fail.
Configure HAProxy to support gRPC by setting up a front-end and back-end, enabling SSL termination, and applying layer 7 routing for gRPC traffic.
Configure HAProxy to support http/2 and http/1.1, compare request multiplexing and binary protocol benefits, and implement a proxy cluster with protocol-aware routing and compression.
https://www.haproxy.com/blog/four-examples-of-haproxy-rate-limiting/
https://www.linangran.com/?p=547
https://www.freecodecamp.org/news/how-we-fine-tuned-haproxy-to-achieve-2-000-000-concurrent-ssl-connections-d017e61a4d27/
Learn to limit a user's connection rate to protect the proxy and website from bursty short-lived connections. Monitor total and per-user connections and apply a three-second window test.
Learn to limit http request rate on a HAProxy load balancer on aws, using layer 7 rules on front-end and back-end to detect abuse and reject excess requests.
Learn how to implement content blocking in HAProxy on AWS by validating the content-length header and blocking requests with negative or invalid values using ACLs and blocking rules.
Configure an IP whitelist for a HAProxy proxy on AWS by defining an access control list with specific IP addresses, blocking all non-whitelisted requests, and validating access through testing.
Explore how a web application firewall protects the application layer seven, blocks sql injection and xss, and how to install and configure it with mod security for web servers.
If you're thinking to become HAProxy Load Balancing Administrator using Amazon AWS environment, or you want to start to understand Load Balancer Algorithm, then this course is perfect for you. You will see video after video, from beginners with explanations that are easy to understand. Also this course will provide many examples that make it easy for you to follow and understand. In the first section, you will learn how to download all file configurations that we used during the course. You can use that file configurations to reproduce it on your environment.
This course has 13 sections, 76 lectures, and 12 hours 13 minutes duration. You can download all videos, and watch them without internet connection. Most videos are about how to config and manage HAProxy by example. You will follow step by step how to deploy and manage HAProxy cluster in Amazon AWS environment.
In this course, you will learn how to:
Creating Amazon AWS EC2 instances for HAProxy and Web Server
Understanding HAProxy concept and architecture
Configuring HAProxy configuration using API
Installing HAProxy using Ubuntu and CentOS
Forward HAProxy log to Logstash/elasticsearch, check log using Kibana
HAProxy and ELB/TCP Amazon AWS Single Availability Zone
HAProxy and ALB/HTTP Amazon AWS Multiple Availability Zone
Managing HAProxy Load Balancing Algorithm
Managing(creating and removing) HAProxy type and mode
Configuring HAProxy kernel to get high performance
Configuring HAProxy Load Balancer base on any algorithm types
Configuring HAProxy Round Robin LBA
Configuring HAProxy Static-rr (Static Round Robin)
Configuring Least Connection LBA
Configuring HAProxy Source IP Address Hashed LBA
Configuring HAProxy with SSL Termination
Configuring HAProxy with SSL Pass-Through
Configuring HAProxy URL Forwarding
Configuring HAProxy Using Recipes
Understand HAProxy Server Bencmarking and Tuning
Configuring HAProxy with HTTP/2 and HTTP/1.1 support
Configuring HAProcy with gRPC support
Understanding WAF (Web Application Firewall) for HAProxy
Configuring HAProxy Defense Against DDOS
Tuning HAProxy Performance
Configuring WhiteList IP Address and Restrict Specific IP Address
Monitoring HAProxy using Zabbix
Creating Grafana Dashboard for HAProxy frontend and backend
etc.
After you finished this course, you will have confident to use and manage HAProxy cluster.