VS Code Server Hosting on Your Own VPS
A browser-based development environment with the compute on the server.
Size a server for VS Code Server
Every stop is a real configuration you can deploy. Priced per 30 days, billed by the hour, exclusive of 18% GST.
What VS Code Server is
VS Code Server — as code-server or the official Remote Tunnels — runs the editor on a server and gives you the interface in a browser. The files, the terminal, the language servers, the compiler and the running application all live on the VPS; only the interface is local.
That arrangement solves specific problems well. Builds run at server speed rather than laptop speed and continue when you close the lid. The development environment is identical wherever you sign in, and identical to what a colleague sees. A tablet or a borrowed machine becomes a usable workstation. And a long-running process — a dev server, a training run — survives your commute.
The security consideration is the whole story: this is a shell in a browser. Anyone who reaches it can run anything as that user, which is why it belongs behind authentication and TLS, restricted by IP or reached over a VPN. It should never be a URL with a weak password on the open internet.
Why run VS Code Server on a VPS
Builds at server speed, and they keep running when you disconnect.
One environment reachable from any machine, identical every time.
Root access to install whatever the project needs.
Resize when a project outgrows the plan, without rebuilding the environment.
VS Code Server features
Full VS Code in a browser, including the terminal
Extension support from the marketplace
Language servers and debugging on the server
Persistent workspace and terminal sessions
Port forwarding for previewing local dev servers
Git integrated as usual
Recommended server
A starting point for VS Code Server, not a hard floor — size it on the sliders.
| Memory | 8 GB — language servers are memory-hungry on large codebases |
|---|---|
| CPU | 4 vCPU for comfortable builds |
| Storage | 80 GB; dependency directories consume more than the source does |
| Operating system | Ubuntu 22.04 LTS |
How deployment works
code-server is installed behind NGINX with TLS and authentication, running as a non-root user with sudo available. Treat access to it as shell access, because that is exactly what it is — restrict it by IP or put it behind a VPN rather than relying on a password alone.
What people run it for
Heavy builds
Compilation at server speed rather than laptop speed.
Consistent environments
The same setup for everyone, and from any device.
Working from anywhere
A tablet or borrowed machine becomes a workstation.
Long-running processes
Dev servers and training runs that survive disconnection.
VS Code Server hosting questions
Related applications
Deploy VS Code Server on your own server
Root access, your choice of size, and no container between you and the application.