Skip to content
Storage question
stauersbol
OP

3 years ago

I'm unsure if this is the correct place, but I had a question.

When I see the usage dashboard, it says there is 100GB Shared Disk storage, if I upgrade to Pro plan would this number increase?

Closed

61 Replies

stauersbol
OP

3 years ago

N/A



stauersbol
OP

3 years ago

Alright thank you, so it just scales with usage then when you go above?


stauersbol
OP

3 years ago

As the docs says


stauersbol
OP

3 years ago


3 years ago

its a soft limit yes, meaning you going above the shared disk limit means the sales guy will likely be in your inbox, but are you sure you arent interested in volumes?


stauersbol
OP

3 years ago

Oh perfect!


stauersbol
OP

3 years ago

Was just doing some research as I'm considering moving some infrastructure I have on a VPS over


stauersbol
OP

3 years ago

as I want to possibly deploy it in a different region than its current location


3 years ago

sounds good, if what you are storing is temporary in nature, then the shared disk is what you would use, if what you are storing requires persistence, you would need to use a volume (50gb per service for pro)


stauersbol
OP

3 years ago

Alright sounds good


stauersbol
OP

3 years ago

Well it will be a storage bucket for images that varies in sizes and a database on the side also


stauersbol
OP

3 years ago

but the database is not a must to be in the same region anyways


stauersbol
OP

3 years ago

since its mostly for storing reference things


3 years ago

i would use cloudflare r2 for this, removes the pricing of bandwidth in Railway


3 years ago

i could be wrong, but isnt there a balance depending on how much you store, egress vs. volume costs


stauersbol
OP

3 years ago

the images has a variance in size(mb) and its not a lot we are talking about


stauersbol
OP

3 years ago

but yes the egress pricing could be a problem long term, though there is a redis cache that sits in between


3 years ago

wait, for the database or the images?


stauersbol
OP

3 years ago

database can sit externally outside of Railway


stauersbol
OP

3 years ago

the images are gonna be sitting in a storage bucket of sorts that Directus uses internally


3 years ago

ah ok didn't read that


3 years ago

if you run you database outside of railway then you would be subjecting yourself to extra egress fees


stauersbol
OP

3 years ago

though I can configure a S3, R2 or something of the like to be used


stauersbol
OP

3 years ago

ah yeah true


3 years ago

as i suggested, can't you just use cloudflare r2? configuration is really simple

https://www.restack.io/docs/directus-knowledge-directus-aws-s3-integration


3 years ago

and cloudflare doesn't charge egrees fees so it would be fine


stauersbol
OP

3 years ago

yes that might be the plan



stauersbol
OP

3 years ago

This is their actual docs for it


stauersbol
OP

3 years ago

But yeah its pretty simple


3 years ago

yeah ive set directus up with cloudflare r2, very easy


stauersbol
OP

3 years ago

do you find it better than storaging locally?


stauersbol
OP

3 years ago

since this is only for file uploads and nothing else aka images only


3 years ago

cloudflare's CDN is extremely useful


3 years ago

and i would use it just by the pricing + you wouldn't worry about reaching Railway's volume limit


3 years ago

and pricing is way cheaper


3 years ago

well you can't easily backup the railway volumes, and thats why i went with r2


stauersbol
OP

3 years ago

ah alright then I might as well choose that


stauersbol
OP

3 years ago

I did also look at GCP, but they are somewhat pricey


stauersbol
OP

3 years ago

and I don't want to go AWS


stauersbol
OP

3 years ago

so I'll probably just do R2


3 years ago

nah, get away from GCP


3 years ago

R2 is the easiest and cheaper, it just works


stauersbol
OP

3 years ago

yeah and I get the benefit of Cloudflares CDN


stauersbol
OP

3 years ago

Alright perfect!


stauersbol
OP

3 years ago

Thank you!


stauersbol
OP

3 years ago

Still can't close this myself for some odd reason, so someone please do it 😂


3 years ago

we dont close threads 🙂


3 years ago

i don't even know if it's possible anymore


3 years ago

that discord bot disappeared


stauersbol
OP

3 years ago

or sorry


3 years ago

no it didnt


stauersbol
OP

3 years ago

mark as solved


3 years ago

weird, maybe i don't have permission for it?


3 years ago

before it appeared in the apps section


3 years ago

correct


stauersbol
OP

3 years ago

I don't either


3 years ago

only mods / admins can mark as solved


stauersbol
OP

3 years ago

ah okay!


3 years ago

well there it is, just give me admin, problem solved


Welcome!

Sign in to your Railway account to join the conversation.

Loading...