Storage types
Container volume
A worker’s container volume holds temporary storage that exists only while a worker is running, and is completely lost when the worker is stopped or scaled down. It’s created automatically when a Serverless worker launches and remains tightly coupled with the worker’s lifecycle. Container volumes provide fast read and write speeds since they are locally attached to workers. The cost of storage is included in the worker’s running cost, making it an economical choice for temporary data. Any data saved by a worker’s handler function will be stored in the container volume by default. To persist data beyond the current worker session, use a network volume or S3-compatible storage.Network volume
Network volumes provide persistent storage that can be attached to different workers and even shared between multiple workers. Network volumes are ideal for sharing datasets between workers, storing large models that need to be accessed by multiple workers, and preserving data that needs to outlive any individual worker. To learn how to create and use network volumes, see Network volumes.S3-compatible storage integration
Runpod’s S3 integration works with any S3-compatible storage provider, not just AWS S3. You can use MinIO, Backblaze B2, DigitalOcean Spaces, and other compatible providers.
Storage comparison table
Feature | Container Volume | Network Volume | S3-Compatible Storage |
---|---|---|---|
Persistence | Temporary (erased when worker stops) | Permanent (independent of workers) | Permanent (external to Runpod) |
Sharing | Not shareable | Can be attached to multiple workers | Accessible via S3 credentials |
Speed | Fastest (local) | Fast (networked NVME) | Varies by provider |
Cost | Included in worker cost | $0.05-0.07/GB/month | Varies by provider |
Size limits | Varies by worker config | Up to 4TB self-service | Varies by provider |
Best for | Temporary processing | Multi-worker sharing | Very large files, external access |