Shared Volume
aalfath
PROOP

2 years ago

Is it possible to have to share a volume to more than 1 services on Railway?

If not, what would be the alternatives?

I have a use-case that needs to share a volume among different services.

I would prefer to use internal volume to avoid egress costs.

Thanks!

12 Replies

2 years ago

railway does not support shared volumes yet, the alternative would be to deploy minio into the project and use an S3 client in the various services that need access to the data


2 years ago

n/a


aalfath
PROOP

2 years ago

if the data is stored in R2/S3, wouldn't it impose egress cost to the user? since the data needs to be downloaded first externally


2 years ago

I had mentioned MinIO, I'm not sure how your users would end up paying egress? you would pay the egress


2 years ago

though I feel like I'm missing a whole lot of context here, please fill me in


aalfath
PROOP

2 years ago

maybe I misunderstood something, but from what I thought (I could be wrong about this), if I use S3 client, wouldn't it mean that my services would have to fetch the data from that S3 instance and then the data would then be relayed to the users? This will double the egress cost as my services has to access the data on S3 first before relaying it to the users?


aalfath
PROOP

2 years ago

CMIIW


2 years ago

there are no egress fees for service to service communication via the private network


aalfath
PROOP

2 years ago

I see, thank you I will look it up


aalfath
PROOP

2 years ago

🫡


javierortegap
PRO

10 months ago

does railway still not support shared volumes? any ETA on this?


javierortegap

does railway still not support shared volumes? any ETA on this?

10 months ago

it still does not and no ETA at the moment. If you're interested in it, make sure to upvote the feedback thread at https://station.railway.com/feedback/shared-volumes-a4053215


Loading...