a month ago
Hello Railway Support,
We have an active Hobby workspace with several existing services.
We want to run a short, isolated private test consisting of one Python application and one PostgreSQL database.
Our maximum authorised additional usage is $2.
Can Railway enforce a spending limit specifically for this test, without stopping or affecting our other projects?
If not, what is the safest way to run a short test with predictable charges and a reliable shutdown?
Thank you.
1 Reply
a month ago
No, we can't put a spending limit on a single project. Usage hard limits only apply to the whole workspace, at your workspace usage page. The compute hard limit can't go below $10, and when it's reached it stops every service in every project in the workspace, so it would take down your other services too.
For a test with predictable cost, the safest option is to stop it yourself. There's no button that pauses a whole project, so when the test is done, stop the deployment on each service in the test project (the Python app and the Postgres database). You can watch the charges build up on the same usage page while the test runs.
Postgres stores its data on a volume, and volumes keep billing for storage even after the service is stopped. To end all charges for the test, delete the volume (or the whole test project) when you're finished. That deletes the data permanently.
Status changed to Awaiting User Response Railway • about 1 month ago
a month ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • about 1 month ago