How do you design network security for production workloads in a VPC?
IntermediateProductionCloud Security Posture
Answer
- Three tiers of subnets: public (only load balancers and NAT), private (apps), isolated (databases, no internet route).
- Security groups reference other security groups, not CIDRs, so rules follow the workload.
- VPC endpoints for AWS services (S3, ECR, STS, Secrets Manager), with endpoint policies restricting access to our organisation.
- Centralised egress through AWS Network Firewall or a proxy with domain allowlists for sensitive workloads.
- No SSH or RDP from the internet; access through SSM Session Manager.
- VPC Flow Logs and Route 53 Resolver query logs to the log archive.
More on Cloud Security Posture
Sketch how AWS security services fit together in a multi-account organisation.BeginnerWhich security services do you enable in every AWS account by default?BeginnerNative tools (Security Hub, Prowler) or a commercial CNAPP: how do you choose?IntermediateHow do you structure KMS keys for production?IntermediateWhat is your S3 security baseline?BeginnerWhat is a data perimeter in AWS, and how do resource control policies help build it?Advanced