Azure – You can now force stopping a virtual machine (preview)

If you are using Azure to host workloads running on virtual machine, you may not have noticed this preview as most of the time virtual machines are running 24/7 or being shutdown using automation.

From time to time, luckily no often, a virtual machine deallocation (shutdown) from the Azure portal may be stuck for various and random reasons.

Problem is until the virtual machine is fully deallocated, you are still getting billed for the running cost even if the hosted workloads are no longer available.

Microsoft has introduced a “force shutdown” option when stopping a virtual machine from the portal.

The idea is to work the same way than a hard turn off operation (unplugging power [for physical devices] or “turn off” on hyper scalers).

The usual way to fully decommission (shutting down) a virtual machine in Azure must still be the normal way but if it does not work, you can use this new option to basically “unplug” power for this virtual machine.

The force shutdown is available and displayed all the time, even during a normal “Stop” request in Azure

image

If the virtual machine is taking longer than it should to fully be decommissioned, you can then try again from the portal by enabling the “Apply force deallocate” option.

You can not use it until the deallocation process has not be completed within the expected timeframe (up to 90 minutes).

Leave a Comment

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.