Forum Discussion

Suhag Desai's avatar
Suhag Desai
Brass Contributor
Dec 10, 2017

How to assign public IP to existing VM

Hi,

 

i already have one VM running with internal IP. How can i assign public IP to this existing VM through powershell and GUI ?

 

 

 

Regards,

Suhag

    • Suhag Desai's avatar
      Suhag Desai
      Brass Contributor
      Hi Kent

      Thanks for your reply but in my scenario I already have azure windows vm with internal ip.

      Now I want to assign the public static ip to this vm.

      The URL which you are referring is showing how to deploy the vm from scratch with public ip.

      Can you pl provide the steps or powershell command to do this.

      Thanks
      • Vineet Arora's avatar
        Vineet Arora
        Brass Contributor

        Hi,

         

        See steps below.

         

        1. Go to your VM on portal.

        2. Click on the Networking under settings in VM blade.

        3. Click on the Network Interface in Networking blade.

        4. Click on IP Configuration under settings in Network Interface blade.

        5. Click on the IP configuration on the IP configuration blade.

        6. Select Enable under Public IP address settings.

        7. Create a New IP address and choose static. Save the IP address and then the IP Configuration.

Resources