Course Outline
1. Brief Overview of Load Balancing and Balancers
2. Getting to Know HAProxy
- Defining HAProxy's capabilities and limitations
- The operational mechanics of HAProxy
-
Core functionalities
- Proxying services
- SSL support
- Monitoring capabilities
- High availability setups
- Load balancing techniques
- Session stickiness
- Data sampling and transformation
- Mapping configurations
- Access Control Lists (ACLs) and conditional logic
- Content-based switching
- Stick-tables implementation
- Using formatted strings
- HTTP rewriting and redirection strategies
- Protecting backend servers
- Logging mechanisms
- Statistics generation
-
Advanced capabilities
- Administrative management
- System-specific enhancements
- Scripting integration
- Capacity planning and sizing
- Obtaining and installing HAProxy
3. Alternatives to HA Proxy
- a. Nginx
- b. Apache and other options
4. Refresher on HTTP
- The HTTP transaction model
- Structure of an HTTP request
- The request line
- Request headers
- Structure of an HTTP response
- The response line
- Response headers
5. Setting Up HAProxy
- Configuration file syntax
- Handling quoting and escaping
- Utilizing environment variables
- Time formatting conventions
- Practical configuration examples
6. Global Settings
- Process control and security settings
- Performance optimization
- Debugging tools
- Userlist definitions
- Peer configurations
- Mailer settings
7. Proxies
- Matrix of proxy keywords
- Alphabetical keyword reference
8. Bind and Server Configurations
- Options for binding
- Server and default-server parameters
- DNS resolution for servers
- Overall configuration overview
- The resolvers section
9. Manipulating HTTP Headers
10. Applying ACLs and Sample Fetching
- Fundamentals of ACLs
- Boolean matching
- Integer matching
- String matching
- Regular expression (regex) matching
- Matching arbitrary data blocks
- IPv4 and IPv6 address matching
- Creating conditions with ACLs
- Fetching data samples
- Applying converters
- Fetching samples from internal states
- Layer 4 sample fetching
- Layer 5 sample fetching
- Fetching samples from buffer contents (Layer 6)
- Fetching HTTP samples (Layer 7)
- Pre-defined ACLs
11. Logging Capabilities
- Log severity levels
- Log format structures
- Standard log format
- TCP-specific log format
- HTTP-specific log format
- Custom log formats
- Error log formatting
- Advanced logging settings
- Suppressing logs for external tests
- Logging before session termination
- Increasing log verbosity on errors
- Suppressing logs for successful connections
- Event timing details
- Session state upon disconnection
- Handling non-printable characters
- Capturing HTTP cookies
- Capturing HTTP headers
- Log examples
12. Supported Filters
- Trace filtering
- HTTP compression
- Stream Processing Offload Engine (SPOE)
- Caching mechanisms
- Limitations and Cache section setup
- Proxy section configuration
Requirements
- A solid grasp of Linux operating systems and essential command-line tasks
- Practical experience in server administration, including configuration and monitoring duties
- Knowledge of networking principles, specifically regarding TCP/IP and HTTP protocols
Target Audience
- System administrators overseeing server infrastructure
- Network engineers looking to implement high-performance load balancing solutions
- DevOps specialists focused on service scaling and traffic management automation
Testimonials (6)
the training on the job mode
PIERANDREA LAMBERTINI - Istituto Europeo di Oncologia Srl
Course - HAProxy Administration
knowledge about HAProxy
Marco - CloudFire
Course - HAProxy Administration
The possibility to try with labs
Mattia Bernardi - CloudFire
Course - HAProxy Administration
All the tips and tricks on how to improve our HA-proxy
Mattias Stendahl - Hoglandsforbundet
Course - HAProxy Administration
The trainer adapted his course to answer questions even if the questions where out of the course scope.
Mario Kuik - Netherlands Army
Course - HAProxy Administration
I really liked the rapport and connection that the trainer was able to achieve with the class. And that, on the fly, he was able to shape the class into the things we needed.