A health-tech corporation is migrating its legacy pharmacy management system to AWS. The multi-account architecture is managed under AWS Organizations. A central Core Services account hosts a Shared Services VPC, which is connected to an on-premises data center via an AWS Direct Connect connection and an AWS Transit Gateway. The Shared Services VPC contains Route 53 Resolver Inbound and Outbound Endpoints. A Route 53 Private Hosted Zone (PHZ) named pharmacy.internal is created in the Core Services account. The production workloads are deployed in a Production VPC within a separate Production account, connected to the Shared Services VPC via the same Transit Gateway. On-premises clients must be able to resolve records in pharmacy.internal. EC2 instances in the Production VPC must be able to resolve records in pharmacy.internal and on-premises DNS records in the corp.local domain. Which configuration will meet these requirements with the least administrative overhead while ensuring that DNS traffic does not traverse the public internet?
- AAssociate the pharmacy.internal PHZ with the Shared Services VPC. In the Production VPC, create a Route 53 Resolver Outbound rule that forwards all queries for pharmacy.internal to the Inbound Resolver Endpoint IP addresses in the Shared Services VPC. Configure on-premises DNS servers to forward queries for pharmacy.internal to the same Inbound Resolver Endpoint IPs.
- In the Core Services account, authorize the association of the pharmacy.internal PHZ with the Production VPC, and then associate the PHZ from the Production account. Configure on-premises DNS servers to forward queries for pharmacy.internal to the Inbound Resolver Endpoint IP addresses in the Shared Services VPC. In the Core Services account, create a Route 53 Resolver Outbound rule for corp.local pointing to the on-premises DNS servers, share this rule with the Production account using AWS Resource Access Manager (RAM), and associate the shared rule with the Production VPC.Cevap
- CIn the Core Services account, share the pharmacy.internal PHZ with the Production account using AWS Resource Access Manager (RAM) to automatically associate it with the Production VPC. Configure on-premises DNS servers to forward queries for pharmacy.internal directly to the Direct Connect Gateway (DXGW) private virtual interface (VIF) IP addresses. In the Production VPC, configure a local Outbound Resolver Endpoint to forward corp.local queries to on-premises.
- DIn the Core Services account, associate the pharmacy.internal PHZ with the Shared Services VPC. Configure the AWS Transit Gateway to route all DNS traffic destined for the 169.254.169.253 Route 53 Resolver IP address from the Production VPC to the Inbound Resolver Endpoint in the Shared Services VPC. Configure on-premises DNS servers to forward queries for pharmacy.internal to the Inbound Resolver Endpoint.