Storage question
stauersbol
PROOP

2 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?

0 Replies

stauersbol
PROOP

2 years ago

N/A


brody
EMPLOYEE

2 years ago

nope

1220780854230388700


stauersbol
PROOP

2 years ago

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


stauersbol
PROOP

2 years ago

As the docs says


stauersbol
PROOP

2 years ago

1220781053292183600


brody
EMPLOYEE

2 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
PROOP

2 years ago

Oh perfect!


stauersbol
PROOP

2 years ago

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


stauersbol
PROOP

2 years ago

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


brody
EMPLOYEE

2 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
PROOP

2 years ago

Alright sounds good


stauersbol
PROOP

2 years ago

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


stauersbol
PROOP

2 years ago

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


stauersbol
PROOP

2 years ago

since its mostly for storing reference things


passos
MODERATOR

2 years ago

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


brody
EMPLOYEE

2 years ago

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


stauersbol
PROOP

2 years ago

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


stauersbol
PROOP

2 years ago

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


passos
MODERATOR

2 years ago

wait, for the database or the images?


stauersbol
PROOP

2 years ago

database can sit externally outside of Railway


stauersbol
PROOP

2 years ago

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


passos
MODERATOR

2 years ago

ah ok didn't read that


brody
EMPLOYEE

2 years ago

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


stauersbol
PROOP

2 years ago

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


stauersbol
PROOP

2 years ago

ah yeah true


passos
MODERATOR

2 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


passos
MODERATOR

2 years ago

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


stauersbol
PROOP

2 years ago

yes that might be the plan



stauersbol
PROOP

2 years ago

This is their actual docs for it


stauersbol
PROOP

2 years ago

But yeah its pretty simple


brody
EMPLOYEE

2 years ago

yeah ive set directus up with cloudflare r2, very easy


stauersbol
PROOP

2 years ago

do you find it better than storaging locally?


stauersbol
PROOP

2 years ago

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


passos
MODERATOR

2 years ago

cloudflare's CDN is extremely useful


passos
MODERATOR

2 years ago

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


passos
MODERATOR

2 years ago

and pricing is way cheaper


brody
EMPLOYEE

2 years ago

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


stauersbol
PROOP

2 years ago

ah alright then I might as well choose that


stauersbol
PROOP

2 years ago

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


stauersbol
PROOP

2 years ago

and I don't want to go AWS


stauersbol
PROOP

2 years ago

so I'll probably just do R2


passos
MODERATOR

2 years ago

nah, get away from GCP


passos
MODERATOR

2 years ago

R2 is the easiest and cheaper, it just works


stauersbol
PROOP

2 years ago

yeah and I get the benefit of Cloudflares CDN


stauersbol
PROOP

2 years ago

Alright perfect!


stauersbol
PROOP

2 years ago

Thank you!


stauersbol
PROOP

2 years ago

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


brody
EMPLOYEE

2 years ago

we dont close threads 🙂


passos
MODERATOR

2 years ago

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


passos
MODERATOR

2 years ago

that discord bot disappeared


stauersbol
PROOP

2 years ago

or sorry


brody
EMPLOYEE

2 years ago

no it didnt


stauersbol
PROOP

2 years ago

mark as solved


passos
MODERATOR

2 years ago

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


passos
MODERATOR

2 years ago

before it appeared in the apps section


brody
EMPLOYEE

2 years ago

correct


stauersbol
PROOP

2 years ago

I don't either


brody
EMPLOYEE

2 years ago

only mods / admins can mark as solved


stauersbol
PROOP

2 years ago

ah okay!


passos
MODERATOR

2 years ago

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


Loading...