/workspace.
For a comparison with other storage types, see Storage options.
When to use a network volume
Consider using a network volume when you need:- Persistent data that outlives individual Pods: Keep your data safe and accessible even after a Pod is terminated.
- Shareable storage: Use the same data across different Pods. While a network volume can be attached to multiple Pod configurations, it can only be actively used by one running Pod at a time to prevent data corruption. You should typically stop a Pod before attaching its network volume to a new Pod.
- Portable storage: Easily move your working environment and data to a different Pod, perhaps in a different GPU pool if your preferred option isn’t available.
- Efficient data management: Store frequently used models or large datasets to avoid re-downloading them for each new Pod, saving time and bandwidth.
Network volumes are only available for Pods in the Secure Cloud. For more information, see Pod types.
Create a network volume
To create a new network volume:- Navigate to the Storage page in the RunPod console.
- Select New Network Volume.
-
Configure your volume:
- Select a datacenter for your volume. Datacenter location does not affect pricing, but the datacenter location will determine which GPU types your network volume can be used with.
- Provide a descriptive name for your volume (e.g., “project-alpha-data” or “stable-diffusion-models”).
- Specify the desired size for the volume in gigabytes (GB).
- Select Create Network Volume.
Attach a network volume to a Pod
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.
- Navigate to the Pods page.
- Select Deploy.
- Select Network Volume and select the network volume you want to attach to the Pod from the dropdown list.
- Select a GPU type. The system will automatically tell you which Pods are available to use with the selected network volume.
- Select a Pod Template.
- If you wish to change where the volume mounts, select Edit Template and adjust the Volume Mount Path.
- Configure any other fields as you normally would, then select Deploy On-Demand.
/workspace by default. Use this directory to upload, download, and manipulate data, and share it with other Pods.