R
Railway

✋|help

Deploy my app on Railway (Cost)

Zz3r0j8/24/2023
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?
Zz3r0j8/24/2023
N/A
BBrody8/24/2023
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
Zz3r0j8/24/2023
Okay so it's recommend to put my API and test how much consume in Railway for 1 day/
BBrody8/24/2023
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
Zz3r0j8/24/2023
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.
BBrody8/24/2023
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
Zz3r0j8/24/2023
Thanks so I'm going to close this issue. I was confused..
BBrody8/24/2023
no worries, i hope i cleared your confusion?
(side note, we dont really close posts, we just mark them as solved)
Zz3r0j8/24/2023
Maybe so I'm gonna test it for a month like you said and after that I'll tell you.
BBrody8/24/2023
sounds good!
Zz3r0j8/25/2023
@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?
BBrody8/25/2023
you will want to use a storage volume for that as the containers storage is empherial
Zz3r0j8/25/2023
How i can do that
Zz3r0j8/25/2023
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?
BBrody8/25/2023
please read the docs, and see my example code
Zz3r0j8/25/2023
Now i got... If i have a folder called public so i have to link the volume to that folder.. 🤩🙏🏽
BBrody8/25/2023
mount to something like /data
Zz3r0j8/25/2023
Thanks now i got much clearly...
BBrody8/25/2023
no problem!

Looking for more? Join the community!

Recommended Posts
How do you add a worker to a Procfile?It seems that Railway only accepts "web", so how can I add a "worker" to a Procfile?Cannot create code snapshot right nowUnable to deploy across multiple services, both using CLI and branch-triggered deploys. The deploy lhosting fivem (https://fivem.net) server on railwaywould it be possible to host fivem on railway? there is linux binaries for hosting the server. is thHelp configuring express app for use with storage volumeHi, I hope this is the right forum for this question. I have an express app that is using middlewareNo waiving of $5 dollar fee, even though qualified.Can someone clarify the rules for having the fee waived? Based on the blog article from Railway, my Environment Merging Doesn't WorkI created a new project and accidentally started an environment fork / merge thing. Now my staging hHow to remove files/foldersHi, im new in railway and i have to remove my node_modules folder because i get some issues. It seemcan't access deployed serviceSeems deployment completed when trying to access can't open page displayed. Tried with https://whizsAfter redeploying, I lost the uploaded images in the directoryAfter redeploying, I lost the uploaded images in the directory. My project uses Spring Boot v3.1.2 +help gettiing www subdomain wokringI have had a long discussions with railway team on working of www subdomain on my account ssdo.org.pSimple next.js build faildeployment ID 6b59c99d-f9d1-42bb-9733-67e02909cdc5 Repo: https://github.com/ballermatic/nextjs-shadcDatabase credentialsHello, my Railway starter plan has expired and I want to make a copy of my postgres database but iRunning python script [userbot]Hello so I have this python script that is used to automate something with email account can i use I need help on deploying my development database to production without losing any dataI mistakenly ran the command `npx prisma migrate dev` on my production env but did not accept when tNpgsql.npgsqlException (0x80004005) Failed to connect to 76.76.21.21:5432Hi! im trying to connect to an ASP.Net core 6 to railway.app for the first time and i receive the inDeploying for the first timeHi, I am new to railroad and I am trying to deploy my flask app. I am getting this error: ``` DockI can't seem to be able to use the mariadb app i'm running in my PHP projectI want to be able to connect my mariadb app deployed on railway in my PHP script but when I try to uRailway too slowI have an issue with my railwat app. The app is too slow once update my github project. Making it alTrying to communicate over private network and not workingI have a service that has just private networking enabled and listens on ipv6 (http server). When I How is Redis instance pricing calculatedDoes the per vCPU and per GB memory pricing apply to a Redis database? Would like to know before I s