我有一个启用了 SQL Server 的 Azure VM。有许多应用程序通过其公共(public) IP 地址使用此数据库。 IP 地址当前设置为动态,VM 需要维护,这可能会更改它。有没有一种方法可以为虚拟机分配静态 IP 地址,同时保持当前 IP 地址处于事件状态,同时更新应用程序以使用新的静态 IP 地址?
最佳答案
Is there a way of assigning a static ip address to the VM while keeping the current one active while I update the applications to use the new static one?
如果我理解正确的话,您只是想将公共(public)IP地址更改为静态。
我们可以通过Azure门户将公共(public)IP地址更改为静态,该IP地址不会改变。
关于azure - 无需停机即可更改 Azure VM IP 地址,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48074669/