20 days ago
Hello Railway Team,
We are preparing a safe staging deployment for a Python application using SQLite and an external Windows worker that continuously polls HTTP endpoints.
Current environment
- Project: genspicy-staging
- Environment: staging
- Service: genspicy-web
- Plan: Free
- One running service instance
- One public Railway domain and a private Railway network hostname
We need to temporarily prevent new jobs from being created or claimed while allowing existing jobs to complete safely.
Our current Railway plan does not support Edge Rules. We have not changed any resources.
Questions:
-
Which Railway plans support path-specific Edge Rules, and what is the minimum upgrade cost?
-
Do Edge Rules also protect traffic through
railway.internal, or can private-network requests bypass these restrictions? -
Is there a supported way to restrict specific HTTP endpoints across both public and private networking without changing application code?
-
Does Railway offer a way to monitor or drain in-flight HTTP requests before a deployment or maintenance operation?
-
What is the lowest-cost supported solution for this scenario, preferably without upgrading?
-
Can path-specific restrictions return HTTP 429 for the job-claim endpoint while leaving heartbeat, start, result and failure-reporting endpoints unaffected?
-
Can these restrictions be applied without restarting or redeploying the service? What propagation guarantees exist, and how can we confirm previously admitted requests have finished?
Our priority is to protect active tasks, prevent data loss, and avoid interrupting the existing worker.
Please provide official documentation or recommended implementation guidance where possible.
We are requesting technical clarification only. Please do not change our Railway resources.
Thank you!
13 Replies
20 days ago
Edge rules can do the job-claim part: a Block rule matches a path (exact or wildcard) and can return any status from 400 to 499, including 429 with a custom body. Rules only affect the paths they match, so your heartbeat, start, result and failure endpoints keep working. You need a public domain and a plan that includes edge rules, and the rule editor in the service's Settings > Edge > Edge Rules shows your plan's limit. Saving rules doesn't redeploy or restart the service, and saved changes reach our edge locations within a few seconds. See Edge rules.
Edge rules only apply to traffic that comes through the edge. Private networking (*.railway.internal) skips the edge completely, so internal requests aren't filtered. Edge rules can't restrict an endpoint on the private network.
We don't have a feature that shows in-flight requests or pauses a running service until they finish. During a redeploy, the old deployment gets a shutdown grace period that you set with RAILWAY_DEPLOYMENT_DRAINING_SECONDS, and it defaults to 0 seconds. You can use the service's HTTP logs to see which requests reached the service and when they completed, by path and status. Those logs cover public-domain traffic only.
Your worker connects through the public domain, so path-based edge rules are the only option here that doesn't need code changes. If you don't upgrade, you'd need to add a pause switch inside your application.
Status changed to Awaiting User Response Railway • 20 days ago
Railway
Edge rules can do the job-claim part: a Block rule matches a path (exact or wildcard) and can return any status from 400 to 499, including 429 with a custom body. Rules only affect the paths they match, so your heartbeat, start, result and failure endpoints keep working. You need a public domain and a plan that includes edge rules, and the rule editor in the service's **Settings > Edge > Edge Rules** shows your plan's limit. Saving rules doesn't redeploy or restart the service, and saved changes reach our edge locations within a few seconds. See [Edge rules](https://docs.railway.com/networking/edge-rules). Edge rules only apply to traffic that comes through the edge. Private networking (`*.railway.internal`) skips the edge completely, so internal requests aren't filtered. Edge rules can't restrict an endpoint on the private network. We don't have a feature that shows in-flight requests or pauses a running service until they finish. During a redeploy, the old deployment gets a shutdown grace period that you set with `RAILWAY_DEPLOYMENT_DRAINING_SECONDS`, and it defaults to 0 seconds. You can use the service's HTTP logs to see which requests reached the service and when they completed, by path and status. Those logs cover public-domain traffic only. Your worker connects through the public domain, so path-based edge rules are the only option here that doesn't need code changes. If you don't upgrade, you'd need to add a pause switch inside your application.
19 days ago
Thanks for the clarification. We still need human guidance on safely upgrading the existing service on the Free plan without interrupting active jobs. Edge Rules are unavailable on our plan, private traffic bypasses them, and we cannot verify in-flight request completion. Is there a supported safe bootstrap procedure for this specific situation? We want to upgrade the existing service, not create a new one.
Status changed to Awaiting Railway Response Railway • 19 days ago
19 days ago
We don't have a dedicated bootstrap or drain procedure for this; the available pieces are the ones below.
Edge Rules are available from the Hobby plan, which allows up to 3 rules per service (Pro allows 5). Plan changes are made from your workspace plans page, and Edge Rules also need to be turned on in your account feature flags before the section appears in the service's Settings > Edge.
After that, adding a Block rule for the job-claim path doesn't redeploy or restart the existing service, so the worker's in-progress heartbeat, start, result and failure calls through the public domain keep going. You can then watch the service's HTTP logs until no new claim requests reach the service and the active jobs have reported their results. Private-network traffic still isn't covered by Edge Rules.
Status changed to Awaiting User Response Railway • 19 days ago
Railway
We don't have a dedicated bootstrap or drain procedure for this; the available pieces are the ones below. Edge Rules are available from the Hobby plan, which allows up to 3 rules per service (Pro allows 5). Plan changes are made from your [workspace plans page](https://railway.com/workspace/plans), and Edge Rules also need to be turned on in your [account feature flags](https://railway.com/account/feature-flags) before the section appears in the service's Settings > Edge. After that, adding a Block rule for the job-claim path doesn't redeploy or restart the existing service, so the worker's in-progress heartbeat, start, result and failure calls through the public domain keep going. You can then watch the service's HTTP logs until no new claim requests reach the service and the active jobs have reported their results. Private-network traffic still isn't covered by Edge Rules.
17 days ago
Hello Railway Support,
I currently have an active Trial workspace with an existing project named genspicy-staging, service genspicy-web, and a persistent volume named genspicy-web-volume.
I would like to continue on the Free plan without upgrading to Hobby.
Before making any changes, could you please confirm:
- Will my existing volume, which was created during the Trial period, be deleted 30 days after the trial credits expire, even if my workspace automatically transitions to Free?
- Is there an officially supported way to retain this exact existing volume on the Free plan without paying?
- What is the exact data-retention deadline for my existing volume?
- If retaining the original volume on Free is not supported, is there a supported method to preserve the data within the same existing project and service without changing the public URL?
I do not want to delete or recreate the existing project or accidentally lose the database.
Thank you.
Status changed to Awaiting Railway Response Railway • 17 days ago
17 days ago
Your workspace is still on its Trial with the full $5 credit remaining, and the trial started on 2026-10-03, so it ends around 2026-11-02 unless the credit runs out sooner. Nothing has been deleted.
When a trial ends, the workspace does not move onto Free automatically. It is left with no plan and its services stop. You can switch to Free yourself with Downgrade to Free on the Plans page, then redeploy the stopped service.
Our published retention policy deletes volume data for Free and Trial accounts 30 days after expiry, after warning emails are sent. For your volume that works out to around 2026-12-02 if the trial ends on schedule. The Free Trial docs say the way to keep Trial volume data is to upgrade after the trial. We can't confirm that switching to Free alone protects a volume created during the Trial, so please don't count on that.
The plan we can point to for keeping this exact project, service, volume and public domain is to upgrade the same workspace to Hobby before the trial ends. Upgrading doesn't involve recreating the project.
Status changed to Awaiting User Response Railway • 17 days ago
Railway
Your workspace is still on its Trial with the full $5 credit remaining, and the trial started on 2026-10-03, so it ends around 2026-11-02 unless the credit runs out sooner. Nothing has been deleted. When a trial ends, the workspace does not move onto Free automatically. It is left with no plan and its services stop. You can switch to Free yourself with **Downgrade to Free** on the [Plans page](https://railway.com/workspace/plans), then redeploy the stopped service. Our published retention policy deletes volume data for Free and Trial accounts 30 days after expiry, after warning emails are sent. For your volume that works out to around 2026-12-02 if the trial ends on schedule. The [Free Trial docs](https://docs.railway.com/pricing/free-trial) say the way to keep Trial volume data is to upgrade after the trial. We can't confirm that switching to Free alone protects a volume created during the Trial, so please don't count on that. The plan we can point to for keeping this exact project, service, volume and public domain is to upgrade the same workspace to Hobby before the trial ends. Upgrading doesn't involve recreating the project.
17 days ago
Thank you, but this is still an automated response.
I need a human Railway support representative to confirm whether my existing Trial-created volume can be retained on the Free plan without payment.
If that is not supported, please clearly confirm that there is no officially supported free way to preserve this exact volume in the same workspace.
My trial may expire around November 2, so this is time-sensitive.
Please escalate this request to a human support representative. I do not authorize any project or volume changes.
Thank you.
Status changed to Awaiting Railway Response Railway • 17 days ago
16 days ago
The only supported way we can confirm for keeping this exact volume is upgrading the same workspace to a paid plan, such as Hobby, before the trial ends. Our Free Trial docs say volumes created by Trial accounts are deleted 30 days after the credits expire, and that you keep the data by upgrading after the Trial. Upgrading keeps the same project, service, volume and public domain.
We can't confirm that switching to Free on its own keeps a volume created during the Trial, so please don't rely on that. Your workspace is still on its Trial with nothing deleted, and nothing has been changed on your project or volume.
Status changed to Awaiting User Response Railway • 16 days ago
Railway
The only supported way we can confirm for keeping this exact volume is upgrading the same workspace to a paid plan, such as Hobby, before the trial ends. Our [Free Trial docs](https://docs.railway.com/pricing/free-trial) say volumes created by Trial accounts are deleted 30 days after the credits expire, and that you keep the data by upgrading after the Trial. Upgrading keeps the same project, service, volume and public domain. We can't confirm that switching to Free on its own keeps a volume created during the Trial, so please don't rely on that. Your workspace is still on its Trial with nothing deleted, and nothing has been changed on your project or volume.
16 days ago
Hello Railway Support Team,
Thank you for your previous clarification.
I have completed the local preparation for upgrading my existing application and would like to proceed with the Free plan without upgrading to Hobby.
My current setup:
- Workspace: Existing Trial workspace
- Project:
genspicy-staging - Environment:
staging - Service:
genspicy-web - Persistent Volume:
genspicy-web-volume
My goal is to replace the existing Trial Volume safely while preserving:
- The original public URL and domain
- The existing Railway project, environment, and service
- The complete SQLite database and all historical records
- All Leads, Search Jobs, audit logs, reports, and persistent application files
I understand that the Free plan allows only one Volume per project.
Before making any changes, could you please clarify the following:
-
Can I use Railway's Volume Backup and Restore feature on the Free plan to create a replacement Volume while temporarily retaining the original Volume?
-
If I delete the original Volume, does the 48-hour pending-deletion period continue to count against the project's one-Volume limit, or is the Volume quota released immediately?
-
Is it possible to restore a backup into a new Volume within the same existing project and environment, and then attach that Volume to the existing service without changing its public URL?
-
If the Free plan does not allow this process, can Railway Support provide an officially supported migration procedure that preserves the original project, service, public URL, and complete database without requiring a paid upgrade?
-
What is the safest recommended sequence for backing up, replacing, restoring, and verifying the existing Volume without risking permanent data loss?
Important requirements:
- I do not want to recreate the project or service.
- I do not want to change the existing public URL.
- I cannot accept losing any historical business data.
- I will not delete the original Volume until the replacement has been successfully restored and verified, or Railway confirms an officially supported safe migration procedure.
Please provide specific technical guidance for my existing workspace rather than general documentation.
Thank you for your help.
Status changed to Awaiting Railway Response Railway • 16 days ago
16 days ago
Volume backup and restore is not available on the Free plan. Creating, restoring, locking and scheduling backups all require the Pro plan, so on Trial, Free or Hobby you can't use that feature to build a replacement volume from your existing one.
When a backup is restored on Pro, it always creates a new volume in the same project and environment. The change is staged on the same service and mounted at the same path, so the service and its domain stay the same. The original volume stays in the project, unmounted, until you delete it.
We don't have a supported procedure, from support or self-serve, for copying this volume's data into a replacement volume on the Free plan while keeping the same project, service and public URL. We can't give you a safe sequence for doing that, so please don't delete or detach the original volume as part of a plan like that.
The supported ways to keep this exact volume, with its project, service and domain, are the ones in our earlier replies: upgrade the same workspace to a paid plan before the trial ends, or move to Pro if you also want backup and restore. Nothing has been changed on your project or volume.
Status changed to Awaiting User Response Railway • 16 days ago
Railway
Volume backup and restore is not available on the Free plan. Creating, restoring, locking and scheduling backups all require the Pro plan, so on Trial, Free or Hobby you can't use that feature to build a replacement volume from your existing one. When a backup is restored on Pro, it always creates a new volume in the same project and environment. The change is staged on the same service and mounted at the same path, so the service and its domain stay the same. The original volume stays in the project, unmounted, until you delete it. We don't have a supported procedure, from support or self-serve, for copying this volume's data into a replacement volume on the Free plan while keeping the same project, service and public URL. We can't give you a safe sequence for doing that, so please don't delete or detach the original volume as part of a plan like that. The supported ways to keep this exact volume, with its project, service and domain, are the ones in our earlier replies: upgrade the same workspace to a paid plan before the trial ends, or move to Pro if you also want backup and restore. Nothing has been changed on your project or volume.
16 days ago
Thank you for the clarification.
I have one final question regarding the Free plan.
I do not need to replace the existing Volume if I can continue using the original one.
If I downgrade my existing Trial workspace to Free after the trial expires:
- Can my existing Trial-created Volume remain attached to
genspicy-web? - Can I manually redeploy the stopped service on the Free plan while continuing to use the exact same Volume?
- Will the existing database remain accessible until the 30-day data-retention deadline?
- Is there any risk that the Volume will become inaccessible immediately after downgrading to Free?
- What is the exact last date on which the existing Volume can be safely used?
I am willing to keep the original Volume unchanged. My priority is to preserve the complete database, historical records, existing project, service, and public URL without paying for an upgrade.
Please confirm whether this specific approach is officially supported.
Status changed to Awaiting Railway Response Railway • 16 days ago
16 days ago
The Free plan does support a volume (up to 0.5 GB per service), so a service with a volume attached is not blocked from running on Free. What we can't confirm is that downgrading to Free stops our retention policy from applying to a volume created during the Trial. Our published policy is that volumes created by Trial accounts are deleted 30 days after the trial credits expire, and that the way to keep the data is to upgrade after the Trial (Free Trial, Plans). Because of that, we can't tell you this approach is officially supported for keeping the volume beyond that window.
On timing: when the trial ends, the workspace is left with no plan and the service stops until you switch to Free and redeploy it. If the trial ends on schedule around 2026-11-02, the published 30-day window points to around 2026-12-02 as the latest date. We can't promise the volume stays usable up to that date on Free, so don't treat it as a safe deadline.
The only supported way we can confirm for keeping this exact volume, project, service and public URL is to upgrade the same workspace to a paid plan before the trial ends. Nothing has been changed on your project or volume.
Status changed to Awaiting User Response Railway • 16 days ago
Railway
The Free plan does support a volume (up to 0.5 GB per service), so a service with a volume attached is not blocked from running on Free. What we can't confirm is that downgrading to Free stops our retention policy from applying to a volume created during the Trial. Our published policy is that volumes created by Trial accounts are deleted 30 days after the trial credits expire, and that the way to keep the data is to upgrade after the Trial ([Free Trial](https://docs.railway.com/pricing/free-trial), [Plans](https://docs.railway.com/pricing/plans)). Because of that, we can't tell you this approach is officially supported for keeping the volume beyond that window. On timing: when the trial ends, the workspace is left with no plan and the service stops until you switch to Free and redeploy it. If the trial ends on schedule around 2026-11-02, the published 30-day window points to around 2026-12-02 as the latest date. We can't promise the volume stays usable up to that date on Free, so don't treat it as a safe deadline. The only supported way we can confirm for keeping this exact volume, project, service and public URL is to upgrade the same workspace to a paid plan before the trial ends. Nothing has been changed on your project or volume.
16 days ago
Thank you for the clarification.
I have one final question regarding the Free plan.
I do not need to replace the existing Volume if I can continue using the original one.
If I downgrade my existing Trial workspace to Free after the trial expires:
- Can my existing Trial-created Volume remain attached to
genspicy-web? - Can I manually redeploy the stopped service on the Free plan while continuing to use the exact same Volume?
- Will the existing database remain accessible until the 30-day data-retention deadline?
- Is there any risk that the Volume will become inaccessible immediately after downgrading to Free?
- What is the exact last date on which the existing Volume can be safely used?
I am willing to keep the original Volume unchanged. My priority is to preserve the complete database, historical records, existing project, service, and public URL without paying for an upgrade.
Please confirm whether this specific approach is officially supported.
Status changed to Awaiting Railway Response Railway • 16 days ago
16 days ago
Our answers to these questions haven't changed since our last reply, so here they are briefly.
On Free, a service can run and redeploy with a volume attached (Free allows up to 0.5 GB per service). We can't confirm that switching to Free stops the Trial retention policy from applying to a volume created during the Trial. That policy deletes those volumes 30 days after the trial credits expire, and the way to keep the data is to upgrade after the Trial (Free Trial). So we can't say that keeping the volume on Free is officially supported.
When the trial ends, around 2026-11-02, the service stops until you switch to Free and redeploy it. The published 30-day window points to around 2026-12-02, but please don't treat that as a guaranteed last date for using the volume on Free.
The only supported option we can confirm for keeping this exact volume, project, service and public URL is to upgrade the same workspace to a paid plan before the trial ends. We haven't changed anything on your project or volume.
Status changed to Awaiting User Response Railway • 16 days ago
9 days 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 • 9 days ago