Administering Windows Server Hybrid Core Infrastructure: Migrating On-Premises Virtual Machine to Azure Without Modifying IP Address

Migrate On-Premises Virtual Machine to Azure Without Modifying IP Address

Question

You have an on-premises network that is connected to an Azure virtual network by using a Site-to-Site VPN. Each network contains a subnet that has the same IP address space. The on-premises subnet contains a virtual machine.

You plan to migrate the virtual machine to the Azure subnet.

You need to migrate the on premises virtual machine to Azure without modifying the IP address. The solution must minim administrative effort.

What should you implement before you perform the migration?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A

https://docs.microsoft.com/en-us/windows-server/manage/windows-admin-center/azure/azure-extended-network

To migrate an on-premises virtual machine (VM) to an Azure subnet without modifying its IP address, you need to ensure that the IP address space of the on-premises subnet does not conflict with the IP address space of the Azure subnet.

If both subnets have the same IP address space, it will cause an IP address conflict and result in connectivity issues. To avoid this, you can use one of the following solutions before performing the migration:

Option A: Azure Extended Network An Azure Extended Network is a hybrid networking feature that enables you to extend your on-premises network to Azure. You can use an Azure Extended Network to provide a non-overlapping IP address space for the Azure subnet, which will avoid conflicts with the on-premises subnet.

To implement this solution, you need to create an Azure virtual network that has a different IP address space than the on-premises subnet. Then, you can connect the on-premises network to the Azure virtual network using a Site-to-Site VPN or ExpressRoute. The Azure virtual network will act as an extended network of your on-premises network, and you can migrate the VM to the Azure subnet without modifying its IP address.

Option B: Azure Virtual Network NAT Azure Virtual Network NAT (Network Address Translation) is a feature that enables you to use a pool of public IP addresses to access resources in an Azure virtual network. With NAT, you can map private IP addresses used in the Azure subnet to public IP addresses, which can be accessed from the internet.

To implement this solution, you need to create a public IP address and a NAT gateway in the Azure virtual network. Then, you can configure NAT rules to map the private IP address of the on-premises VM to the public IP address. The NAT gateway will translate the private IP address to the public IP address, allowing you to access the VM from the internet. You can migrate the VM to the Azure subnet without modifying its IP address, and it will be accessible through the NAT gateway.

Option C: Azure Application Gateway Azure Application Gateway is a web traffic load balancer that enables you to manage traffic to your web applications. With Application Gateway, you can use a public IP address to access resources in an Azure virtual network, even if they have private IP addresses.

To implement this solution, you need to create an Azure Application Gateway and configure it to act as a reverse proxy for the on-premises VM. You can specify the private IP address of the VM as the backend address pool for the Application Gateway. When a client accesses the public IP address of the Application Gateway, it will forward the traffic to the backend VM using the private IP address. You can migrate the VM to the Azure subnet without modifying its IP address, and it will be accessible through the Application Gateway.

Option D: Azure Virtual Network Peering Azure Virtual Network Peering enables you to connect two Azure virtual networks and allow resources in one virtual network to communicate with resources in the other virtual network. With virtual network peering, you can use private IP addresses to access resources in another virtual network.

To implement this solution, you need to create an Azure virtual network that has a different IP address space than the on-premises subnet. Then, you can configure virtual network peering between the Azure virtual network and the on-premises network. The virtual network peering will allow resources in the Azure virtual network to communicate with resources in the on-premises network using private IP addresses. You can migrate the VM to the Azure subnet without modifying its IP address, and it will be accessible through the virtual network peering.

In summary, all four options can be used to migrate an on-premises VM to an Azure subnet without modifying its IP address. However, each option has