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.
More on VPC & Network Architecture
How would you design a production VPC for a three-tier web application?IntermediateHow many AZs and subnets should a production VPC use, and why?BeginnerWhat makes a subnet public versus private?BeginnerHow do you avoid NAT gateway single points of failure and cross-AZ charges?IntermediateWhen should you use VPC endpoints?IntermediateHow do you design connectivity for 50+ VPCs across accounts and regions?Advanced