0Pricing
Ansible Academy · Lesson

Load Balancer Drain & Re-Enable

Take nodes out and back in safely.

Updating Live Traffic Is Risky

If you patch a server while users hit it, requests fail. The fix is to drain the node from the load balancer first. 🚦

What Draining Means

To drain a node is to stop sending it new traffic while letting in-flight requests finish. Then it is safe to update.

All lessons in this course

  1. Automating Network Devices with cli_command
  2. delegate_to & run_once for Orchestration
  3. Coordinate Web, App & DB Tiers
  4. Load Balancer Drain & Re-Enable
← Back to Ansible Academy