Join our Newsletter — 33% off our NHI Course
Home› Glossary› NHI Lifecycle Management› Deallocated Virtual Machine
NHI Lifecycle Management

Deallocated Virtual Machine

← Back to Glossary
By NHI Mgmt Group Updated October 31, 2026 Domain: NHI Lifecycle Management

A deallocated virtual machine is a stopped VM whose compute and networking resources have been released by the cloud provider. This state differs from a simple stopped state in which some billing and reserved capacity can continue. Deallocation usually reduces cost, but attached storage may still remain billable.

What deallocation means in a cloud VM lifecycle

Deallocation is not just another “stopped” state. It is the point at which the cloud provider releases the VM’s compute placement and networking allocation, so the instance is no longer consuming those scarce runtime resources. That makes deallocation an operational boundary, not only a billing event, because the VM can still exist as a defined resource while its active hosting footprint is gone.

For practitioners, the key distinction is that deallocated does not mean deleted. The VM resource, configuration, disks, and associated metadata can remain available for later restart or inspection, even though the execution environment has been relinquished. This is why state management matters in cloud environments: the same machine can move between running, stopped, and deallocated states without changing its identity in the control plane.

Billing, capacity, and persistent storage implications

Deallocation is often used to reduce spend and free capacity, especially in environments with bursty workloads or non-production systems. Because attached storage may remain billable, the cost reduction is partial rather than absolute, and organisations need to distinguish compute charge elimination from storage retention. The practical lesson is that the billing model follows the resource type, not just the VM label.

Capacity planning also changes once a VM is deallocated. Released compute and networking resources become available for other workloads, but any assumptions about immediate reuse, warm availability, or static network placement no longer hold. Teams that rely on reserved runtime positions, fixed IP associations, or always-on service expectations need to confirm what is preserved and what is discarded when a VM enters this state.

When deallocation is used deliberately, it is usually part of a wider lifecycle strategy, such as turning off test systems outside business hours, cycling ephemeral build hosts, or pausing development environments without destroying their disks.

Operational differences from stopping or deleting a VM

The difference between stopped, deallocated, and deleted states is important because each one implies a different operational commitment. A stopped VM can still carry some runtime reservation or billing characteristics, while a deallocated VM has explicitly given up its compute and networking allocation. Deletion goes further and removes the VM resource itself, which is a materially different lifecycle decision.

This distinction matters for automation, inventory, and change control. If teams treat “stopped” and “deallocated” as interchangeable, they can misread platform state, overestimate resilience, or fail to understand why a host no longer accepts traffic. The correct state has to be checked in the cloud control plane, not inferred from whether the guest operating system appears inactive.

It also matters for recovery expectations. A deallocated VM can often be started again, but the restart path depends on the underlying cloud platform and on whether dependent network, identity, or storage settings were preserved with the resource.

Security and governance considerations for deallocated VMs

Deallocated VMs still matter to security teams because the asset has not disappeared, only its active runtime has. That means attached disks, retained secrets on storage, snapshots, images, and historical configuration can continue to present exposure if the VM was previously compromised or improperly hardened. For broader cloud state handling, Hypervisor and Virtualisation Security Guide is useful context on VM isolation and lifecycle risks.

Governance also extends to cloud resource retirement and reuse. A VM that is deallocated but not fully cleaned up may still leave behind recoverable data, stale network trust, or attached assets that outlive the intended workload. That is why cloud lifecycle policies should define what must be removed, what may remain, and who is responsible for confirming the final state.

For a broader cloud-control view, ISO/IEC 27017 Cloud Security Controls Guide helps frame shared responsibility, while Confidential Computing Guide is relevant where workload data protection remains a concern even when the VM is not actively running.

Risk and Threat Considerations

Deallocation reduces one kind of exposure, but it does not eliminate the risk associated with the VM’s historical state. If a deallocated instance was previously accessed, compromised, or used to store sensitive material, its attached storage, snapshots, or preserved configuration may still carry that exposure forward into later restoration or reuse.

Failure mechanism: Attackers or internal misuse can persist through retained disks, images, or residual credentials even after compute and networking resources have been released, then exploit that later when the VM is restarted or copied.

Impact: The organisation may reintroduce compromised data, stale trust relationships, or insecure configuration into a live environment, creating delayed compromise, data exposure, or unintended access.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

CSA Cloud Controls Matrix, NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
CSA Cloud Controls MatrixIVS — Infrastructure & Virtualization SecurityDeallocated VMs are a cloud virtualization lifecycle issue with residual state and isolation concerns.
Recommendation — Track VM lifecycle state and residual assets under IVS controls.
ISO/IEC 27001:2022A.5.23 — Information security for use of cloud servicesCloud VM deallocation is governed by cloud service use, shared responsibility, and retirement expectations.
Recommendation — Define cloud lifecycle responsibilities for stopping, deallocating, and retiring VMs.
NIST SP 800-53 Rev 5CM-8 — System Component InventoryDeallocated VMs remain inventory items whose state, ownership, and dependencies must be tracked.
Recommendation — Maintain inventory accuracy for deallocated VMs and their attached resources.
NIST CSF 2.0ID.AM-01 — Physical devices and systems are inventoriedDeallocated VMs still belong in asset inventory and state management for governance and recovery.
Recommendation — Keep deallocated VMs visible in the asset inventory and lifecycle records.

Practitioner Guidance

What to watch for: Treat deallocation as a state transition that must be verified in inventory, billing, and security records. If the VM is meant to be dormant rather than retired, confirm what persistence remains, especially attached storage, snapshots, and any access paths that survive the release of runtime resources.

Governance implication: Define a clear operational policy for when a VM should be stopped, deallocated, or deleted, and make ownership explicit for each state transition. That prevents teams from assuming that cost reduction has also delivered data sanitisation or security closure.

Practitioner takeaway: A deallocated VM is cheaper to keep, but it is not automatically safer to forget.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 31, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org