CloudFront alias in Route 53 private hosted zone

0

The Route 53 documentation says things like:

You can't create a resource record set in a private hosted zone to route traffic to a CloudFront distribution.

And:

Alias resource record sets for CloudFront can't be created in a private zone.

But they can! Try it. It works. (If the Route 53 console doesn't suggest the alias target, you can still write it yourself.)

It makes sense if, for example, you're using a split zone setup.

Is the documentation mistaken, or is this not intended or guaranteed to work?

(My private hosted zone is in us-east-2.)

已提问 10 个月前576 查看次数
1 回答
1

As this is DNS related and without testing myself, technically what you say is most likely true.

Cloudfront usually is publicly facing but technically you could create a private record to resolve to a cloudfront resource.

I guess if you have a split horizon DNS you would have to create a record in the private zone if resources need to resolve it.

profile picture
专家
已回答 10 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则