Split-view/Split-horizon DNS with AWS Managed Active Directory possible?

0

Hi all, I have a bit of a quandary I'm trying to work out. Is it possible for me to utilize split-view/split-horizon DNS in my environment given the following?

  1. Using AWS' Managed Active Directory (AD domain is corp.example.loc)
  2. Would like to use the same domain name to resolve both public and private resources across multiple AWS accounts in our AWS Organization (separate environments and resources like dev.example.com, qa.example.com, test.example.com, security.example.com, and main example.com domain).
  3. Desired domain name for use is in the Production account as both Public and Private Hosted Zones.

As an example, we have some web-based apps that internal users connect to, but today, they go out over the internet and come back in through the public IP of the ALB they sit behind. This causes poor performance for internal users. Instead, I'd like to route the internal users either directly to the private IP of the instance or, if better, an internal-facing application load balancer.

I whipped up a quick diagram that I hope helps illustrates what I'm working with. All of the accounts are connected via a Transit Gateway.

Enter image description here

1개 답변
0

I do not see why this wouldn’t work. I’d recommend though moving your VPN to a central network account and making that the central egress.

Then I would move all route53 zones to the central network account. Then share the private zones to the corresponding accounts.

I would take the internal load balancer approach though make sure you are aware you can’t use the same target groups across different load balancers. You’d have to have separate TGs for each ELB

profile picture
전문가
답변함 3달 전
  • Hey Gary,

    Thanks for your reply. I think I understand your last point about the internal load balancer but could you elaborate what you mean when you say, "you can't use the same target groups across different load balancers" ?

  • If you have EC2's registered in a target group, that target group and can only asscoicated with 1 ALB. You would need to create a 2nd Target group to asscoicate the EC2s to another ALB. So you need a Target group for the external ALB and another Target Group for the Internal ALB. If using ECS then you will need to configure the Service for 2 target groups

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

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

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

관련 콘텐츠