NGINX Advanced Load Balancing

NGINX Advanced Load Balancing


NGINX Advanced Load Balancing is a 4-hour class for system administrators, DevOps, and architects who need a deeper understanding of NGINX load balancing.


NGINX Advanced Load Balancing starts with a review of load balancing as covered in NGINX Core. You'll complete a quick review of load balancer configuration and algorithms, discuss migrating from hardware to software load balancers, configure an upstream, and enable Extended Status. You then jump into TCP/UDP load balancing, load balancing a MySQL cluster. You'll then explore NGINX service discovery solutions. You'll implement session persistence. You'll look at Consul + Zookeeper + etcd, Kubernetes, Docker and load balancing microservices.


4 hours


  • Explain how NGINX's load balancing algorithms route requests
  • Configure TCP load balancing
  • Configure UDP load balancing
  • Discuss a variety of service discovery solutions (Consul + Zookeeper + etcd, Kubernetes & Kargo, Docker)
  • Use the resolve directive to enable service discovery
  • Implement session persistence


NGINX Advanced Load Balancing is intended for system admins, DevOps, and architects who need a deeper understanding of NGINX load balancing.


Advanced Load Balancing is for people who have completed NGINX Core or who have commensurate experience. Hands on labs require you to run basic UNIX commands, navigate the file system, and editing configuration files using VIM or the like.


  • Review of Load Balancing
    • Basic Concepts
    • Review of basic set-up
    • Algorithms and how they're evaluated (weighting, etc)
    • Hardware Migration
    • Guide for F5
    • Guide for Netscaler
    • Lab: Configure Upstream + enable Extended Status
  • TCP/UDP Load Balancing
    • TCP Lab Example
    • UDP Lab Example
    • Lab: build simple TCP/UDP Upstream
    • Health Checks
    • Lab: TCP/UDP Health Check + extended Status
    • MySQL example (Gallera cluster)
  • Session Persistence
    • sticky cookie
    • sticky learn
    • sticky route
    • Lab: Tomcat Route
  • NGINX+ Service Discovery & Scaling
    • Consul + Zookeeper + etcd
    • On Prem Solutions for Kubernetes (Kargo)
    • Ingress Controller
    • Working with NGINX resolve directive
    • Docker + NGINX (NGINX in Containers)
    • Deeper dive into the Resolve parameter
    • ngx_http_realip_module (Used in CIDR)
    • set_real_ip_from
    • real_ip_header
    • real_ip_recursive
    • Lab: Spinup a K8 cluster (with Docker container) using Kargo
    • Lab: Consul Demo
    • Basics overview of how services work
    • Monolith vs. Microservices

Upcoming Classes


Instructor-led online training

Location Dec 2017 Jan 2018 Feb 2018 Mar 2018 Apr 2018
Online Dec 14
Jan 22
Feb 26
Mar 19

Classes in bold are guaranteed to run!

Onsite Training

For groups of three or more

Request Quote

Public Training


  • Confirmed
    9:00 AM - 1:00 PM PST
    $ 375.00 USD
  • 9:00 AM - 1:00 PM PST
    $ 375.00 USD
  • 9:00 AM - 1:00 PM PST
    $ 375.00 USD
  • 9:00 AM - 1:00 PM PDT
    $ 375.00 USD

Classes marked with Confirmed are guaranteed to run. Sign up now while there is still space available!

Don't see a date that works for you?

Request Class