Module Description: dgt_devops06 – HAProxy and Nginx
In DevOps, the tools that balance and expose services affect performance, reliability and security. This module, “dgt_devops06 – HAProxy and Nginx,” covers these two technologies, focusing on their role as reverse proxies in modern infrastructure.
The configuration work is done in natural language: you explain to the machine the traffic you want (which backends, which health checks, where TLS terminates, what to cache), it writes the haproxy.cfg or the Nginx server blocks and reloads the service, and you read every frontend, backend and location it produced, then test that requests really go where you intended.
Module Overview
Introduction to Reverse Proxies
– Understand the fundamental concepts of reverse proxy servers.
– Explore how they enhance security, load balancing, and performance.
Deep Dive into HAProxy
– Study HAProxy: its architecture, core features, and configuration options.
– Learn how HAProxy is deployed for high availability and dynamic traffic management in environments like “Garanti del talento.”
– Natural-language labs take you through real-world scenarios, from basic load balancing to advanced SSL/TLS termination, with you instructing the machine and verifying its configuration.
Exploring Nginx
– Learn about the dual role of Nginx as both a web server and a reverse proxy.
– Understand its lightweight design and its configuration for handling static content and dynamic applications.
– In practical exercises you ask the machine to set up Nginx for load balancing, caching and HTTP/2, and check that the result matches your intent.
Comparative Analysis
– Compare HAProxy and Nginx in terms of performance, scalability, and use cases.
– Discuss scenarios where one might be preferred over the other or used in conjunction.
Why It’s Important
In a DevOps context, tools like HAProxy and Nginx are used for:
– Scalability: Efficiently distributing traffic to maintain application performance under load.
– Resilience: Enhancing system reliability through failover mechanisms and redundancy.
– Security: Protecting applications by managing access control and SSL/TLS encryption.
By the end of this module, you will have a solid foundation in HAProxy and Nginx as reverse proxies and will be able to direct the machine in building robust DevOps architectures, knowing exactly what to check in its work. These skills apply both to microservice deployments and to large-scale web applications.
The students can push their exercises to the Academy DevOps & SRE Git project. For this module, create a folder with your username as its name in the following subfolder: https://github.com/Garanti-Del-Talento/gdt_academy
