Shared Volume
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!
Solution:Jump to solution
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
7 Replies
Project ID:
N/A
Solution
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
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
I had mentioned MinIO, I'm not sure how your users would end up paying egress? you would pay the egress
though I feel like I'm missing a whole lot of context here, please fill me in
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?
CMIIW
there are no egress fees for service to service communication via the private network
I see, thank you I will look it up
🫡