05 · Operations
Switch the traffic path
Three commands cover everything an operator does day to day.
Divert
Send traffic through the protected path (VyOS / Imperva).
shell
./.lab-control.sh divertRevert
Return to the direct AWS path (BYOIP from AWS).
shell
./.lab-control.sh revertStatus
Show the current state across all layers.
shell
./.lab-control.sh statusRule of thumb
Always finish a change with status. If layers disagree, re-run divert or revert rather than editing state by hand.