Interview Prep/Networking/VPC & Cloud Network Design

How do you design for DDoS resilience at the network edge?

AdvancedScenarioVPC & Cloud Network Design
Answer

Situation read → Layered defense: absorb at the edge, filter, then scale origin.

What I'd do →

  1. Front the app with CloudFront or a CDN and AWS Shield Advanced where justified
  2. Add AWS WAF rate-based rules and geo or ASN blocks
  3. Expose only the CDN to the origin (security group with the CloudFront managed prefix list)
  4. Use Global Accelerator or anycast for non-HTTP traffic
  5. Autoscale and set up alarms and a runbook with the provider's DRT contact

Why → Hiding the origin means attackers can only reach what the edge forwards.

Interview tip → Mention SYN cookies and conntrack limits on origin hosts.

All Networking questions Roadmap: Networking for DevOps

More on VPC & Cloud Network Design