Persistent, portable storage for Pods.
Network volumes offer persistent storage that exists independently of the lifecycle of a Pod. This means your data is retained even if a Pod is terminated. They can be attached to multiple Pods (though not simultaneously to multiple running Pods), making them ideal for sharing data, transferring storage between machines, or maintaining datasets.
When attached to a Pod, a network volume replaces the Pod’s default disk volume and is typically mounted at /workspace
.
For a comparison with other storage types, see Storage options.
If your account lacks sufficient funds to cover storage costs, your network volume may be terminated. Once terminated, the disk space is immediately freed for other users, and Runpod cannot recover lost data. Ensure your account remains funded to prevent data loss.
Consider using a network volume when you need:
Network volumes are only available for Pods in the Secure Cloud. For more information, see Pod types.
To create a new network volume:
Navigate to the Storage page in the Runpod console.
Select New Network Volume.
Configure your volume:
Network volume size can be increased later, but cannot be decreased.
Select Create Network Volume.
You can edit and delete your network volumes using the Storage page.
Network volumes must be attached during Pod deployment. They cannot be attached to a previously-deployed Pod, nor can they be unattached later without deleting the Pod.
To deploy a Pod with a network volume attached:
Data from the network volume will be accessible to the Pod from the volume mount path, which is set to /workspace
by default. Use this directory to upload, download, and manipulate data, and share it with other Pods.
You can attach a network volume to multiple Pods, allowing them to share data seamlessly. Multiple Pods can read files from the same volume concurrently, but you should avoid writing to the same file simultaneously to prevent conflicts or data corruption.
Network volumes are backed by high-performance storage servers co-located with Runpod GPU servers. These are connected via high-speed networks and use NVMe SSDs for optimal performance, but data transfer speeds can vary widely based on location and network conditions (200-400MB/s, up to 10GB/s).
Using network volumes provides significant flexibility that can lead to cost savings, especially if you need to frequently switch between Pods or share large datasets.
Network volume storage space costs less than for disk volumes ($0.07/GB/month rather than $0.10/GB/month), and storing data on a network volume can save you money compared to provisioning separate disk space for multiple Pods (even with just two Pods sharing one volume).
For a deeper dive into potential benefits, read this blog article on network volumes.