How to link Azure VMs to a Virtual Azure Network? RRS feed

  • Question

  • Hi,

    I have created 4 Azure VMs, and when they start up they all got a random IP address, and hence cannot communicate with one another. So I created a new Virtual Network (like I do in the Hyper-V world), in hope that I can associate the new VMs to this new Virtual Network.

    However, where do I now associate my 4 VMs with this new Virtual Network? I was hoping I would be able to see something in the 'Configure' tab of my Azure VM, but this is all I can see:

    Thank you,


    • Edited by Shim Kwan Monday, March 23, 2015 7:55 PM
    Monday, March 23, 2015 7:54 PM


All replies

  • Wow, I may not understand the background, but this is very short-sighted...

    After you create your virtual network, you can add new VMs to it. It’s important to create the virtual network first, then deploy the VM. After a VM has been deployed, you can’t move it to the virtual network without redeploying it. If you use the Management Portal to create your VMs, the interface to deploy your VM to a virtual network is only available when you select New/ Compute/ Virtual Machine/ From Gallery. When you go through the wizard to create your VM, on the Virtual machine configuration page, you’ll see Region/Affinity Group/Virtual Network.


    • Edited by Shim Kwan Tuesday, March 24, 2015 3:00 AM
    Tuesday, March 24, 2015 3:00 AM
  • Unfortunately it`s correct.
    Tuesday, March 24, 2015 4:22 AM
  • Thanks Leonid :)
    Tuesday, March 24, 2015 8:18 AM
  • I agree with you.
    Wednesday, February 20, 2019 12:10 PM