简体   繁体   English

Azure VM公共IP?

[英]Azure vm public ip?

we need to access our partner's sql azure db, they ask for an ip so they add to the whitelist, thing is we doing the dev work on our azure vm (under different subscription), what ip should we give them, I suppose a public IP address? 我们需要访问合作伙伴的sql azure数据库,他们要求一个ip,以便将其添加到白名单,这是我们在azure vm上进行开发工作(在不同的订阅下),我们应该给他们提供什么ip,我想是一个公共IP地址? Will that change over time? 会随着时间的推移而改变吗?

Thanks advance for the help! 感谢您的帮助!

Your VM public IP will not change unless all the VMs in that cloud service (the service holding the public IP) are stop/deallocated. 除非停止/取消分配该云服务(持有公共IP的服务)中的所有VM,否则您的VM公共IP将不会更改。 Restarting the VM won't change the IP either. 重新启动虚拟机也不会更改IP。

I usually shutdown my VM very carefully to prevent accidentally changing my IP addresses. 我通常会非常小心地关闭我的VM,以防止意外更改我的IP地址。 So far for past few years, I just tried once unintended change. 到目前为止,过去几年,我只是尝试了一次意外更改。


Note: 注意:

You may also consider the newly introduced Reserved IP to reserve an IP and prevent it from changing. 您也可以考虑新引入的保留IP来保留IP并防止其更改。 However, 然而,

[a]t this time, you can't reserve an IP address for a cloud service that you have already created. 这次,您将无法为已经创建的云服务保留IP地址。

which means you could only reserve a new IP address if you would like to use Reserved IP . 这意味着如果您想使用保留IP地址,则只能保留一个新IP地址。

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

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