question

Tyler-3352 avatar image
0 Votes"
Tyler-3352 asked Tyler-3352 answered

No public IP address for Azure VM

I switched my VM IP address from static to dynamic and back to static, but now there is no public IP address (there was one before I changed any settings). How do I get a public IP address for my VM?

azure-webapps-ip-addresses
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AlanKinane avatar image
0 Votes"
AlanKinane answered

I would first check to see if you have any public IP address resources that are not associated as these will incur a cost even if not associated.

The easiest way is to just search for 'public ip address' resources using the search feature of the Azure portal.

You can then check if these are already associated to a resource r not. If not, you can associate one of these public IP addresses with the network interface of your VM: https://docs.microsoft.com/en-us/azure/virtual-network/ip-services/associate-public-ip-address-vm#azure-portal

If you need to create a new public IP address first then here is how through the Azure portal: https://docs.microsoft.com/en-us/azure/virtual-network/ip-services/create-public-ip-portal?tabs=option-1-create-public-ip-basic

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Tyler-3352 avatar image
0 Votes"
Tyler-3352 answered

Thanks! It was there, just had to be associated. Really appreciate the help!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.