Create a virtual machine with public IP and now I want to remove the public IP

Salves 501 Reputation points


I created a virtual machine and chose to use the public IP.

Now that my network is configured with VPN Site to Site with our firewall, I no longer want to use the public IP of the virtual machine.

What should I do to remove this setting?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
4,924 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. James Dumont 106 Reputation points MVP


    You need to go on your Network Interface, click on the panel "IP configurations", select the IP configuration that is linked to your Public IP and set the option "Public IP address" to disabled.

    To clean everything you can also now delete the Public Ip resources.