Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Lost - how do I assign a reserved public IP address to an existing AzureWindows 2012 VM?

$
0
0

Hi,

I created a reserved public IP via New-AzureReservedIP and I can see that it worked when I call get-AzureReservedIP.

But I'm completely lost how to assign this IP-Address to my existing, Windows based web server VM which is already configured and ready-to-go.

I followed this MSDN article http://msdn.microsoft.com/en-us/library/azure/dn690120.aspx but I'm not sure what all of the  commands below are doing - I just don't want to loose all the configuration work I put into the VM (installing applications, setting up users etc...):

New-AzureVMConfig -Name "WebAppVM" -InstanceSize Small -ImageName $images[60].ImageName | Add-AzureProvisioningConfig -Windows -AdminUsername cloudguy -Password Abc123 | New-AzureVM -ServiceName "WebApp" –ReservedIPName $ReservedIP -Location "Japan West"

I don't want to create a new VM, I just want the reserved IP to point to the already existing VM... can't be that hard, I think?

Thomas


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>