A route table was changed by mistake and production lost internet access. How do you recover and learn?
IntermediateScenarioNetwork Operations & Change Management
Answer
Situation read → First restore, then find the cause.
What I'd do →
- Find the change:
aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventName,AttributeValue=ReplaceRoute - Restore the route (
aws ec2 create-route --route-table-id rtb-0abc --destination-cidr-block 0.0.0.0/0 --nat-gateway-id nat-0abc) - Verify from an instance with
curl -sI https://example.com - Reconcile with Terraform to remove drift
- Write a post-incident review and restrict console edits with SCPs or IAM
Why → CloudTrail records who changed what and when, which makes rollback exact.
Interview tip → Say manual console fixes must be backported to code immediately.
More on Network Operations & Change Management
How do you roll out a security group or firewall change in production safely?IntermediateHow do you manage VPCs and network resources with Terraform without drift or accidents?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