Redeploying virtual machines into a virtual network

The virtual machines that we have deployed so far are not part of our virtual network. How do we go about moving a virtual machine to a different network? There is no easy way to move an existing virtual machine to the network. The process involves using the VHD of the virtual machine that you want to include in the virtual network, and then creating a new virtual machine based on the VHDs of the old virtual machine.

In this section, I am going to move the GethynEllisSQL virtual machine that we created in an earlier chapter to the GRESol network:

  1. Log in to the Azure portal.
  2. Click on the Virtual Machines tab in the portal:
  3. Click on the virtual machine you want to redeploy into the new virtual network. ...

Get Microsoft Azure IaaS Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.