Can I recover my old Azure static IP after stopping a rented VM?

0
0
Asked By CuriousLearner67 On

I rented a VM on Azure from someone for a couple of months while I was still setting up my own account. I discontinued the service two months ago, and now that I have my own Azure account, I'm wondering if there's any way to get back the static IP I was using. This IP was whitelisted for a government service, and when I ping it, it seems to be unused. Any advice?

3 Answers

Answered By TechWizard42 On

One option is to contact the person you rented from and see if they can add you as a guest to their account and move the static IP to your new setup. But if they've deleted the VM and the IP, it might be a no-go.

LostIPFinder99 -

Unfortunately, he has deleted the VM and the IP since you stopped the rental, so that won't work.

Answered By ServerExpert88 On

Unfortunately, you can't recover the static IP once the resource has been deleted. It's gone for good. As a side note, directly assigning a public IP to a VM is generally a bad idea; if the VM goes down, so does the IP. It's best to treat VMs like cattle—not pets—and set up static resources to avoid this issue in the future.

Answered By AzureGuru11 On

According to Azure's guidelines, once a static IP is released after deleting a VM, it cannot be recovered. If you set it up as static, Azure will assign an IP from their pool, and if that resource is deleted, the IP is lost forever. You might want to seek a new IP for your new setup.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.