How do you roll out a security group or firewall change in production safely?
IntermediateScenarioNetwork Operations & Change Management
Answer
Situation read → Network changes can take down everything at once and are often hard to see failing.
What I'd do →
- Express the change as code and review it as a pull request showing
terraform planoutput - Add the new allow rule first, verify traffic, then remove the old rule
- Apply in a change window with a rollback command ready (
git revertand re-apply) - Watch flow logs REJECT counts and application error rate during and after
- Announce in the incident or change channel
Why → Adding before removing keeps both paths working, so mistakes show up before an outage.
Interview tip → Say you never delete a rule you haven't seen unused in flow logs.
More on Network Operations & Change Management
How do you manage VPCs and network resources with Terraform without drift or accidents?IntermediateA route table was changed by mistake and production lost internet access. How do you recover and learn?IntermediateData transfer charges are 30% of the AWS bill. How do you reduce them?IntermediateWhat is your checklist for onboarding a new office to your cloud network over VPN?IntermediateDesign network disaster recovery for the loss of an entire region.Advanced