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
- Automating Network Devices with cli_command
- delegate_to & run_once for Orchestration
- Coordinate Web, App & DB Tiers
- Load Balancer Drain & Re-Enable