Course Outline
1. Quick introduction to load balancing and load balancers
2. Introduction to HAProxy
- What HAProxy is and is not
- How HAProxy works
- Basic features
- Proxying
- SSL
- Monitoring
- High availability
- Load balancing
- Stickiness
- Sampling and converting information
- Maps
- ACLs and conditions
- Content switching
- Stick-tables
- Formatted strings
- HTTP rewriting and redirection
- Server protection
- Logging
- Statistics
- Advanced features
- Management
- System-specific capabilities
- Scripting
- Sizing
- How to get HAProxy
3. HA Proxy Alternatives
- a. Nginx
- b. Apache etc.
4. Quick reminder about HTTP
- The HTTP transaction model
- HTTP request
- The request line
- The request headers
- HTTP response
- The response line
- The response headers
5. Configuring HAProxy
- Configuration file format
- Quoting and escaping
- Environment variables
- Time format
- Examples
6. Global parameters
- Process management and security
- Performance tuning
- Debugging
- Userlists
- Peers
- Mailers
7. Proxies
- Proxy keywords matrix
- Alphabetically sorted keywords reference
8. Bind and server options
- Bind options
- Server and default-server options
- Server DNS resolution
- Global overview
- The resolvers section
9. HTTP header manipulation
10. Using ACLs and fetching samples
- ACL basics
- Matching booleans
- Matching integers
- Matching strings
- Matching regular expressions (regexes)
- Matching arbitrary data blocks
- Matching IPv4 and IPv6 addresses
- Using ACLs to form conditions
- Fetching samples
- Converters
- Fetching samples from internal states
- Fetching samples at Layer 4
- Fetching samples at Layer 5
- Fetching samples from buffer contents (Layer 6)
- Fetching HTTP samples (Layer 7)
- Pre-defined ACLs
11. Logging
- Log levels
- Log formats
- Default log format
- TCP log format
- HTTP log format
- Custom log format
- Error log format
- Advanced logging options
- Disabling logging of external tests
- Logging before waiting for the session to terminate
- Raising log level upon errors
- Disabling logging of successful connections
- Timing events
- Session state at disconnection
- Non-printable characters
- Capturing HTTP cookies
- Capturing HTTP headers
- Examples of logs
12. Supported filters
- Trace
- HTTP compression
- Stream Processing Offload Engine (SPOE)
- Cache
- Limitationb. SetupCache section
- Proxy section
Requirements
- Familiar with Linux
- Basic Knowledge on Networking
- Have experience on server administrations
Testimonials (5)
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 - Höglandsförbundet
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.