How can we set up a project based on this template the serverless way?
inbusco
HOBBYOP

7 months ago

EDIT: template used: https://station.railway.com/templates/n8n-w-workers-6e5e2556
I'm just playing around with this project testing n8n and found that even if I set all 4 containers to serverless, project still doesn't "go to sleep", some internal traffic is generated which keeps it alive.
The estimated cost is $ 12+, but I'd like to stay inside the limits of Hobby plan as of now.
Especially Worker and Primary are consuming a lot of memories, $ 11+
So how can we "deactivate" an entire project, instead of going serverless by containers?

Solved

3 Replies

echohack
EMPLOYEE

7 months ago

Hey there inbusco,

If you just want to turn off your deployments, you can click the ... next to your deployment and click Remove. That will remove the deployment and you won't be charged.


Status changed to Awaiting User Response Railway 7 months ago


echohack

Hey there inbusco,If you just want to turn off your deployments, you can click the ... next to your deployment and click Remove. That will remove the deployment and you won't be charged.

inbusco
HOBBYOP

7 months ago

Thanks, but I want to keep my data ( with paying for that ), so thats not the solution I look for.


Status changed to Awaiting Railway Response Railway 7 months ago


echohack
EMPLOYEE

7 months ago

Hey inbusco,

Deployments are stateless so your data will be gone when they redeploy. We occassionally automatically redeploy stateless workloads for capacity reasons. You will want to move any data you're storing on stateless containers to Volumes ASAP. (This is true of any container anywhere)

If you want to save your data you need to attach a Volume and store your data on the mount. A database or object store (like minio) is ideal for this.


Status changed to Awaiting User Response Railway 7 months ago


Status changed to Solved inbusco 7 months ago


Loading...