Course contentsShow
← Cloud and Infrastructure
Lesson 61 of 2,9892. Compute FoundationsFree lesson

Root and Additional Storage Volumes

Learn the difference between root volumes and additional block storage attached to virtual machines.

Root and Additional Storage Volumes

What you'll learn: You'll understand the difference between a VM's root volume (its "boot drive") and any extra storage you can attach to it.

The Two Types of VM Storage

When you launch a virtual machine, it needs storage to function—just like your laptop has a hard drive with an operating system installed. This primary storage is called the root volume.

Think of the root volume as the VM's "built-in" hard drive. It contains:

  • The operating system (Linux, Windows, etc.)
  • System files and configurations
  • Often, your applications

The root volume is essential—without it, your VM can't boot or run.

Additional Block Storage

Beyond the root volume, you can attach additional storage volumes to your VM, similar to plugging external hard drives into your computer.

These extra volumes are useful for:

  • Separating data from the OS (e.g., database files, user uploads)
  • Expanding capacity when the root volume fills up
  • Easier backups and snapshots of specific data
  • Persistence — you can detach and reattach them to different VMs

Key Differences

Root VolumeAdditional Volumes
Created with the VMAdded anytime after launch
Contains the OSUsually for data only
Typically deleted when VM terminatesCan persist independently

Think of it this way: the root volume is the foundation of your house (you can't move it), while additional volumes are like storage sheds you can add, remove, or even relocate to another property.

Key Takeaway: Root volumes boot your VM and hold the OS, while additional storage volumes provide flexible, attachable capacity for data that can outlive individual virtual machines.