I would like a static IP for my VM

chris fitzgerald 0 Reputation points
2024-02-13T11:15:04.67+00:00

Hi I would like a static ip for my VM Do you know how I can do this ? Regards Chris

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,775 questions
{count} votes

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 50,096 Reputation points Microsoft Employee Moderator
    2024-02-14T08:47:50.43+00:00

    Hello @chris fitzgerald ,

    I understand that you would like to know how to assign a static IP on your Azure VM.

    Are you referring to Public IP or Private IP?

    In case you would like to assign a static public IP to your Azure VM, then you can refer the below docs:

    https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/associate-public-ip-address-vm?tabs=azure-portal

    https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/virtual-network-network-interface-addresses?tabs=nic-address-portal

    Make sure you've a static Public IP available: https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/create-public-ip-portal?tabs=option-1-create-public-ip-standard#sign-in-to-azure

    In case you would like to assign a static private IP to your Azure VM, then you can refer the below doc:

    https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/virtual-networks-static-private-ip-arm-pportal#change-private-ip-address-to-static

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.