tanosaur
Urgent: Where to purchase Railway credits? Credits expiring soon
Hi there, Received an email saying we are low in credits. Our service has to be up continually. I can't find where to purchase more credits? Says here that it's on our billing page, can't see anywhere. https://docs.railway.app/reference/pricing/plans If we run out of credits, will we simply just be charged for usage on our connected credit card?
12 replies
Railway not upgrading?
I use the Homebrew installation. I've been updating my packages via 'brew update' and 'brew upgrade' but so far none of these commands have been able to upgrade Railway.
When I run Railway, it tells me there is a new version available.
7 replies
Storing string between Node.js server deploys
What's the best way on Railway to store a string that has to be accessed between server deployments? The string is created as an output of a daily cron. I thought:
- Database - overkill?
- Shared environment variable - how do we set this though programatically after my cron has run?
4 replies
When does the Network metric reset?
From what I can see the Network metric is cumulative, so the MBs add up over time and tend to ramp up. My confusion is to when this resets? Else it would ramp up forever?
I know we also have a soft limit of 100GB outbound bandwidth - what time period is this over? 100GB/day?
8 replies
How many instances of my Node.js server?
In my project, I just have 1x HTTP Node.js webserver. I'd like to clarify: Is there just 1x instance of the server running?
This is as I have a cron job that runs once an hour. It's important for me to know whether it's just running once per hour. If there are multiple servers, it might run twice as much as I think it does!
If I then install a horizontal scaler and it scales my Node.js webserver to 2x units, is it then running exactly 2 servers? Do servers ever reboot other than what is set in the settings (mine is set to restart on failure)?
9 replies
Heroku to Railway: Want to switch but scared of freak scenario of rampant costs due to code error
Hi there, I've heard some stories of people racking up huge costs on pay-per-usage services due to erroneous code. I'd like to understand how common this situation is. Is this difficult to do on Railway?
For context, I am a beginner full-stack developer. My application will be quite small-sized with <2k users. Node.js/Express/MongoDB. Provided I follow relatively good code practice, is this hard to do? Any relevant search terms/articles appreciated.
11 replies
Cap cost
Hi there, Is there a way we can set a cap to our cost on Railway? I understand that it's 'pay for what you use', but we would like to avoid any surprises (such as in the unlikely scenario that something accidentally racks up a massive usage). Or otherwise is it easy to chat with Railway support to help resolve any instances of this should this occur?
5 replies
MongoDB
This is a very noob question. I'm understanding my pricing before getting started. Do I still have to host my MongoDB database in Atlas and consider their pricing https://www.mongodb.com/pricing on top of Railway's costs? Or does the Railway MongoDB service host my database for me?
11 replies