Overview - VM states (running, stopped, deallocated)
What is it?
Virtual Machines (VMs) in Azure can be in different states that describe their current activity and resource usage. The main states are running, stopped, and deallocated. Running means the VM is active and using compute resources. Stopped means the VM is turned off but still reserving resources. Deallocated means the VM is turned off and not reserving resources, freeing them for others.
Why it matters
Knowing VM states helps control costs and manage resources efficiently. Without understanding these states, you might pay for unused resources or face unexpected downtime. For example, stopping a VM without deallocating it still incurs charges, while deallocating stops charges but requires time to restart.
Where it fits
Before learning VM states, you should understand what a Virtual Machine is and basic cloud resource management. After this, you can learn about scaling, automation, and cost optimization strategies in Azure.