CloudFront - Internal ELB Origin

0

Hi all, By Documentation to be able to use ELB as an Origin for a CloudFront Distribution it should be internet-facing. the question is why CloudFront is showing also Internal Load Balancers between the list of possibile Origin Domains that can be selected during the creation of a new Origin ? there is a way to use CloudFront with Private resources ?

已提問 1 年前檢視次數 4476 次
1 個回答
1
已接受的答案

No, you can't use an internal-only load balancer as an origin for CloudFront.

Why does it show in the list? Because the console is retrieving a list of all load balancers but there's no particular flag that says "this is an internal load balancer" versus "this is an internet-facing load balancer". That's determined by the subnet, route tables and public IP address assignment.

profile pictureAWS
專家
已回答 1 年前
profile pictureAWS
專家
已審閱 1 年前
  • Hi,

    Is that still the case? When you create a load balancer now, you get am option to flag it internet-facing or internal.

    Thanks

  • Yes, my internal and public-facing are marked as such but both still list as possible origins. Seems like AWS should be able to tell if they have an public IP associated with it. Not perfect but better.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南