A browser IDE lets you code from any device: a Chromebook, a tablet with a keyboard, a borrowed computer or a locked-down work laptop. code-server gives you the familiar VS Code interface with the files, terminals and tools running on your VPS. Because it is open source, it can also be self-hosted for a team, which Microsoft's own VS Code Server licence does not allow.
Installation
- Use the official install script (read it first), a release package for your distribution, or the official Docker image.
- Run it as a systemd service for your user (the packages include a service template) so it starts on boot.
- Edit
~/.config/code-server/config.yamlto set the bind address, authentication and password.
Keep bind-addr at 127.0.0.1:8080 so it is only reachable through your reverse proxy.
HTTPS Reverse Proxy
Serve code-server on a subdomain with a valid certificate. With Nginx, pass the Upgrade and Connection headers for WebSockets and set the Host header; Caddy handles this automatically. Without WebSocket support, the editor will not load properly. HTTPS is essential, because browser features the IDE relies on, such as clipboard access and service workers, need a secure context.
Authentication
code-server's built-in authentication is a single password. For anything beyond personal use, strengthen it:
- Use a long random password stored in a password manager, or a hashed password in the config.
- Put an authenticating proxy in front, such as OAuth2 Proxy or Authelia, for SSO and two-factor authentication.
- Or restrict access to a VPN or trusted IP addresses.
- Add rate limiting on the login path at the proxy.
The IDE includes a terminal with your user's permissions: access to code-server is shell access to the server.
Extensions
code-server uses the Open VSX registry rather than Microsoft's marketplace, because Microsoft's marketplace terms restrict use to Microsoft products. Most popular open-source extensions are available on Open VSX; some proprietary ones are not. You can also install extensions from VSIX files where their licences allow.
Previewing Apps
code-server includes a proxy that serves apps running on local ports at paths like /proxy/3000/ or, with a wildcard domain configured, at port subdomains. The proxied apps sit behind code-server's authentication, so you do not need to open ports in the firewall.
Multiple Users
code-server is designed for one user per instance. For a team, run one instance per developer (each as its own Linux user or container, on its own subdomain), or use a platform such as Coder that provisions workspaces on demand. Avoid sharing one instance between people, since everyone would share the same user, files and terminal.
Persistence and Environment
In Docker, mount volumes for the project directory and code-server's configuration and extensions, so nothing is lost when the container is recreated. Install language toolchains in the image or on the host, and keep editor settings in a dotfiles repository.
Security
- HTTPS only, with strong authentication in front.
- Run as a non-root user; avoid adding that user to the docker group unless necessary.
- Keep code-server updated; it tracks VS Code releases and security fixes.
- Do not store production secrets on the server.
- Monitor logins at the proxy and alert on unusual activity.
Alternatives
OpenVSCode Server from Gitpod is another open-source build of VS Code for the browser. If you prefer the desktop VS Code app with a remote server, use Remote-SSH (see our VS Code Server guide). For the broader picture, see our remote development servers guide.
Performance Tips
Pick a server region close to your users for responsive typing, exclude large folders such as node_modules from file watching, and keep dependency caches on the server's NVMe. Browsers can hold many tabs and terminals open; close unused ones so the server does not keep idle processes running.
Sizing
| Use | Suggested plan |
|---|---|
| Scripting, notes, small web projects | 2 vCores / 8 GB |
| Full-stack development with Docker | 4 vCores / 16 GB |
| Several developers, one instance each | 8 vCores / 32 GB with per-user limits |
Example: A Coding Bootcamp
A bootcamp gives each student a code-server instance in a container with Node.js, Python and Git preinstalled, on an 8 vCore / 32 GB VPS. Each instance has its own subdomain behind OAuth2 Proxy with the bootcamp's accounts, per-container CPU and memory limits keep things fair, and students push their work to the bootcamp's Gitea server (see our Gitea guide).
Common Mistakes
- Binding code-server to all interfaces without HTTPS.
- Relying on a weak single password.
- Reverse proxy without WebSocket headers.
- Sharing one instance between several people.
- Expecting every Microsoft marketplace extension to be available.
In Short
code-server brings VS Code to your browser from a VPS. Bind it to localhost, publish it over HTTPS with WebSockets, add strong authentication, use Open VSX extensions, preview apps through its proxy, run one instance per user and keep work in Git.
Keeping Work Safe
Treat the server as a workspace, not the only copy of your code. Push branches to your Git server several times a day, back up the home directory or take snapshots to protect unpushed changes and local databases, and keep the setup in scripts so a replacement instance can be ready quickly if the server fails.
SkyRainCloud Plans for This Workload
code-server itself is light; your projects decide the size. 2 vCores / 8 GB suits scripting and small web projects; 4 vCores / 16 GB for full-stack development with Docker.
AMD EPYC 7C13 VPS
Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
Intel Xeon Platinum 8269CY VPS
KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — Intel | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Business websites, small apps, scheduled jobs and bots | Order |
| VPS 2 — Intel | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,169/month | Business software, mid-size databases, several sites on one server | Check stock |
| VPS 3 — Intel | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,249/month | ERP/CRM stacks, heavier databases, multiple production apps | Check stock |
| VPS 4 — Intel | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,299/month | High-memory workloads and consolidated production servers | Check stock |
Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.