简体   繁体   English

无需停机即可更改Azure VM IP地址

[英]Changing Azure VM ip address without downtime

I have an Azure VM with SQL Server on. 我有一个带有SQL Server的Azure VM。 There are a number of applications using this database via it's public ip address. 有许多应用程序通过其公共IP地址使用此数据库。 The ip address is currently set to Dynamic and the VM requires maintenance which could change it. IP地址当前设置为动态,并且VM需要维护,这可能会更改它。 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? 当我更新应用程序以使用新的静态IP地址时,有一种方法可以为VM分配静态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? 当我更新应用程序以使用新的静态IP地址时,有一种方法可以为VM分配静态IP地址,同时保持当前IP地址处于活动状态?

If I understand it correctly, you just want to change the public IP address to static. 如果我正确理解,您只想将公共IP地址更改为静态。

We can change the public IP address to static via Azure portal, that IP address will not change. 我们可以通过Azure门户将公共IP地址更改为静态,该IP地址不会更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM