Partager via


Setting Static IP Address in Windows Azure Virtual Machines

imageOne of the questions I have been asked for a while is how do you set static IP address in Windows Azure Virtual Machines.  Well you can, check out my friend John Savill’s great article to see how:

Set Azure VM Static IP Address

While it is like a DHCP reservation for the VM itself (the VM is still DHCP configured), it is treated as a static IP to Windows Azure.  Now this does involve new Windows Azure PowerShell cmdlets.  You will need to download and install the Windows Azure PowerShell cmdlets (possibly again) to get the new functionality. 

You can get them here:  https://www.windowsazure.com/en-us/downloads/ 

Enjoy!

Comments

  • Anonymous
    April 21, 2014
    What about when you need to point the VM to a DC in IP4? each time you shut down and start the VM it still has the static IP but it now has lost connection to the DC.
  • Anonymous
    April 23, 2014
    The comment has been removed
  • Anonymous
    April 25, 2014
    Does this work for IPv6 or is it just for IPv4?
  • Anonymous
    June 12, 2014
    How do we tell the VPN client that Azure configures for our virtual network, to keep the same IP address for a given ground VM for example? if VPN disconnects, then I am likely to get a new VPN ip address and my job from ground to cloud stops working post reconnect...
  • Anonymous
    August 19, 2014
    The comment has been removed