If you would like to create a reserved IP address for an azure VM using the Portal you will need to create a new VM, from what I can tell you can’t use the Portal to assign a reserved IP to an existing VM. You also cannot use the old management portal to create a reserved IP.
Here is the IP Address section for an existing VM and as you can tell there isn’t a reserved IP option:
Here are the steps to create a reserved IP for a new VM using the Azure Portal:
(1) The first thing we need to do is to create a new VM. Inside of the Azure Portal select the “Virtual machines (classic)” section and then click the “Add” button:
(2) From the “Compute” blade, select “Windows Server”:
(3) From the “Windows Server” blade click on “Windows Server 2012 R2 Datacenter”:
(4) From the “Windows Server 2012 R2 Datacenter” blade make sure the “Classic” deployment model is selected and press create:
(5) From the “Create VM” blade. Type in the “Host Name”, “User name”, and “Password”. Then select the “Pricing Tier” and the “Resource Group”. Once all of those things have been configured you can then click on “Option Configuration - Network, storage, diagnostics”:
(6) From the “Optional config” blade select the “Network” section:
(7) From the “Network” blade select “IP Addresses - Virtual, instance, private”:
(8) In this step we are going to configure our Reserved IP address. Which means we are going to give it a name, but we can’t actually choose what our IP address will be.
- From the “IP addresses” blade change the “Virtual IP address” toggle from Dynamic to Reserved.
- Select “Reserved IP Address - Not configured”
- From the “Reserved IP address” blade select “Create a reserved IP address”
- From the “Create a reserved IP address” blade give your reserved IP a name.
- Still inside the “Create a reserved IP address” blade click OK
- The “Reserved IP Address” blade should have closed automatically for you, so from the “IP address” blade select OK
(9) Click OK and click Create:
- From the “Network” blade click “OK”
- From the “Optional config” blade click “OK”
- From the “Create VM” blade click “Create”
(10) Once your VM has been created lets see what are Reserved IP address is. Select the VM that you created:
(11) From the “Settings” blade click on the “IP addresses” section
(12) From the “IP addresses” blade you can now see your Reserved IP Address
Here is a gif that I made showing all the steps above: