Skip to main content

Reserved VM Deployments

Repls are not publicly accessible by default, accessible only via their cover page. Reserved VM Deployments enable you to release a snapshot of your Repl, ensuring that changes made within the editor don't disrupt the production build. Customize run and build commands, and connect the deployment to a <app-name> or a custom domain.

Setting up a deployment

Start by creating a deployment. Click the "Release" button located in the top right corner of the workspace.

release button

Two deployment options are available:

  1. Deploy: Deploy your Repl to a public <app-name> URL (or custom domain), ideal for hosting your app publicly/
  2. Publish: Publish your Repl to the community, which can be run from the cover page.
deployment options

Deploying a Repl

After selecting Deploy, select Reserved VM and you will be prompted to choose a deployment tier.

Unlike deploying to the community, which doesn't host your Repl under a domain and has a wakeup phase when accessed via the cover page, the other deployment options offer different specs and capabilities for your Repl in production.

deployment tier selection

Next, provide setup information such as the build command, run command, and any environment variables you want to set for production.

deployment info

Once you have entered the necessary information, click the "Deploy" button to start the deployment process.

After the deployment is complete, you can access details like the URL, build logs, and more. Learn more about editing deployment information here

Note: Viewing Deployment logs is very effective for debugging a failed deployment or an issue with your project. You can learn more about logs here

Publishing a Repl

You will initiate the publishing process by clicking the Publish button, detailed here.