need documentation regarding a CloudFront only works with internet-facing ALB

0

I am implementing ECS+ALB+CludFront, however, my Cloudfront request is not hitting the ALB (internal), the ALB was created as internal, does CloudFront work with internal ALB? If it only works with internet-facing ALB, can you show me the official AWS doc link?

thanks,

1 Answer
1
Accepted Answer

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

profile picture
EXPERT
answered 9 months ago
profile pictureAWS
EXPERT
reviewed 9 months ago
profile pictureAWS
EXPERT
reviewed 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions