Deploy my app on Railway (Cost)
Hello,
Actually I have an API made with Nodejs + Express about Real Estate so I wanna recommendation about how much gonna cost me put my API in Railway so my API have Image support as well and I have to create a mysql database as well but I have to create to my client a Budget but I don't understand so much about pricing and stuff.
Can someone help me?
21 Replies
Project ID:
N/A
N/A
pricing is usage based, its not a fixed cost
the only fixed cost is the 5$ fee
you can see your estimated bill in the usage account page
https://railway.app/account/usage
Okay so it's recommend to put my API and test how much consume in Railway for 1 day/
id say a week min for a good number
but maybe you push some new code with an unknown memory leak, your costs would increase
railway sents you reasouse usage alerts, but your costs would still go up just a bit if you dont catch it
Okay but i'm little bit confuse with the database for example if i have a table with 14k register and another one with 160 register it's cost a lot in mysql.
??
That table use sensible data for the existing project for example all the Sector and cities in the based country.
well databases are subject to the same cost calculation as services are, cost is not based on tables or amount of sql queries, they are based on cpu and mem usage the same as services are
database costs would be included in the estimated cost number
Thanks so I'm going to close this issue. I was confused..
no worries, i hope i cleared your confusion?
(side note, we dont really close posts, we just mark them as solved)
Maybe so I'm gonna test it for a month like you said and after that I'll tell you.
sounds good!
@Brody I have a doubt, after i deploy the API for example if i create a new endpoint and I have like image uploaded in the server because my API use multer so it's gonna delete all or no and it's possible make backup of your data in the server?
you will want to use a storage volume for that as the containers storage is empherial
How i can do that
So my API i have to mount in a Volume?
Or create another API which return the URL of the file back before upload it?
please read the docs, and see my example code
Now i got... If i have a folder called public so i have to link the volume to that folder.. π€©ππ½
mount to something like /data
Thanks now i got much clearly...
no problem!