How do I share a disk between services?

I have a web service that writes uploaded files to disk and publish a message that gets picked up by a background worker. I have background workers that listen to and has to read the same file. How do I share the disk?

Using a disk from multiple services isn’t supported yet, we do have a feature request for this. If you upvote the feature you’ll get notified when the status changes.

Is this still not supported? It feels really obvious to me that a background worker would have access to files that get used an api for example, for large uploads and processing. Am I just missing documentation for this?

Hi there,

Sharing a disk between services is not supported; your best workaround for this would be to use object storage like Amazon S3and store the object so it’s accessible by all your services.

Launching our own object storage solution is still a much-requested feature https://feedback.render.com/features/p/cloud-object-storage

Regards,

John B

1 Like

Yeah I ended up setting up a minio services to handle this. Thanks!