Skip to main content
Disks are persistent block storage volumes that live independently of any VM. Attach one to a VM at an absolute path, and the data survives suspend, resume, and even destroying the VM. A disk lives in one region and attaches to one VM at a time. Once mounted, it’s owned by the VM’s login user. Disks are durable but not backed up. Removing a disk deletes all of its data, permanently.

Lifecycle

Create a disk

Attach at VM creation

Attach to a running VM

Detach it again with machine0 disks detach data.

See your disks

In the dashboard

Disks can also be managed from the web dashboard: the Disks page lists your volumes with status, size, region, attachment and running cost, and lets you create, attach, detach and destroy them. The attach dialog only offers running VMs in the disk’s region that support mounts.

Limits

  • 10 disks per account, 5 per VM
  • 10–16384 GB per disk
  • A disk attaches only to VMs in its own region
  • Mount paths must be absolute and can’t nest inside one another
  • Attaching to a running VM requires a managed SSH key
  • Not yet supported on GPU sizes or NixOS VMs

Billing

~$0.1667/GB/month, billed hourly while the disk is READY — attached or not. See Pricing.

Commands

See CLI reference.