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.
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/