Share via


Multiple Virtual Machines with same Hostname and IP Address in Azure Public Cloud

Question

Thursday, August 7, 2014 12:32 PM

Hi All,

I have requirement in Windows Azure Public Cloud to deploy multiple Virtual Machines with same configuration e.g. same Hostname and same IP Address.

Customer have single standalone Windows Server VM on premise with custom Application installed and configured. This VHD needs to be uploaded to Azure Cloud. Customer wants the multiple copies of this VHD (VM) in azure cloud to test the application with multiple users. This application has dependency with IP Address and Hostname.

Let me know whether this scenario is achievable in Windows Azure (multiple Virtual Machines with same configuration e.g. same Hostname and same IP Address) and how I can address this?

Thanks & Regards, Kedar

All replies (2)

Friday, August 8, 2014 3:55 AM ✅Answered

Hi,

Did you mean the Virtual Machine Name? Which kind of IP address did you mean?

It is impossible to create Virtual Machines with the same virtual machine Name (hostname) in the same cloud service. It is not supported to assign the same internal IP address to Virtual Machines within the same virtual network.

If what you meant was the public IP address, then you cannot achieve that. If you create the Virtual Machines in the same cloud service, they will share the same public IP address. However, you can only create the same username instead of Virtual Machine Name for the Virtual Machines in the same cloud service.

If what you meant was the internal IP address, it seems that you can achieve that. You need to create each Virtual Machines in different cloud services so that you can use the same Virtual Machine Name for the Virtual Machines. In addition, you need to create multiple virtual networks which contain a same IP address and join each Virtual Machines into different virtual networks. You also need to use Azure PowerShell to assign the same static IP address in different virtual networks to different Virtual Machines. For more detailed information, please refer to the link below:

Configure a Static Internal IP Address (DIP) for a VM

If you have anything unclear, please feel free to let me know.

Best regards,

Susie


Friday, August 8, 2014 2:56 AM

Hi,

It seems like this issue is more related to Microsoft Azure Virtual Machine, I will move this thread to Microsoft Azure Virtual Machine Forum for a better help.
Thank you for your understanding.

Best Regards

Jambor

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.