If standalone disks or filesystems are attached to your virtual machine (VM), Compute doesn’t automatically delete them. To stop being charged for volumes you no longer need, delete these volumes separately.If VM-managed disks are attached to your VM, they are deleted along with the VM automatically. Charges for these disks stop immediately.To delete a VM:
Web console
CLI
In the sidebar, go to Compute → Virtual machines.
Click the virtual machine you want to delete.
On the VM page, go to the Settings tab.
Click Delete virtual machine.
In the window that opens, confirm the deletion.
Get the ID of the virtual machine you want to delete: