What’s the difference between ephemeral and volume boot disks?

Different boot sources

There are several kinds of sources to boot from in the DreamCompute dashboard, but they all need to create some sort of virtual disk for the virtual machine to boot. The virtual disk can use either ephemeral storage or volume block storage. When launching an instance, you have several Boot Source options:

  • Image — launches an instance from the image you choose onto either an ephemeral disk or a new volume disk.
  • Instance Snapshot — launches an instance from the instance snapshot you choose onto either an ephemeral disk or a new volume disk.
  • Volume — launches an instance from an existing bootable volume.
  • Volume Snapshot — creates a volume from the volume snapshot you choose and then launches an instance using that new bootable volume.

Ephemeral disks are temporary and are destroyed when the instance is terminated; volume disks are a more permanent form of storage that persists after the instance is deleted. The following table summarizes the differences, and the sections below describe each type in detail.

Characteristic Ephemeral boot disk Volume boot disk
Persistence Temporary; destroyed when the instance is terminated, so you lose your data. Persists after you delete the instance (unless you select "Delete Volume on Instance Delete").
Can be snapshotted Yes. Snapshots are stored as Images and count against DreamCompute's Image quota. Yes.
Quota used Does not use volume quota; needs only instance quota. Uses your volume quota, which can be pricey with many instances or snapshots.

What are ephemeral boot disks?

Ephemeral disks are virtual disks that are created for the sole purpose of booting a virtual machine and should be thought of as temporary.

Ephemeral disks are useful if you aren't worried about needing to duplicate an instance, or about destroying an instance and saving the data. You can still mount a volume on an instance that is booted from an ephemeral disk and put any data that needs to be saved on it, instead of using the volume as the root of your OS.

  • Can be snapshotted: Useful for duplicating instances or keeping a copy of an instance at a certain point in time. Snapshots of ephemeral boot disks are stored as Images and count against DreamCompute's Image quota.
  • Do not use up volume quota: If you have more instance quota, you can always boot from an ephemeral disk even if you don't have any volume quota left.
  • Are destroyed when the instance is terminated: This means you will lose your data if you delete an instance to free up some instance quota.

What are volume boot disks?

Volumes are a more permanent form of storage than ephemeral disks and can be used to boot from as well as being a mountable block device.

Volume boot disks are useful if you need an easy way to duplicate instances and back them up with snapshots, or if you need a more reliable storage solution for your instance than an ephemeral disk. If you use them, you should plan ahead so that you have enough quota for all of the instances you want to boot.

  • Can be snapshotted: Useful for duplicating instances or keeping a copy of an instance at a certain point in time.
  • Does not get destroyed when you delete the instance (unless you select the "Delete Volume on Instance Delete" option): You can delete the instance and your data will still exist as a volume that you can boot from later.
  • Uses your volume quota: This can be pricey if you have lots of instances, or take lots of snapshots.

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?