An international automotive logistics enterprise is migrating its legacy ERP and distribution scheduling workloads comprising physical servers from an on-premises data center to AWS. Security policies mandate that all migration traffic must be completely private, bypassing the public internet. The hybrid network architecture consists of a AWS Direct Connect connection linked to a Direct Connect Gateway, which is attached to an AWS Transit Gateway. The Transit Gateway routes traffic to a target spoke VPC and a dedicated replication staging area VPC across multiple Availability Zones. The migration team has installed the AWS Application Migration Service (AWS MGN) replication agent on the source servers and configured the replication template to use private IP addresses. However, replication fails to initiate. The agent logs show that the source servers cannot connect to either the AWS MGN control plane endpoints or the replication servers in the staging VPC. Which configuration steps should the solutions architect implement to establish replication connectivity while adhering to the security requirements?
- Deploy Interface VPC Endpoints for AWS MGN in the replication staging area VPC. Associate the Amazon Route 53 private hosted zone for the endpoints with the staging area VPC, and configure a Route 53 Resolver inbound endpoint to resolve the service domain from the on-premises environment. Open outbound TCP port and TCP port on the on-premises firewall to the staging VPC subnets, and configure the AWS Transit Gateway routing tables to allow bidirectional traffic between the on-premises data center and the staging VPC.Answer
- BDeploy Interface VPC Endpoints for AWS MGN in the replication staging area VPC. Configure Route 53 Resolver inbound endpoints for service name resolution. Open outbound TCP port and TCP port on the on-premises firewall to the staging VPC subnets, and configure a single non-redundant NAT Gateway in the staging VPC to handle outbound traffic. Rely on the NAT Gateway to route the replication traffic over the Direct Connect public virtual interface.
- CEstablish a Direct Connect Gateway connected directly to the target spoke VPC and replication staging VPC using virtual private gateways (VGWs) to bypass the AWS Transit Gateway. Configure Route 53 Resolver outbound endpoints to forward DNS queries to on-premises DNS servers. Open outbound TCP port and TCP port on the on-premises firewall to the staging VPC CIDR, and configure the staging area security groups to restrict access.
- DDeploy Interface VPC Endpoints for AWS MGN in the target spoke VPC. Configure Route 53 Resolver inbound endpoints to handle DNS queries from the on-premises network. Open outbound TCP port and TCP port on the on-premises firewall to the target VPC CIDR. Rely on the assumption that associating the Route 53 Private Hosted Zone with the target VPC automatically enables name resolution and interface endpoint routing for the staging VPC without explicit association.