Reputation: 1
I have two VMs pointed to a Azure oldname.cloudapp.net url I want to change that without deleting VMs.
Set-AzureService
does not change service name! It only changes label name and description.
I can create new cloud service, but how make my current two VMs point to new URL AND delete the old one?
Upvotes: 0
Views: 1428
Reputation: 71031
You cannot rename a cloudapp.net
. You need to create a new service and redeploy:
oldname.cloudapp.net
contains Virtual Machines, delete the existing virtual machines (but not the vhd's) from the old url and deploy them to the new url. The overall effect will be like turning off the VM's and turning them back on.Note: In both cases, the new cloudapp.net
will have a different external IP address.
Upvotes: 1