Available on the Enterprise plan for supported runners. Contact sales to learn more.
What dual disk preserves
The data disk stores development state across stops and starts:- Repository contents and uncommitted changes under
/workspaces - Docker and containerd image layers used by Dev Containers
- Dev Container build output stored by the container runtime
- Runner-installed environment assets used during startup
How it changes environment restarts
With a single disk, the VM and the environment’s data are tied to the same root disk lifecycle. With dual disk, the VM can be treated as replaceable compute while the environment data remains on a separate provider-managed disk.| Environment state | What happens with dual disk |
|---|---|
| Running | The VM uses a system disk plus a separate data disk. |
| Stopped briefly | The same VM or attached data disk can be reused for a faster restart. |
| Stopped longer | The data disk can be detached and later restored from a snapshot. |
| Deleted | Environment data is permanently removed according to the normal environment deletion lifecycle. |
/workspaces.
Prebuilds and warm pools
Dual disk works with prebuilds and warm pools. For dual disk prebuilds, the prebuild output is captured as a data disk snapshot. New environments then start from the runner’s normal system image plus a data disk created from that snapshot. This keeps prebuilt workspace state, dependencies, and container layers on the data disk while letting the runner use the current system image for the VM. For warm pools, each warm pool instance receives its own data disk from the prebuild snapshot. When a warm pool instance is claimed as a real environment, that data disk becomes the environment’s persistent data source.Runner support
Dual disk is available for Enterprise customers on supported AWS and GCP runners. Existing runners may need to be upgraded before they can create dual disk environments.- For AWS runners, use the latest AWS runner infrastructure and runner version. See Upgrade runner.
- For GCP runners, use the latest Terraform module and runner version. See Upgrade and delete runner.
Relationship to persistent storage
Dual disk is an infrastructure-level improvement to persistent storage. It does not require developers to change where they store files, and it does not replace project-level features such as Dev Container image caching, prebuilds, or warm pools. Use those features together:- Use persistent storage for developer state across stops and starts.
- Use dual disk for more resilient runner-managed storage.
- Use prebuilds and warm pools to reduce startup time.
- Use Dev Container image caching to avoid repeated image builds for the same configuration.
FAQ
Do I need to change my Dev Container configuration?
Do I need to change my Dev Container configuration?
No. Dual disk keeps the same in-environment paths, including
/workspaces, so existing Dev Container configurations continue to work.Does dual disk preserve the VM IP address?
Does dual disk preserve the VM IP address?
Not necessarily. Dual disk preserves environment data, not the identity of the VM. If Ona restarts the same stopped VM, the private IP can remain the same. If Ona replaces the VM and reattaches or restores the data disk, the VM may receive a new private IP.
Does dual disk change environment deletion?
Does dual disk change environment deletion?
No. Deleting an environment still permanently removes its environment data according to the normal deletion lifecycle.