Persistent, portable storage for Serverless workers.
Network volumes offer persistent storage that exists independently of the lifecycle of a Serverless worker. This means your data will be retained even if a worker is stopped or your endpoint is deleted.
Network volumes can be attached to multiple Serverless endpoints, making them ideal for sharing data, or maintaining datasets between workers.
When attached to a Serverless endpoint, a network volume is mounted at /runpod-volume
within the worker environment.
Network volumes are billed hourly at a rate of $0.07 per GB per month for the first 1TB, and $0.05 per GB per month for additional storage beyond that.
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 your endpoints needs:
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.
To enable workers on an endpoint to use a network volume:
Data from the network volume will be accessible to all workers for that endpoint from the /runpod-volume
directory. Use this path to read and write shared data in your handler function.
Writing to the same network volume from multiple endpoints/workers simultaneously may result in conflicts or data corruption. Ensure your application logic handles concurrent access appropriately for write operations.
To manage files in your network volume (for example, to upload large models used by your workers), use the RunPod S3-compatible API.
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 with Serverless provides significant flexibility and can lead to improved performance and cost savings: