1 Answer
- Newest
- Most votes
- Most comments
1
No afraid cloudfront only works with an internet load balancer.
This is how you restrict the alb to only allow cloudfront https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/restrict-access-to-load-balancer.html
I cant find an exact DOC that says It has it be Internet and not Internal but I do know its a requirement because CloudFront is a internet facing service and there are no such endpoints for cloudfront to attach to your VPC directly.
heres an old Repost Link.. https://repost.aws/questions/QUdr1a-rXWQFiGqKVjNPhOpg/cloudfront-internal-elb-origin
A medium post https://medium.com/tensult/multiple-site-redirections-using-aws-application-load-balancer-35bc0d5da6ad
Relevant content
- asked 4 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago