CloudFront VPC origins securely expose internal Application Load Balancers (ALBs), Network Load Balancers (NLBs), or Amazon EC2 instances deployed in private subnets, while preventing direct internet access. CloudFront connects to private origins through an AWS-managed VPC origin connection, which creates managed ENI inside the customer VPC and forwards standard HTTP(S) traffic directly to the origin’s private IP addresses. Origin access is enforced using VPC security groups,
This AWS blog explains how CloudFront VPC origins keep application backends private and shield them from the public internet.
You can further harden this architecture by
- Restrict origin access using SGs - explicitly allow inbound traffic only from the CloudFront managed prefix list.
- Enforce strong transport security - mtls
- Apply edge security controls - AWS WAF and AWS Shield to CloudFront.
- Validate and authorize requests - Custom origin headers, signed URLs, or signed cookies
Together, these controls create a non-internet-facing, non-bypassable, defense-in-depth ingress architecture
replied 8 months ago
Relevant content
asked 4 years ago
asked 5 years ago
