Course Code: hapbsp
Duration: 14 hours
Course Outline:

Day 1 - Introduction and Core Concepts

  1. Security Configuration in HAProxy
    • SSL/TLS offloading and termination
    • Enforcing HTTPS and redirect rules
    • ACLs (Access Control Lists) for security
    • Rate limiting and DDoS protection
    • Authentication mechanisms (Basic, OAuth, etc.)
  2. Best Practices for Securing HAProxy
    • Protecting against common attacks (SQL injection, XSS, etc.)
    • Hardening HAProxy with firewalls and network rules
    • Securing logs and sensitive data

Day 2 - Advanced Configuration and Performance Optimization

  1. Managing HAProxy Upgrades
    • Upgrade strategies (in-place vs. rolling upgrades)
    • Zero-downtime upgrades with graceful reloads
    • Backup and rollback strategies
  2. Optimizing and Tuning HAProxy
    • Tuning for performance: CPU, memory, and network optimizations
    • Connection management and session persistence
    • Load balancing optimization techniques
    • Scaling HAProxy with horizontal scaling
  3. Monitoring and Metrics
    • Setting up HAProxy stats and dashboard
    • Integrating HAProxy with Prometheus, Grafana, and other monitoring tools
    • Analyzing metrics for performance bottlenecks
    • Log management and troubleshooting
  4. Best Practices for HAProxy Deployment
    • High availability and failover strategies
    • Configuring redundancy and load distribution
    • Best practices for maintaining configurations
    • Backup and disaster recovery considerations