Interview Prep/Networking/VPC & Network Architecture

What are security group best practices?

BeginnerProductionVPC & Network Architecture
Answer

One group per role (alb, app, db, bastion), referenced by ID rather than CIDR. No 0.0.0.0/0 on SSH, RDP or databases. Descriptions on every rule, prefix lists for shared CIDRs, and tags for ownership. Avoid giant shared groups that nobody dares to edit.

Remember quotas: 60 inbound and 60 outbound rules per group by default and 5 groups per ENI. Scan continuously with AWS Config rules or Prowler.

All Networking questions Roadmap: Networking for DevOps

More on VPC & Network Architecture