Use a Static IP Address on an Azure Virtual Machine

Azure is Microsoft’s cloud service platform similar to Amazon Web Services (AWS) that allows you not only the ability to store your data in the cloud but also to use cloud based compute resources such as virtual machines (VMs) for your server needs and also network resources, databases and various apps.

By default when you create a virtual machine, Azure will use DHCP to assign that VM an IP address. This is fine for most situations but when you want to use a VM as a domain controller or as some other server that requires a static IP address then you will need to change that setting within Azure. This is a fairly easy process to do as long as you know where to look within Azure to find the right setting to change.

To change your IP address from dynamic to static simply log into the Microsoft Azure portal and click on the Virtual machines section under Favorites. If you don’t have Virtual Machines under Favorites then you will need to click on All services and then click on Virtual machines. You can also click the star to have it added to your Favorites. Once you are in Virtual machines click on the VM that you want to change the IP address type for.

Microsoft Azure virtual machines

 

Next click on Networking under Settings and find the section that says Network interface. Then click on the blue link that shows the name of your network interface. Your interface name will be different from the one shown in the example below.

Microsoft Azure network interface

 

Now go to IP configurations and find the interface that has the private IP address that you want to change and click on that address.

Microsoft Azure IP configurations

 

Under Private IP address settings click on Static and change the IP address to the static IP address you want to use. When you click on Save you will get a warning message saying the network interface will be reprovisioned and that you will need to change any additional settings such as the subnet mask and default gateway. If you are using an IP address on the same network\subnet then you won’t need to change anything else unless you have another VM with the IP address you just changed this one to. Keep in mind that the VM will be rebooted so make sure to save anything you need on that VM before doing this.

Microsoft Azure ipconfig

 

After the reboot you can go back into the IP configurations settings and see that the IP address now says static after it.

Microsoft Azure IP configurations

Pin It

Join Us On FaceBook

We Recommend:



Join Us On Twitter

Get insights into the computer industry and regular updates on our site. Click Here

OCT Youtube Channel

New tech tip videos posted on a regular basis. Subscribe today! Click Here

Sponsored

LATEST VIDEOS

Mount an ISO Image File in a VirtualBox VM Oracle Vi...

Find Your Wireless Password With Ease Many of us have...

3 Ways to Rename your Computer When you install Windo...

Create a Windows iSCSI Storage Server Microsoft Windo...

Learn about Windows 10 Safe Mode and recovery options ...

Use a Static IP Address on an Azure Virtual Machine A...

RECENT TIPS

Get free Microsoft Office compatable software with SoftM...

Boot Your Computer Into Safe Mode to Troubleshoot Issues...

Go Shopping For Apps at the Microsoft Store Starting wi...

Mount an ISO Image File in a VirtualBox VM Oracle Vi...

Get Rid Of Those Unwanted Windows Apps Starting with Wi...

Use Microsoft Office Online For Free! If you are a Wind...

NEWS

WPA2 May Not Be So Secure After All With WPA2 being the...

WPA3 Wireless Security is Coming to Save Us! Wi-Fi is a...

Will Net Neutrality Save or Destroy the Internet? Back ...

Who Will be the Future King of the Processor? When it c...

Microsoft Holds off on its Next Windows 10 Update Thanks...

YouTube taking money away from the little guys I’m sure...