Hello, @João Luiz Baroni !
How do add a public IP to my VM?
The documentation on associating a public IP address to a virtual machine is pretty spot on here:
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/associate-public-ip-address-vm
In essence, you'll:
- Navigate to the VM without a public IP address
- Click on Network under Settings, then click on the network interface you want to add the public IP address to (see screenshot below)
- Click on IP configuration under Settings, then click on an IP configuration (see screenshot below)
- Select Associate, then either choose an existing public IP address or create a new public IP address.
- Select Save. After a couple seconds, the public IP address will appear.
Once you've added a public IP, you can go to the public IP address resource for additional information if you would like. Read the following for more information:
Screenshots
Select the network interface from your VM resource by going to Settings > Networking and selecting the network interface:
Select the IP configuration from the network interface by going to Settings > IP configuration, and selecting the IP configuration:
Select Associate and choose or create a public IP address and remember to Save:
You can now view the IP address assigned to the IP configuration: