what's the difference between deallocated and stopped ? my test VM burning rate too high

Mike X Shen 56 Reputation points
2021-10-02T11:12:19.737+00:00

Hi there

I am doing some tests. I scheduled a test VM to shutdown and deallocate overnight.

But tonight, I noticed in azure portal, the VM status showing as deallocated, but the stopped button is still available to click

I clicked stopped, I saw a message that a public IP will not be kept. That's OK

The VM (Standard_D4s_v3) is burning about $10.00 NZD, however Microsoft monthly price listed is 275.93 NZD

Can someone shed some light on this problem

Kind Regards

Michael

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,285 questions
0 comments No comments
{count} votes

Accepted answer
  1. SUNOJ KUMAR YELURU 13,961 Reputation points MVP
    2021-10-02T15:36:14.94+00:00

    Hi @Anonymous

    If your VM is not running, it will have one of two states — Stopped, or Stopped (deallocated).

    Azure’s Stopped State
    When you are logged in to the operating system of an Azure VM, you can issue a command to shut down the server. This will kick you out of the OS and stop all processes, but will maintain the allocated hardware (including the IP addresses currently assigned). If you find the VM in the Azure console, you’ll see the state listed as “Stopped”. The biggest thing you need to know about this state is that you are still being charged by the hour for this instance.

    Azure’s Deallocated State
    The other way to stop your virtual machine is through Azure itself, whether that’s through the console, Powershell, or the Azure CLI. When you stop a VM through Azure, rather than through the OS, it goes into a “Stopped (deallocated)” state. This means that any non-static public IPs will be released, but you’ll also stop paying for the VM’s compute costs. This is a great way to save money on your Azure costs when you don’t need those VMs running, and is the state that ParkMyCloud puts your VMs in when they are parked.

    If the Answer is helpful, please click Accept Answer and up-vote, so that it can help others in the community looking for help on similar topics.

    83 people found this answer helpful.

5 additional answers

Sort by: Most helpful
  1. Ayomide Oluwaga 946 Reputation points
    2023-07-14T11:47:43.9966667+00:00

    Just to add to the points, the extra deductions is for storage, NIC cost etc. You still pay for these regardless

    0 comments No comments