What you’ll be able to do
- Identify the VM, disk, NIC, and network dependencies.
- Review sizing and inbound access before deployment.
- Distinguish stopped from deallocated and identify residual costs.
Get the idea
More than a server
A VM deployment includes dependencies such as an operating system disk and network interface. A public IP is an additional choice, not a requirement for every workload. Your cleanup plan must account for these related resources.
Size for the workload
CPU, memory, disk, availability, and licensing affect suitability and cost. For a learning workload, review a small supported size and the displayed price. A low-cost option is only useful if it is available and appropriate.
Stop is not a cleanup plan
A VM stopped inside the operating system can remain allocated. Deallocation releases compute allocation, but disks and some other resources can continue to incur charges. Deleting a VM does not always remove every dependency.
Try it yourself
- In the portal, start Create an Azure virtual machine in a separate practice group named rg-learningazure-vm. For a review-only exercise, do not create the group or submit the deployment.
- Choose a region, supported Windows image, and small available size. Note the estimate and any subscription restrictions.
- Review Networking. Set public inbound ports to None. Do not expose RDP to all internet addresses. No remote connection is needed for this lesson.
- Use Review + create to inspect the planned resources. For the default review exercise, stop here. If you explicitly choose to spend the displayed amount, create the dedicated group and deploy.
- For a deployed VM, inspect its disk and network resources. Stop it through the portal and verify the status is Stopped (deallocated). Record which resources still exist.
Finish the lab
Delete the dedicated rg-learningazure-vm group after inspecting its contents. Confirm all related lab resources are removed. Deallocation alone does not eliminate every charge.
Quick knowledge check
A VM is deallocated. Does that mean its disks are now free?
Reveal the explanation
No. Managed disks remain billable while they exist, even when VM compute is deallocated.
Take this with you
Treat compute, storage, network access, and cleanup as one deployment decision.
Go deeper
AI-assisted lesson · Reference links checked October 3, 2026. Exercises are teaching examples; they have not been executed against your Azure subscription.