R
Railwayβ€’14mo ago
Dayblox

Database pricing

If I spin up a standalone database, get some amount of traffic, depending on what resources and prices will I be charged? If I understand correctly, it would be CPU, RAM, Network egress, and $0,25 per GB per month. Am I right? Can you provide real life examples of usage?
Solution:
I'd like to note egress is only traffic going out, you are not charged for incoming traffic (ingress) and furthermore, if you communicate with your database exclusively through the private network then there will be zero network costs, you are not charged for any network traffic within the private network
Jump to solution
23 Replies
Percy
Percyβ€’14mo ago
Project ID: N/A
Dayblox
Daybloxβ€’14mo ago
N/A
Brody
Brodyβ€’14mo ago
yes you would be charged (every billing cycle) you do get 5$ in credits though. databases are subject to the exact same resource pricing as everything else, 10$ per 1gb mem, 20$ per 1 vcpu, etc etc
Dayblox
Daybloxβ€’14mo ago
Just wondering about how the resources usage is typically distributed. For instance, the database pricing example does not indicate how much persistent storage is used.
No description
Brody
Brodyβ€’14mo ago
how much persistent storage used is going to be vastly different from user to user you are only charged minutely, so if what you're doing ends up using more resources than you'd like you can shut down the stuff and only pay for what you used
Dayblox
Daybloxβ€’14mo ago
Agreed
Brody
Brodyβ€’14mo ago
so unfortunately I don't have any metrics and costs to show you as all my databases sit idle
Dayblox
Daybloxβ€’14mo ago
True, but I found myself thinking about what would be cheaper between different database hosting services, and wanted to log my thoughts here for others to easily find No worries πŸ‘Œ If anyone has some real life metrics, I won't say no!
Brody
Brodyβ€’14mo ago
hopefully someone can come by with metrics of databases in use, might be helpful to state what database you are interested in
Dayblox
Daybloxβ€’14mo ago
I'll take any database for future readers comparison basis
Floris
Florisβ€’14mo ago
hey i have one running so ill check it out when im home (1-2hrs approx) im pretty sure you are only billed for the bandwidth of GBs leaving or entering your database so when it's idle you should be fine as the plan gives you some gbs shared storage
Dayblox
Daybloxβ€’14mo ago
That would be surprising
Floris
Florisβ€’14mo ago
woops im a monkey so disk volumes carry 2 costs: Egress (like brody said) data leaving/entering: $0.10 / GB Disk (idle too even when deploy is off): $0.00000579 / GB / Minute so to store 5gb disk for a whole month: 0.00000579 * 5 * 60 * 24 * 30 = 1.25$ i believe this is correct
Dayblox
Daybloxβ€’14mo ago
You're missing a x24 in there but it seems correct for a database with no activity With an active database, wouldn't you get memory and cpu usage aswell?
Floris
Florisβ€’14mo ago
oops If you are running the deploy then yes ofcourse! but if your deploy is offline however data is still retained then its only these if youre deployed it's those + cpu & ram
Dayblox
Daybloxβ€’14mo ago
Agreed Is your database active?
Solution
Brody
Brodyβ€’14mo ago
I'd like to note egress is only traffic going out, you are not charged for incoming traffic (ingress) and furthermore, if you communicate with your database exclusively through the private network then there will be zero network costs, you are not charged for any network traffic within the private network
Brody
Brodyβ€’14mo ago
as you've probably seen, you can now sleep your database, during sleep you won't be charged for any cpu/mem but you would still be charged for the volume storage of course
Floris
Florisβ€’14mo ago
internal none?? so from service to service would only cost me disk volume ?
Dayblox
Daybloxβ€’14mo ago
Disk volume Memory CPU Just no network egress Hey @Brody ! Since you've been quite helpful today, I thought l'd try my luck The docs say to reach out if we need more db space, l'd like to know how that works!
Brody
Brodyβ€’14mo ago
railway has been going through a lot of changes fast, thus the docs are slightly out of date, the hobby plan is limited to 5gb volumes and the pro plan is limited to 50gb volumes, so if you wanted more spcae for your databases you would want to upgrade to pro, and then if 50gb is still not enough thats when you can email the team and work on how much more storage you want and what it would cost at this time 5gb is the limit per volume, the team may look into increasing it in the future
Dayblox
Daybloxβ€’14mo ago
Hope they do! And love all the new features and the trend
Brody
Brodyβ€’14mo ago
train hasn't stopped yet πŸ˜‰
Want results from more Discord servers?
Add your server