Saturday, May 15, 2021

Azure VM - static private IP address

When  we create a Azure VM, it automatically assign a private IP address from the range define in subnet where VM is deployed.

This private IP will remain unchanged until VM is deallocated or decommissioned.

If Network configuration demands a fixed private IP assign to the VM which should work even after VM resumes from deallocation, then static private IP address would be the solution.

Static private IP address allows a specific hand picked IP address assign to the VM.

Static IP address is specially needed  when private DNS requires a A record entry.

Assign static IP address is easy:-

1. Select the VM from Azure portal

2. Go to "Networking" page and select "Network Interface"

3. Click on existing IP address from list

4. Now change the assignment to "Static" from "Dynamic"

5. In the text below specify the desire IP address and click on save.

No comments:

Post a Comment

File recovery from VM backup(Recovery Service vault)

Backup service can be enabled on VM through recovery service vault. This will primarily facilitate restoration of a VM from Backup when disa...