Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Render 6 min read How-to mediumAdept

Use One-Click Deploys for Secure Online VS Code

OpenVSCode Server can be deployed on Render by forking Gitpod's repo, adding a minimal Dockerfile that pulls the published image, and defining a persistent disk mount in a render.yaml Blueprint. Once render.yaml exists, a single line of markdown in the README creates a Deploy to Render button for one-click deploys. Securing the browser IDE means adding OAuth2-Proxy in the same Blueprint, with `sync: false` keys so users enter their own secrets in the dashboard at deploy time rather than committing them.

Related posts

  • Host a Dev Environment on Render with VS Code and Tailscale

    Render mediumAdept

    A self-hosted cloud dev environment can run on Render as a private service, reached over a Tailscale subnet router and edited with VS Code's Remote-SSH extension. code-server works and installs as a PWA, but it lacks some extensions. OpenSSH fails in Render's unprivileged containers because privilege separation needs CAP_SYS_CHROOT, so dropbear serves SSH instead, with SSH agent forwarding for GitHub authentication. A persistent disk mounted at /home keeps repos, caches and the VS Code binaries across deploys, and a start script recreates authorized_keys at runtime so the mount doesn't overwrite it.

  • How to add Monaco to a Next.js app and securely run untrusted user code

    Deno mediumAdept

    A Next.js 14 app can host a browser IDE by embedding the Monaco editor via @monaco-editor/react, then sending the editor contents to server-side API routes that call the Deno Deploy Subhosting API. One route creates a uniquely named project, one creates a deployment from the submitted code, and one fetches deployment status. The client polls that status until it leaves 'pending' and, on success, loads the deployment URL in an iframe. Isolation of the untrusted code is handed off to Subhosting rather than implemented in the app. Suggested next steps include persisting projects, adding a filesystem and adding authentication.

  • ...It Works Fine Locally

    Render mediumAdept

    A deployment checklist for apps that run locally but fail in the cloud, drawn from Render support cases. Pin language, package manager and dependency versions, and keep secrets and service URLs in environment variables. Add a health check endpoint that touches critical dependencies, build with production dependency groups and precompile assets rather than shipping dev servers, and bind to 0.0.0.0 on $PORT with worker counts tuned to the plan. Treat instance filesystems as ephemeral and use disks, databases or object storage for persistent files, and configure allowed hosts, canonical redirects and HTTPS asset URLs for custom domains.

  • Build Your Own Cloud IDE with the Subhosting API

    Deno mediumAdept

    A cloud IDE can be built on the Deno Subhosting API, which programmatically deploys user code to Deno Deploy's global V8 isolate cloud within seconds. The walkthrough builds a Hono server with routes to list and create projects and deployments, plus a small TypeScript client that wraps the Subhosting REST endpoints with bearer-token auth. It also covers a server-rendered JSX page and an Ace Editor frontend that polls deployment status every five seconds. The deployment payload is explained in detail: entryPointUrl must map to a key in an assets map of files, and envVars inject credentials into the deployed code.

  • Migrate a Django App from Heroku to Render (and get it ready for prod)

    Render mediumAdept

    A Django e-commerce app (Saleor) can be moved from Heroku to Render by translating its app.json, Procfile, Dockerfiles and docker-compose.yml into a single render.yaml Blueprint. The walkthrough defines the GraphQL API as a web service on Render's native Python environment, then wires in Postgres and Redis through connection-string environment variables. It adds a build script for dependencies and migrations, a static-site dashboard with rewrite rules, and a Next.js storefront that drops the redundant nginx layer. The second half covers production hardening: an RSA key stored as a Secret File, background workers, cron jobs, runtime steps, a message broker, and deriving shared environment variables to keep the Blueprint DRY.

The quest for software engineering knowledge.

Look:
Layout: