Our website use cookies to improve and personalise your experience and to display advertisements (if any). Our website may also include cookies from third parties like Google Adsense, Google Analytics, Youtube. By using the website, you consent to the use of cookies.

Blog Post

Static IP address assignment in Windows Azure

WindowsAzureHave you ever wondered how to set a Static IP address on a VM in Windows Azure especially when deploying a domain controller?  Well up to recently the only way of possibly achieving this was to  create different virtual subnets for different groups of VMs to try and control the IP address the VM would be given from Windows Azure – I must admit this was a clunky way of doing this but was the only way recommended by Microsoft Support.

Now things have just got better with the introduction of Windows Azure PowerShell 0.7.3.1 (or Later) you can now do this.

By using PowerShell you can now assign a static IP to a VM that will persist with the VM, even if it’s deprovisioned. The VM must be within a virtual network to have a static IP address configured.   If you still have a need for DHCP assigned IP’s to some VM’s best practice is to create two virtual subnets (one for static and one for DHCP)

I found the following video (Savilltech Blog) which explains how this can be achieved in easy to follow steps.

Enjoy 🙂

Source : SavillTechs Blog

Related Posts