7 months ago
Please add a simple feature to pause a service.
Having to delete deployments every time is counterproductive, adds too much friction and in the end consumes more resources from the Railway server.
We should be able to pause a service to make it go offline but keeping all settings for various reasons:: stop incurring costs, hide it from the web temporarily, making breaking updates, testing other services, etc.
Thank you
6 Replies
7 months ago
One solution I found is deleting the Public Networking domain, but it's still cumbersome.
I would like to keep everything as is, just disable/enable the service entirely.
7 months ago
You can simply remove the latest deploy from the dashboard, and redeploy when you need the service back up.
I'd also recommend looking into serverless: https://docs.railway.com/reference/app-sleeping which sleeps the service when there's no traffic
Status changed to Awaiting User Response Railway • 7 months ago
7 months ago
Okay thanks, but those are still workarounds for the pause...
Could you relay this request (which has been made by multiple users) to the product or development team? It would be appreciated
Status changed to Awaiting Railway Response Railway • 7 months ago
7 months ago
This is not a workaround - this is how you scale to 0 on railway.
If you wish to make a feature request, please open a feedback thread.
Status changed to Awaiting User Response Railway • 7 months ago
7 months ago
But I don't actually wish to scale to 0 which means it's just gonna pause while there are no requests, right?
I would like to freeze the service entirely indefinitely.
Alright, thank you
Status changed to Awaiting Railway Response Railway • 7 months ago
7 months ago
Ya so "scale to 0, scale back up" would be serverless;
If you want to "pause" (scale to 0 and don't scale back up" then remove the deploy 
Status changed to Awaiting User Response Railway • 7 months ago
Status changed to Solved devguilhermy • 7 months ago