Public Static IP for Azure VM [closed]

霸气de小男生 提交于 2019-12-07 07:40:13

问题


Is there any ways to assign public static IP for Azure VM? Do I have to do through the Azure Virtual Network or I need to do it when setting up the VM?

Would appreciate that if somebody could provide me some tutorial and steps to achieve it.

Thank you.


回答1:


EDIT: use the "New-AzureReservedIP" powershell cmdlet in the VM

the verbose syntax looks like this:

New-AzureReservedIP – ReservedIPName “MyWebsiteIP” –Label “WebsiteIP” –Location “Japan West”

for more information, here's a relevant blog post about it:

http://azure.microsoft.com/blog/2014/05/14/reserved-ip-addresses/

here's an msdn spec on it:

https://msdn.microsoft.com/en-us/library/azure/dn769136.aspx




回答2:


Yes - but only recently. Run get-help *-AzureReservedIP* to get all the cmdlets you need.

Here is more:

https://azure.microsoft.com/en-us/documentation/articles/virtual-networks-reserved-public-ip/



来源:https://stackoverflow.com/questions/23901808/public-static-ip-for-azure-vm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!