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

Take control of your Outlook junk mail   If...

Cut Yourself Out a Slice of Data As you probably know...

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

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

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

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

RECENT TIPS

Do you think your computer has a malware i...

How safe is your personal data?   Hacking...

Are your gaming skills up to par?   Onlin...

An easier way to scan PDF documents   If ...

Keep your computer safe while you are in school ...

How Icons Can Be Used in Website Design The S...

NEWS

Another reason to keep your devices up to date. If you ...

Try not to get the BlueKeep Blues Once again the Micros...

Are Your Chrome Credentials Secure? Many people like to...

Windows 10 Optional Updates Coming Soon If you can reme...

Is a Virtual Private Network right for you? &nb...

Use Some Cache to Speed Up Chrome If you use the popula...