VS Code Server

VS Code Server | EasyCloudify

VS Code Server

  • Version: 4.19.1
  • OS: Ubuntu 22.04 (LTS)
  • Category: Developer Tools

Description

VS Code Server (code-server) lets you run Visual Studio Code as a web application, giving you a full cloud-based integrated development environment accessible from any browser. You can write, edit, and debug code from any device without installing anything locally. It supports the full extension marketplace, integrated terminal, Git integration, and all the customization options you expect from VS Code — served securely from your own EasyCloudify VPS.

Software Included

PackageVersionLicense
code-server4.19.1MIT
Nginx1.18Custom
Certbot1.21.0Apache 2.0

Key Features

  • Web-based Visual Studio Code accessible from any browser
  • Full extension marketplace support
  • Integrated terminal with access to your VPS shell
  • Remote development from any device or location
  • SSL encryption and password-protected access
  • Nginx reverse proxy pre-configured
  • Real-time collaboration via shared workspace links

Vs Code

Getting Started

1. Connect to Your VPS

After deploying this app, open a terminal and SSH into your VPS:

bash
ssh root@your-vps-ip

The login banner will display the code-server password and the URL to access the interface.

2. Access the Web UI

Open a browser and navigate to:

http://your-vps-ip

Vs code server

Replace your-vps-ip with the actual IP address of your VPS.

  • Copy the login credentials for code-server

Access the VS Code Server Web UI:

  • In your web browser go to http://your-vps-ip and login using the password copied in the previous step.

You are now running VS Code in your browser.

VS Code Login

3. Secure Your Domain with Let's Encrypt

To enable HTTPS, first point your domain's DNS A record to your VPS IP, then run Certbot:

bash
sudo certbot --nginx -d your-domain.com

Follow the prompts to configure your domain and enable HTTPS. Certbot will set up automatic renewal.

To verify auto-renewal is working:

bash
sudo certbot renew --dry-run

4. Configure Nginx for Custom Domain

Create a new Nginx server block:

bash
sudo nano /etc/nginx/sites-available/code-server

Add the following configuration (adjust the domain):

bash
server { listen 80; server_name your-domain.com; location / { proxy_pass http://localhost:8080; proxy_set_header Host $host; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection upgrade; proxy_set_header Accept-Encoding gzip; } }

Enable the configuration and reload Nginx:

bash
sudo ln -s /etc/nginx/sites-available/code-server /etc/nginx/sites-enabled sudo nginx -t sudo systemctl restart nginx

5. Access VS Code Server via HTTPS

After completing the SSL setup, open your browser and navigate to:

https://your-domain.com

Log in with the password set earlier. You are now using code-server over a secure HTTPS connection.

Using the Interface

The left-hand Activity Bar provides quick access to the most commonly used features:

  • Explorer — browse and manage your project files and folders
  • Search — find and replace across your workspace
  • Source Control — Git integration for committing and branching
  • Run and Debug — built-in debugger with Node.js support and extension support for other languages
  • Extensions — install extensions from the VS Code Marketplace

Open a terminal at any time via the Terminal menu or by pressing the keyboard shortcut shown in the menu. The terminal opens in the lower panel, with its working directory set to your workspace root.

Important Paths

  • code-server config: ~/.config/code-server/config.yaml
  • Workspace directory: /var/lib/code-server
  • Nginx config: /etc/nginx/sites-available/code-server

Support Details

Resources

New apps added every week

Subscribe to get notified when we launch new 1-click apps — from AI tools to databases and developer stacks.

Browse marketplace

More apps

Strapi

Strapi gives developers the freedom to use their favorite tools and frameworks while allowing editors to manage and distribute their content using an intuitive admin interface.

Read more

Erxes

Erxes is an open-source experience operating system (XOS) and the open-source alternative to HubSpot. It enables businesses, SaaS providers, and digital agencies to build unified customer experiences across all touchpoints from live chat and email to sales pipelines and CRM.

Read more