<img alt="" src="https://secure.leadforensics.com/150446.png " style="display:none;">
Go to top icon

Difference between Azure VM states - Stopped and Stopped (Deallocated)

Kunal Patil Dec 09, 2015

Windows Azure Azure cloud computing Technology

Stopped (Deallocated):
In this state, the instance is stopped through the management portal. This option is available at the bottom on the management portal. If you shut down the VM from here, it goes to the stopped (deallocated) state.
Stopped.png

Stopped (Deallocated) instance doesn’t cost for VM compute hours. It only cost for the VHD storage for same VM.

Here is a snapshot of a portal showing VM status:

VM_status.png

Using PowerShell, you get:

Stop-AzureVM –servicename “<cloudservice>” –name “<name>”

This will change the Public IP assigned. If the VM is in de-allocated state, then its IP gets detached (if a static IP is not assigned).

Stopped:

This happens if you shut down the instance through the machine itself. For eg:

  • Windows – start--> shutdown.
  • Linux – shutdown –p now, init 0.

In the stopped instance, though the machine does not run. However, it will still cost the VM compute hours and VHD storage.VHD_storage.png

Again with PowerShell:
Stop-AzureVM –StayProvisioned

So, there are some tricky holes which can cost you more. You need to be careful about these areas. While it is a small component, it can still leave a big impact on your bills.

e-Zest is a leading digital innovation partner for enterprises and technology companies that utilizes emerging technologies for creating engaging customers experiences. Being a customer-focused and technology-driven company, it always helps clients in crafting holistic business value for their software development efforts. It offers software development and consulting services for cloud computing, enterprise mobility, big data and analytics, user experience and digital commerce.