Ga naar content
Zoek op onderwerpen, blogs, diensten etc.

Unwanted change of the public IP address of your Windows Azure Cloud Service

I recently had some cases where I lost the public IP address which was assigned to a cloud service within Windows Azure. This was not really a desired scenario because these IP addresses were already used and registered in DNS. The use of a CNAME to *.cloudapp.net was not an option because the use of certificates.

The reason why I lost the public IP address on these services was because of the state of the Virtual Machines within the services. Because of the changes of the billing mechanism in Windows Azure (June, 2013), there was a new status introduced for the Virtual Machines. The new status: Stopped (Deallocated) places the VM in a special state which means that the configuration of the VM is not actively being associated with fabric resources. This results in the fact that you are not being billed for the hourly compute time while the VM is in that state. This is of course a very useful feature, however when all of your VM's in a Cloud Service are put in this state, the public IP address associated with that service will be released. The next time you start a VM in the Cloud Service it will have a new public IP address assigned. How can we prevent this? Just be aware about the way you shutdown your VM's in a Cloud Service and/or assure that there's at least one VM running all the time. There are three ways to shutdown/stop a VM within Azure:

  1. Shutdown VM via Windows Azure Management Portal
    When using the Shutdown button within the Azure portal by selecting the VM, it puts the VM in the Stopped (Deallocated) state.
    AzureVM1
  2. Shutdown Guest Operating System inside the VM
    Using shutdown (via RDP) from within the VM causes it to go into Stopped state.
    AzueVM2
  3. Stop VM via Windows PowerShell using Windows Azure PowerShell Module
    In the latest version of the Windows Azure PowerShell Module there's a new StayProvisioned parameter added to the Stop-AzureVM cmdlet. With this parameter you can determine the state that the VM goes in when shutting it down:
    • Stop-AzureVM -ServiceName "myservice1" -Name "MyVM"
      This causes the VM to go in the Stopped state.
    • Stop-AzureVM -ServiceName "myservice1" -Name "MyVM" –StayProvisioned
      This causes the VM to go in the Stopped (Deallacated) state.

Summary: just put your VM's in a Cloud in the correct state (stopped) and/or keep at least one VM running. This way you don't lose your public IP address.
For more information: http://msdn.microsoft.com/en-us/library/windowsazure/dn133803.aspx

Meer over Azure

Ga naar Azure in de praktijk: 4 Business Cases van Wortell
Blogpost / 13-6-2019

Azure in de praktijk: 4 Business Cases van Wortell

.tb_button {padding:1px;cursor:pointer;border-right: 1px solid #8b8b8b;border-left: 1px solid #FFF;border-bottom: 1px solid #fff;}.tb_button.hover {bo...
Ga naar Besparen op IT infrastructuur kosten met Microsoft Azure
Blogpost / 3-5-2016

Besparen op IT infrastructuur kosten met Microsoft Azure

.tb_button {padding:1px;cursor:pointer;border-right: 1px solid #8b8b8b;border-left: 1px solid #FFF;border-bottom: 1px solid #fff;}.tb_button.hover {bo...
Ga naar Office 2016 in Azure RemoteApp now officially supported
Blogpost / 22-1-2016

Office 2016 in Azure RemoteApp now officially supported

With the December updates of Azure RemoteApp, official support for Office 2016 for Office 365 in Azure RemoteApp was announced, lets see it in action!
Ga naar HTML5 for Azure RemoteApp available in public preview!
Blogpost / 14-1-2016

HTML5 for Azure RemoteApp available in public preview!

The HTML5 client for Azure RemoteApp is now available in public preview, test the client and, read my first experience here!
Ga naar First glimpse at the Azure RemoteApp HTML5 client!
Blogpost / 30-11-2015

First glimpse at the Azure RemoteApp HTML5 client!

Although the preview of the new client is not available yet, here are some screenshots to allow for a first glimpse at the Azure RemoteApp HTML5 clien...
Ga naar Your apps, our cloud, no hassle! - Azure RemoteApp
Blogpost / 30-10-2015

Your apps, our cloud, no hassle! - Azure RemoteApp

Microsoft heeft een nieuwe landingspagina gelanceerd voor Azure RemoteApp!
Blogpost / 25-8-2015

New Azure RemoteApp feature: Link existing vnet to cloud collection

There is a new feature available in Azure RemoteApp! Linking an existing vnet to an Azure RemoteApp Deployment.
Ga naar Managing your Azure RemoteApp application landscape using FSLogix Apps.
Blogpost / 19-6-2015

Managing your Azure RemoteApp application landscape using FSLogix Apps.

Article covering how to extend Microsoft Azure RemoteApp with FSLogix Apps to enable further management of your application landscape.
Ga naar Securing Remote Desktop Services with Azure Multi Factor Authentication
Blogpost / 27-4-2014

Securing Remote Desktop Services with Azure Multi Factor Authentication

​An article on how to set up Remote Desktop Services with Azure Multi Factor Authentication
Ga naar Running Dell vWorkspace in Windows Azure
Blogpost / 5-9-2013

Running Dell vWorkspace in Windows Azure

​Running Dell vWorkspace in Windows Azure
Ga naar Load balancing RDS with KEMP Load Master for Azure
Blogpost / 4-9-2013

Load balancing RDS with KEMP Load Master for Azure

​Blog post on Load balancing Remote Desktop Services Web Access & Gateway with KEMP Load Master for Azure
Ga naar Azure Architect
Vacature

Azure Architect

Als Azure Architect help jij onze klanten bij het bepalen van een visie op de cloud.