Deployment Resource Scaling: Transitioning from Legacy Always On to Reserved VM Tiers
0 reputation · 06 Oct 2020, 19:34 UTC
0 reputation · 06 Oct 2020, 19:34 UTC
Replit has transitioned from the legacy 'Always On' toggle to a structured Deployment system. This shift decouples the development Workspace from the production instance, meaning that Workspace sleep cycles no longer dictate the availability of a live application.
Under the current architecture, resource allocation is managed through specific machine types (such as Autoscale or Reserved) within the Deployments tab rather than a global account setting. This introduces a boundary where environment variables and resource limits in the Workspace may not align with the production deployment configuration.
When moving a project to a Reserved VM tier to ensure consistent uptime, it is unclear how the platform handles the synchronization of secrets and environment variables between the development environment and the deployed container.
Environment variables defined in the Workspace do not automatically propagate to a Reserved Deployment. You must enter them explicitly in the Deployment’s environment‑variables section, and any change there triggers a full redeployment (the container is recreated). There is no hot‑reload or in‑place update mechanism for Reserved VMs.
.env files.printenv or a language‑specific dump) and confirm the variables appear as expected..env file and expect the running Reserved Deployment to pick up the change without a redeploy.If you are using Workspace secrets that are referenced in the Deployment configuration and you need to know whether updating the secret alone will propagate, let me know so I can clarify the exact redeploy requirement.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.