When you have lots of instances running on Windows Azure, you may need to investigate issues on a specific instance however there is not direct way, you can offline specific instance from your total instances. To investigate a specific instance your first requirement is to take that instance out of the network load-balancer so that you can enable offline troubleshooting. Azure Service Management portal does not provide such functionality however you can use PowerShell and Windows Azure cmdlets on the Compute nodes to remove your instance away from Load Balancer. To use it, you must have Remote login enabled on your Windows Azure application.
Here are the steps:
The PowerShell command window look like as below:
Now let’s check the Windows Azure Management Portal for instance status:
To verify that we have offline the same instance run PS command “Get-RoleInstance –Current” as below”
After I close the PowerShell Windows my specific instance will become responsive again in next 2-5 minutes as below:
If the instance is set to be offline, will it be still chargeable?
Is there any way to set the instance offline with asp.net?
For Windows Azure Compute, you will be charged all the time once application is deployed, until you delete it.
Is the current Azure still support this feature. I have tried these steps but execution @ step 2 states "Cannot load windows Powershell snap-in "Microsoft.Windows.ServiceRuntime.."
Please share your thoughts.