@Steven Li ,
Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you would like to upgrade your Basic SKU IP to Standard SKU.
To answer your queries,
1.I need to dissociate the public IP address from the network interface card.
- Yes, this is required for the upgradation.
2.What is the consequence of such dissociation?
- You must note setting he Public IP to "Static" Allocation method is mandatory for the upgrade.
- If your Basic IP is in "Static" Allocation method, your IP is retained throughout the migration.
- If your Basic IP is in "Dynamic" Allocation method, and you disassociate the IP - you will lose the current IP Address and get a new IP Address.
- So, if you would like to keep the same Public IP, you must change the Allocation method to Static before Disassociating the IP Address from the NIC.
3.Is my website on my VM going to stop once the IP address is dissociated?
- The website will be running inside the VM with no issues.
- However, from the time of disassociation to reassociation to the VM, you will not be able to access the VM or the website running inside the VM
- So, essentially, users will experience a small downtime during this period.
4.Can I re-associate the public IP back to what it was before?
- Yes, provided the VM's NIC is not part of a Basic Load Balancer's backend pool
As mentioned by Marcin Policht , you may follow the document at https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/public-ip-upgrade-portal for more information.
Kindly let us know if this helps or you need further assistance on this issue.
Thanks,
Kapil
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members