A multinational retail corporation is migrating 150 legacy on-premises CentOS and Windows servers to AWS. The hybrid network infrastructure consists of a 10 Gbps AWS Direct Connect (DX) connection with a private virtual interface (VIF) terminating on a Direct Connect Gateway (DXGW), which is associated with an AWS Transit Gateway (TGW). The TGW is shared with a dedicated Migration VPC where the staging area subnets for AWS Application Migration Service (MGN) reside. Security policies dictate that all replication traffic must be encrypted, must not traverse the public internet, and the staging area subnets must not have direct internet access. The migration team has installed the AWS Replication Agent on the on-premises servers. However, the replication status for all servers is 'Stalled', and the agents cannot communicate with either the MGN control plane or the staging area replication servers. Which combination of actions should a solutions architect recommend to resolve the connectivity issues and establish private replication?
- Establish VPC interface endpoints for the MGN and EC2 services within the Migration VPC. Deploy Route 53 Resolver Inbound Endpoints in the Migration VPC, and configure the on-premises DNS forwarders to redirect MGN and EC2 API queries to these Resolver IP addresses. Adjust the staging area security group in the Migration VPC to allow inbound TCP port 1500 and TCP port 443 from the on-premises server subnet CIDR, and verify that the Transit Gateway route table has active routes routing the on-premises CIDR to the Migration VPC and vice versa.Cevap
- BEstablish VPC interface endpoints for the MGN and EC2 services within the Migration VPC. Deploy Route 53 Resolver Inbound Endpoints in the Migration VPC, and configure the on-premises DNS forwarders to redirect MGN and EC2 API queries to these Resolver IP addresses. Adjust the staging area security group in the Migration VPC to allow inbound TCP port 443 from the on-premises server subnet CIDR, while blocking port 1500 as data replication occurs securely over TLS/SSL on standard HTTPS ports.
- CEstablish VPC interface endpoints for the MGN and EC2 services within the Migration VPC. Associate the private hosted zones for these endpoints directly with the Direct Connect Gateway. Adjust the staging area security group in the Migration VPC to allow inbound TCP port 1500 and TCP port 443 from the on-premises server subnet CIDR. Since the Transit Gateway does not support transitive routing between a Direct Connect Gateway and a VPC endpoint, configure a public virtual interface (VIF) on the Direct Connect connection to bypass the Transit Gateway routing tables.
- DEstablish VPC interface endpoints for the MGN and EC2 services in a shared services VPC. Configure the staging area security group in the Migration VPC to allow inbound TCP port 1500 and TCP port 443 from the on-premises server subnet CIDR. Rely on the default AWS public DNS resolution over the Direct Connect private VIF to resolve the MGN endpoints, and ensure that the private hosted zones created for the interface endpoints are left unassociated with the Migration VPC to prevent routing loops.