Many developers already use VS Code locally. Remote development keeps that familiar editor while moving code, language servers, compilers and containers to a VPS. It feels local, but builds run on server CPUs with fast NVMe storage, and your laptop stays cool and quiet.
How It Works
local VS Code (UI) ── SSH or tunnel ──▶ VS Code Server on VPS
├─ extensions (language servers, linters)
├─ terminals, tasks, debuggers
└─ files, Git, Docker
The user interface stays on your device. Everything that reads files or runs tools happens on the VPS.
Option 1: Remote-SSH
- Create a non-root user on the VPS and set up SSH key authentication.
- Add a host entry in your local
~/.ssh/configwith the user, host and key. - Install the Remote-SSH extension in VS Code and connect to the host.
- VS Code downloads and starts the server on the VPS automatically, then opens a remote window.
Remote-SSH needs only the SSH port open. It is the simplest and most common setup.
Option 2: Remote Tunnels
Install the VS Code CLI on the VPS and run code tunnel. You sign in with a GitHub or Microsoft account, and the server registers a tunnel through Microsoft's relay. You can then connect from desktop VS Code or from a browser at vscode.dev, signed in with the same account, without opening inbound ports. Run the tunnel as a service so it survives reboots. Tunnels depend on Microsoft's relay service and its usage limits; check the current documentation.
Requirements
The server component supports common Linux distributions on x86_64 and ARM64 with a reasonably recent glibc; very old distributions may not be supported. Microsoft documents a low minimum of RAM, but real projects with language servers, Docker and builds need far more, as the sizing table shows.
Extensions on the Remote Side
Workspace extensions (language support, linters, debuggers) install on the server; UI extensions (themes, keymaps) stay local. Install language toolchains on the VPS itself. Recommended extensions in the repository's .vscode/extensions.json help the whole team get the same setup. Dev containers work too: open a folder in a container on the VPS for fully reproducible environments.
Port Forwarding
When your app starts on a port, VS Code forwards it to your local machine automatically, so localhost:3000 in your browser reaches the app on the VPS. Keep the server firewall closed to those ports. Forwarded ports can optionally be shared publicly through tunnels, but do so only deliberately and temporarily.
Licence Limits
VS Code Server is covered by Microsoft's licence terms, which allow using it for your own remote development but do not allow offering it as a hosted service to others. If you want a self-hosted browser IDE for a team or customers, open-source options such as code-server or OpenVSCode Server are the usual choices (see our code-server guide).
Security
- SSH key authentication only; disable password and root logins.
- Keep the VPS updated, and clear old cached server versions in
~/.vscode-serveroccasionally. - For tunnels, protect the GitHub or Microsoft account with two-factor authentication, since it grants access to the server.
- Do not keep production credentials on development servers.
- Review installed extensions; they run with your user's permissions on the server.
Troubleshooting
- Connection hangs while setting up the host: check SSH access manually, disk space, and that the server can download the VS Code Server package.
- High CPU from file watching: exclude large folders such as node_modules and build directories.
- Disconnects: enable SSH keep-alives; terminals in tmux survive reconnections.
- Out of memory: language servers for large projects can use several gigabytes; increase RAM or reduce open workspaces.
Sizing
| Project | Suggested plan |
|---|---|
| Small web or scripting projects | 2 vCores / 8 GB |
| Full-stack apps with Docker and databases | 4 vCores / 16 GB |
| Large TypeScript, Java, Rust or C++ codebases | 8 vCores / 32 GB |
Choose a region close to you to keep typing and terminal latency low. For a broader view, see our remote development servers guide.
Using It Across a Team
Each developer connects to their own user or server with their own SSH key, so actions are traceable and access can be removed individually. Commit shared editor settings, recommended extensions and dev container definitions to repositories so everyone gets the same setup, and keep personal preferences in user settings. Push code to your Git server rather than relying on files left on the VPS (see our Git servers guide).
Example: A Freelance Developer
A freelancer works on several client projects from a lightweight laptop. Each project lives on a 4 vCore / 16 GB VPS, opened through Remote-SSH with dev containers. Databases run in Docker, ports are forwarded automatically, and code is pushed to the client's Git server daily. When travelling with only a tablet, the freelancer connects through a tunnel at vscode.dev.
Common Mistakes
- Connecting as root.
- Undersized servers that make language servers slow.
- Opening app ports publicly instead of forwarding.
- Offering VS Code Server to others as a hosted service, against its licence.
- Forgetting two-factor on the account used for tunnels.
In Short
Use Remote-SSH for the simplest secure setup or Remote Tunnels when inbound ports are not possible, install toolchains on the VPS, forward ports, keep accounts and SSH secured, respect the licence, and size for your project.
ServoMix Plans for This Workload
VS Code Server itself is modest, but language servers, builds and containers add up. 4 vCores / 16 GB is comfortable for most projects; 8 vCores / 32 GB for large TypeScript, Java or C++ codebases.
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 |
|---|---|---|---|---|---|---|---|
| SMX vPro XS (AMD EPYC) | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹420/mo | Websites, small APIs, bots, staging and VPN servers | Order |
| SMX vPro S (AMD EPYC) | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹560/mo | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| SMX vPro M (AMD EPYC) | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹840/mo | Production databases, high-traffic sites, multi-container apps | Order |
| SMX vPro L (AMD EPYC) | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹1,120/mo | 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 |
|---|---|---|---|---|---|---|---|
| SMX vCore XS (Intel Xeon) | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹270/mo | Business websites, small apps, scheduled jobs and bots | Order |
| SMX vCore S (Intel Xeon) | 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 |
| SMX vCore M (Intel Xeon) | 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 |
| SMX vCore L (Intel Xeon) | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,248/month | High-memory workloads and consolidated production servers | Check stock |
Prices are monthly in INR as listed on the ServoMix store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.
Frequently Asked Questions
What is VS Code Server?
Remote-SSH or Remote Tunnels?
Do I need to install VS Code Server manually?
Can I use VS Code in a browser with my VPS?
Where do extensions run?
How do I open my app running on the VPS?
Can I host VS Code Server for my team or customers?
How much RAM do I need?
Why is VS Code using high CPU on the server?
Which plan suits VS Code Server?
Related Guides
Frequently Asked Questions
What is VS Code Server?
The backend component that VS Code installs on a remote machine so the local editor can work with files and tools there.
Remote-SSH or Remote Tunnels?
Remote-SSH needs only SSH access and is simplest; tunnels avoid inbound ports by using Microsoft's relay with GitHub or Microsoft sign-in.
Do I need to install VS Code Server manually?
No. Remote-SSH installs it automatically; tunnels use the VS Code CLI on the server.
Can I use VS Code in a browser with my VPS?
Yes, through Remote Tunnels and vscode.dev, or with open-source tools like code-server.
Where do extensions run?
Workspace extensions run on the server; UI extensions such as themes run locally.
How do I open my app running on the VPS?
VS Code forwards ports automatically, so you can open it on localhost locally.
Can I host VS Code Server for my team or customers?
Microsoft's licence does not allow offering it as a hosted service; use code-server or OpenVSCode Server instead.
How much RAM do I need?
Microsoft lists a low minimum, but real projects typically need 8 to 16 GB or more.
Why is VS Code using high CPU on the server?
Often file watching of large folders; exclude node_modules and build outputs.
Which plan suits VS Code Server?
4 vCores / 16 GB for most projects; 8 vCores / 32 GB for large codebases.
Your feedback helps us continuously improve ServoMix guides.
Know someone who may find this guide useful?
