When you reboot an Azure Virtual Machine, its public virtual IP address does not change. However, if you shutdown the VM and then start it back up, it will receive a different public virtual IP address.
This VM server is hosting a service which end users may need to create a firewall rule for. This may require them to have the public IP address of the server.
Is there a method to keep the same public virtual IP address? Can Microsoft allow this on a per account / per VM / per subscription basis?
Thanks
Yes, you can assign a public IP to a virtual machine, you will need to ensure two things You have an IP address in the public IP address ranges. Your VM is configured with a bridged network adapter. Does a virtual machine have its own IP? Originally Answered: Does a virtual machine have an IP address?
Retain Public Virtual IP Address? Bookmark this question. Show activity on this post. When you reboot an Azure Virtual Machine, its public virtual IP address does not change. However, if you shutdown the VM and then start it back up, it will receive a different public virtual IP address.
A public IP address is associated to an IP configuration of a network interface attached to a VM. Use the Get-AzVirtualNetwork and Get-AzVirtualNetworkSubnetConfig commands to get the virtual network and subnet that the network interface is in.
Is there a method to keep the same public virtual IP address? Can Microsoft allow this on a per account / per VM / per subscription basis? Show activity on this post. Yes, there is a way for you to do this, but you will still be charged compute charges.
Yes, there is a way for you to do this, but you will still be charged compute charges. The Public IP is linked to the cloud service container the VM runs in and as long as something is running (or appears to be running) in that container than the VIP will stay assigned to you. You can shutdown the VM from within the VM itself.
Check out the following post by Keith Mayer for more info on this: http://blogs.technet.com/b/keithmayer/archive/2013/06/19/windows-azure-virtual-machines-there-s-more-than-1-way-to-shutdown-a-vm.aspx#.UqInbRwo5aQ
Currently leasing a VIP or having a fully assigned VIP that is just for you across deployments and such is not an option. They have been hearing this feedback for quite some time and from many people.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With