How Private subnet communicates with external dns in firewall applied environment?

0

I run EC2 Instance in Private Subnet. The Instance should communicate with external dns(not AWS Resources). In Private Subnet, the instance doesn't communicate with the dns because of firewall. How can I get dns ip address? Should I set NAT Gateway and run Squid(Proxy) in Public Subnet? What is different best way to communicate with external dns?

1개 답변
1

You can set up an AWS-managed NAT Gateway and route internet-bound traffic from your Private Subnet to it. Then set up a Route 53 Resolver Outbound Endpoint to forward DNS queries (optionally conditionally) to your external DNS server.

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver.html

전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠