Main areas covered
| Layer | Components | Description |
|---|---|---|
| Web tier | ALB, CloudFront, WAF | Serve the application over HTTPS with TLS 1.2 or later and attach a WAF. If you expose HTTP, use it only to redirect to HTTPS. |
| Application tier | EC2, Lambda, IAM | Use least-privilege IAM roles, limit security groups to internal communication, and use IMDSv2 for instance metadata |
| Database tier | RDS, ElastiCache | Block public access and encrypt data at rest. Configure the database security group to accept connections only from the application tier. |
| Networking | VPC, subnets | Separate public and private subnets, configure route tables and NACLs, and restrict default VPC use |
| Logging | CloudTrail, VPC Flow Logs | Use multi-Region trails and enable flow logs |
| Encryption | EBS, S3, RDS | Use EBS encryption by default, S3 server-side encryption, and RDS encryption at rest |