Specs and cost for postgres?

I am playing with the service and added a postgres, but I am unclear of its specs and what the pricing for it is. Could anyone point me to some resources to read more on pricing?
37 Replies
Percy
Percy•10mo ago
Project ID: N/A
tansan [chill/build mode]
N/A
Brody
Brody•10mo ago
the specs are the same as what your plan allows for, you are on the trial plan, so I think that's 2vcpu and 512mb of ram and usage is calculated the same as it would be for your services https://railway.app/pricing
tansan [chill/build mode]
So if I had a web app, redis, postgres, and potentially some workers then it would all compete for the same resource?
Brody
Brody•10mo ago
no, each service or plugin would get dedicated resources but of course, that means depleting your 5$ trial credits faster
tansan [chill/build mode]
How much would they get?
Brody
Brody•10mo ago
as I've previously stated, I think it's 2 vcpu and 512mb of ram
tansan [chill/build mode]
Am I think about this wrongly? It sounds like to me that I get a server with some resources and I can install any services on there. They all just share the same ram, cpu, etc... In this case, I am on this plan: 512 MB of RAM, 1 GB of Disk, and 2 vCPU The part that confused me is when you said each plugin would get dedicated resources:
no, each service or plugin would get dedicated resources
So if I spin up 5 postgres then does each service get 512 MB of RAM, 1 GB of Disk, and 2 vCPU?
Brody
Brody•10mo ago
that's correct but it's not like those resources will be used up, postgres doesn't use all 2vcpu and 512mb of ram, you are only charged for what you use postgres at idle uses like 0.0 vcpu and under 100mb of ram
tansan [chill/build mode]
Got it. I'm not suggesting I am at a scale that needs to be met, but just want to understand the pricing structure. So if my web app needed more than 512mb of ram, then I would essentially have to upgrade to a larger plan to get more resources right?
Brody
Brody•10mo ago
well you are on a trial plan, regardless if you need higher resources or not, you will eventually run out of the trial 5$ credit then you'd have to upgrade to the hobby plan to continue using the platform
tansan [chill/build mode]
Okay, let me rephrase the question. If I am on the hobby plan at $5/m which has 8gb of ram, and let's say I had one service that needed more than 8gb of ram then would I need to upgrade to a larger plan to accommodate that 1 service?
Brody
Brody•10mo ago
that's correct
tansan [chill/build mode]
Got it
Brody
Brody•10mo ago
the next plan up would be the pro plan, with 32gb of ram (and 32 vcpu)
tansan [chill/build mode]
Realistically those specs are more than enough for many things
Brody
Brody•10mo ago
indeed they are
tansan [chill/build mode]
$20/mo/seat Seat = account on railway, correct?
Brody
Brody•10mo ago
correct or a seat could refer to a team member you've paid to be a part of your pro team
tansan [chill/build mode]
okay
Brody
Brody•10mo ago
any other questions? 🙂
tansan [chill/build mode]
Yes, I think I have 1 more question
Brody
Brody•10mo ago
ask away
tansan [chill/build mode]
Is there a way to cap usage? or cap the $ amount per month? Just in case of some dev makes an infinite loop mistake or DDoS of resources or something
Brody
Brody•10mo ago
there is not I've done that myself, an infinite loop bug in code I pushed before bed, woke up the next morning with a usage alert from railway, deployed a fix and usage went back to normal, you are charged per minute, so I probably only costed myself 3$ tl;dr the lack of a usage cap is not nearly as much of a problem as you might think
tansan [chill/build mode]
Oh man infinite loops on AWS lambda and step functions scare the crap out of me if caught too late, rekt But not an applicable scenario here. Are there any scale-to-zero services similar to fly.io machines?
Brody
Brody•10mo ago
and my infinite loop was multiple threaded infinite loops, so i promise, not a big deal railway doesn't have scale to zero at all, manually or automatically
tansan [chill/build mode]
okayokay, cool! thanks for answering all the questions very helpful
Brody
Brody•10mo ago
the equivalent would be removing the active deployment
tansan [chill/build mode]
I've been looking for an alt to render, so might give this a try this week or so
Brody
Brody•10mo ago
I've heard render is expensive
tansan [chill/build mode]
Its a bit. The only thing I liked about it is that its pricing was predictable.
Brody
Brody•10mo ago
railway's hobby plan costs 5$ /month and comes with 5$ you use towards resource usage
tansan [chill/build mode]
It definitely adds up quick though The more i think about it, the more I think railway's model might be better fit for one of my projects really appreciate the quick replies! especially on discord! other hosting services aren't really discord oriented
Brody
Brody•10mo ago
yeah railway's discord is pretty great, if it wasn't me here it would be someone else helping you all the same
tansan [chill/build mode]
thanks again!
Brody
Brody•10mo ago
no problem!
Want results from more Discord servers?
Add your server
More Posts