Programaticalply Deploying User-Generated Apps to Railway with Resource Limits

Hello !

We're developing a 'deploy to cloud' feature for our low-code platform, allowing users to quickly demo their applications. We're considering using Railway for this, and we have a few key requirements:

  1. CLI-Driven Deployment: Everything needs to be done via the Railway CLI, as it will be executed from our platform's scripts.

  2. User Isolation: Each user's deployed app must be completely isolated (resources, databases, etc.).

  3. Resource/Money Limits: We need to impose per-user and/or time-based limits for demo purposes, without affecting other users.

We're thinking of creating a separate Railway project for each user. Is this the best approach? How can we effectively manage resource limits using the CLI? Any advice on best practices for this type of setup would be greatly appreciated

Basically, I was wondering how close can Railway (and its CLI) gets us to the feature we want to implement and, if it can, how.

Thanks!

Solved

1 Replies

I would use the API, and you can indeed use a new project to isolate the env for each user.


Status changed to Awaiting User Response Railway 11 months ago


Railway
BOT

7 months 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 7 months ago


Loading...