Self-Hosted Cloud IDE 2026

Self-Hosted Cloud IDE 2026

Run VS Code in the browser with code-server, Coder, or DevPod on your own VPS

Loading matching offers...

Why Self-Host a Cloud IDE?

GitHub Codespaces charges $0.18/hour – at 8 hours per day and 20 work days that's $28.80/month per developer. A VPS with code-server? From ~€4/month, unlimited hours, any extensions you want. For a 5-person team, you save over €100 per month.

Beyond cost, there are three more reasons for self-hosting: Data sovereignty (your code stays on your server – no third parties, GDPR-compliant), no vendor lock-in (you switch VPS providers in an hour, migrating away from Codespaces takes days), and full control over the environment (any system packages, root access, no sandbox restrictions).

Cloud IDEs solve a real problem: Consistent development environments, access from anywhere, zero local setup time. New team members just need a browser – no more "works on my machine".

The 4 Best Self-Hosted Cloud IDEs

code-server is VS Code in the browser for a single user. Installation in 2 minutes, built-in password protection, minimal resource usage (~2 GB RAM). Perfect for solo developers who want to access their projects from anywhere.

Coder is the enterprise solution for teams. Each developer gets their own workspace from a template – reproducible, isolated, centrally managed. Coder requires PostgreSQL 13+ as backend and supports OAuth/OIDC for single sign-on. The better choice over code-server from 3 developers onwards.

OpenVSCode Server by Gitpod is the leanest option: A single binary, no Docker needed, ~1 GB RAM. However, no multi-user support and no built-in authentication – you need a reverse proxy with basic auth or Tailscale.

DevPod by Loft Labs uses Dev Containers (devcontainer.json). Each developer works in a reproducible container built from a Git repo. DevPod can run on local Docker hosts, remote VPS or Kubernetes – maximum flexibility, but also the highest resource requirements (~2 GB RAM per workspace).

ToolTarget AudienceMulti-UserRAM per UserAuth
code-serverSolo developersNo~2 GBPassword
CoderTeams (3-50+)Yes (Templates)~1.5 GBOAuth/OIDC
OpenVSCode ServerMinimal setupNo~1 GBReverse Proxy
DevPodDev containersYes (Containers)~2 GBProvider Auth

What You Need

A VPS with Docker – that's the minimum requirement. For code-server, 2 GB RAM and 1 vCPU are sufficient (from ~€4/month). For teams with Coder, plan 1.5 GB RAM per developer plus 2 GB overhead for Coder itself and PostgreSQL.

A domain is optional but recommended. With a subdomain like code.example.com plus Let's Encrypt SSL, you get HTTPS for free. Without a domain, IP:port with code-server's built-in password protection also works.

A reverse proxy (Traefik or Caddy) is essential for production setups. It handles SSL termination, WebSocket proxying (essential for IDE performance) and optionally basic auth for OpenVSCode Server. Caddy is the simplest option – automatic HTTPS with a 3-line configuration.

Storage: 20 GB NVMe is enough for a solo setup. For teams with multiple repos and Docker images: plan 10-15 GB per developer. NVMe matters – language servers and the TypeScript compiler benefit greatly from fast random reads.

Cost Comparison: Self-Hosting vs. Cloud

A VPS from ~€4/month replaces a Codespaces subscription of $20-50/month per developer. The math improves with each additional team member: For 5 developers, GitHub Codespaces costs ~$145/month (core hours + storage), while a Contabo VPS with 16 GB RAM for the whole team costs just ~€10.

The only overhead: A one-time 30-60 minute setup (Docker, reverse proxy, DNS). After that, the system runs maintenance-free. Updates via docker compose pull take 2 minutes.

GitHub CodespacesGitpodSelf-Hosted (code-server/Coder)
1 Developer~$29/mo~$25/mo~€4-5/mo
5 Developers~$145/mo~$125/mo~€10-15/mo
10 Developers~$290/mo~$250/mo~€15-25/mo
Hour LimitYes (Core Hours)Yes (50h/mo)No (24/7)
ExtensionsMarketplaceOpen VSXMarketplace + Open VSX
Data LocationUS (Azure)EU (optional)Your server

Our Recommendation

For solo developers with code-server, Hetzner CX22 with 4 GB RAM for about €4/month is enough. Runs VS Code in the browser including TypeScript language server and Docker.

For small teams with Coder, we recommend Contabo Cloud VPS S with 8 GB RAM for about €6/month – enough for 3-5 developers with lightweight workspaces.

For teams of 5+ with Docker workspaces: Contabo Cloud VPS M with 16 GB RAM for about €10/month. With Coder, always install PostgreSQL on the same server – external DBs increase latency noticeably.

Frequently Asked Questions

Which VPS is enough for code-server?
For a single developer, 2 vCPU and 4 GB RAM are sufficient (e.g. Hetzner CX22 for ~€4/month). This runs VS Code, TypeScript language server, ESLint and Docker simultaneously. For 2+ users, we recommend Coder with at least 4 GB RAM plus 1.5 GB per developer.
Is code-server secure?
Yes, with HTTPS via reverse proxy (Traefik or Caddy) and built-in password protection. For teams, Coder offers SSO via OAuth/OIDC (GitHub, Google, Okta). Additional security: SSH tunnels instead of browser access, or Tailscale for zero-trust networking.
What does self-hosting cost vs. GitHub Codespaces?
GitHub Codespaces charges per core-hour (~$0.18/h for 2 cores). At 160 hours/month that's ~$29/developer. A VPS with code-server costs a flat €4-5/month for one developer, ~€10/month for a 5-person team with Coder. With 5 developers, you save ~$130/month.
Do I need Docker?
Recommended but not required. code-server runs as a standalone binary (npm install -g code-server). Docker is recommended for reproducible setups, easy updates (docker compose pull) and isolated workspaces. Coder and DevPod require Docker.
Can I use my VS Code extensions?
Yes. code-server and Coder support the VS Code Extension Marketplace (or Open VSX as alternative). Extensions like ESLint, Prettier, GitLens, Copilot and Remote-SSH work identically to the desktop version. Only some extensions with native binaries may need the Linux variant.
What's the difference between code-server and Coder?
code-server is a single VS Code in the browser for one user – simple, lean, installed in 2 minutes. Coder is a platform for teams: workspace templates, multi-user management, OAuth/OIDC, API and audit logs. Solo developers use code-server, teams of 3+ should use Coder.
How do I install code-server?
Fastest with Docker: docker run -d -p 8080:8080 -e PASSWORD=your-password codercom/code-server. For production, we recommend Docker Compose with Traefik as reverse proxy for automatic HTTPS. Alternatively: curl -fsSL https://code-server.dev/install.sh | sh.
Does a Cloud IDE work on a tablet?
Yes, VS Code in the browser runs on any device with a modern browser – iPad, Android tablet, Chromebook. Touch support isn't perfect, but it's sufficient for code reviews and small changes. For productive work, we recommend an external keyboard.
How do I back up my Cloud IDE?
code-server stores everything in the user's home directory. Regular backups of this folder plus Docker volumes are sufficient. Tools like restic or borgbackup automate this on your VPS. With Coder: additionally back up the PostgreSQL database.
Can I run code-server alongside other services?
Yes, easily. code-server only needs ~2 GB RAM. On a 4-8 GB VPS, you can run GitLab, Vaultwarden or a database alongside it. Ideal for freelancers who want to bundle development environment and project infrastructure on one server.

Related Articles