Windows VPS for Remote Development Teams: Setting Up VS Code Server, Git, and CI/CD for .NET Projects

Windows VPS for Remote Development Teams: VS Code Server, Git, and CI/CD for .NET Projects

Remote development has become the standard for software teams worldwide. A Windows VPS provides a centralized development environment that your entire team can access from anywhere, eliminating setup inconsistencies. This guide covers how to set up a complete remote development workflow on a Windows VPS — including code-server, Git infrastructure, CI/CD runners, and SQL Server.

For the best experience, choose a VPS with sufficient resources. Compare Windows VPS providers on our comparison page to find a plan that fits your development needs.

Architecture Overview

Your remote development environment consists of four layers: Development IDE (code-server or VS Code Remote SSH), Source control (Git with SSH authentication), CI/CD (self-hosted runners for Azure DevOps or GitHub Actions), and Database (SQL Server Developer Edition).

Step 1: Set Up VS Code Server (code-server)

code-server brings the full VS Code experience to your browser. Install WSL2 on your Windows VPS, then install code-server via the install script. Configure it with a password and bind to 0.0.0.0:8080. Use IIS reverse proxy with URL Rewrite and ARR modules to expose it securely on port 443 with an SSL certificate. Alternatively, use VS Code Remote SSH by installing OpenSSH Server on Windows and connecting via the Remote-SSH extension from local VS Code instances.

Step 2: Configure Git Repository Management

Install Git for Windows, create a repositories directory, initialize bare repositories for each project, set up SSH key authentication by adding developer public keys, and have developers clone using the SSH URL format. For a more full-featured experience, consider installing Gitea — it is lightweight and runs well on 2 GB RAM.

Step 3: Set Up CI/CD Runners

Azure DevOps Self-Hosted Agent

Download the Azure DevOps agent from your DevOps organization, extract to C:\azure-agent, run config.cmd with your Azure DevOps organization URL and PAT token, and install as a Windows service. The agent automatically picks up build and release jobs from your pipelines.

GitHub Actions Self-Hosted Runner

Go to your repository Settings > Actions > Runners, follow the Windows setup instructions, run config.cmd with your URL and token, then install and start the service with svc.ps1.

FeatureAzure DevOps AgentGitHub Actions Runner
Setup complexityMediumLow
Windows supportExcellent (native .NET)Good (PowerShell + .NET)
Service installationBuilt-inPowerShell script
Best for.NET/Azure-heavy projectsMulti-platform open source

Step 4: Install SQL Server for Development

SQL Server Developer Edition is free for development. Install it on your Windows VPS, configure mixed-mode authentication, enable TCP/IP in SQL Server Configuration Manager, allow port 1433 in Windows Firewall, and create separate databases per developer for isolated workspaces.

Security Best Practices

  • Use SSH key authentication only — disable password-based SSH login
  • Restrict IP access to your team’s IP range
  • Enable Windows Firewall — only open ports 22, 443, and 1433 if needed
  • Install Let’s Encrypt SSL certificates for code-server
  • Configure automatic Windows Updates for security patches
  • Create separate Windows user accounts per developer for accountability

Recommended VPS Configuration by Team Size

Team SizevCPUsRAMStorageEstimated Cost
1-2 developers48 GB100 GB SSD0-70/month
3-5 developers816 GB200 GB SSD00-150/month
6-10 developers1632 GB500 GB SSD00-300/month

A Windows VPS provides the centralized, consistent development environment that remote teams need. By combining code-server, Git, CI/CD runners, and SQL Server on a single VPS, your team can start coding within minutes. Visit windows-vps.org to explore detailed Windows VPS guides for the best hosting options for your remote development workflow.

Leave a Comment