{"id":501,"date":"2026-07-30T22:46:22","date_gmt":"2026-07-30T22:46:22","guid":{"rendered":"https:\/\/windows-vps.org\/blog\/?p=501"},"modified":"2026-07-30T22:46:22","modified_gmt":"2026-07-30T22:46:22","slug":"windows-vps-build-agents-azure-devops","status":"publish","type":"post","link":"https:\/\/windows-vps.org\/blog\/windows-vps-build-agents-azure-devops\/","title":{"rendered":"Windows VPS for Self-Hosted Build Agents: Azure DevOps and GitHub Actions Setup"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Self-hosted build agents give you full control over your CI\/CD pipeline \u2014 custom software dependencies, faster builds with no queue times, and complete privacy for your build artifacts. A Windows VPS is the ideal platform for running Windows-based build agents, especially for .NET, C++, and Unity projects that require Windows-specific tooling.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This guide covers setting up self-hosted agents for both Azure DevOps Pipelines and GitHub Actions on a Windows VPS.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Use a Self-Hosted Windows Agent?<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>No queue wait:<\/strong> Microsoft-hosted agents can have 30-60 minute queue times during peak hours<\/li>\n<li><strong>Custom software:<\/strong> Pre-install SDKs, tools, and dependencies once instead of installing every build<\/li>\n<li><strong>Cost savings:<\/strong> One VPS (5-40\/mo) can replace 2000+ minutes\/month of hosted agents<\/li>\n<li><strong>Build speed:<\/strong> Dedicated CPU means consistent build times, no noisy neighbors<\/li>\n<li><strong>Security:<\/strong> Your source code and artifacts never leave your VPS<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/windows-vps.org\/\" \/>See the best Windows VPS providers for development<\/a> to find a suitable plan for your build server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Hardware Recommendations<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Build Type<\/th><th>Min Specs<\/th><th>Recommended<\/th><\/tr><\/thead><tbody>\n<tr><td>.NET \/ C# (small projects)<\/td><td>2 vCPU, 4 GB RAM, 50 GB SSD<\/td><td>4 vCPU, 8 GB RAM<\/td><\/tr>\n<tr><td>.NET \/ C# (large solutions)<\/td><td>4 vCPU, 8 GB RAM, 100 GB SSD<\/td><td>8 vCPU, 16 GB RAM<\/td><\/tr>\n<tr><td>C++ \/ Unreal Engine<\/td><td>4 vCPU, 16 GB RAM, 200 GB SSD<\/td><td>8 vCPU, 32 GB RAM<\/td><\/tr>\n<tr><td>Unity builds<\/td><td>4 vCPU, 8 GB RAM, 100 GB SSD<\/td><td>8 vCPU, 16 GB RAM<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Setting Up an Azure DevOps Self-Hosted Agent<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1. RDP into your Windows VPS. 2. Create a dedicated service account (not your admin account) for the agent. 3. Download the agent from Azure DevOps: Organization Settings \u2192 Agent Pools \u2192 Default \u2192 New Agent \u2192 Windows. 4. Extract the agent zip to <code>C:gents<\/code>. 5. Run <code>config.cmd<\/code> and enter your Azure DevOps URL, PAT token, and agent pool name. 6. Run <code>run.cmd<\/code> to test, then configure as a Windows service: <code>.config.cmd --runasservice<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setting Up a GitHub Actions Self-Hosted Runner<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1. RDP into your Windows VPS. 2. Go to your GitHub repo \u2192 Settings \u2192 Actions \u2192 Runners \u2192 New self-hosted runner \u2192 Windows. 3. Download and extract the runner package. 4. Run <code>config.cmd --url https:\/\/github.com\/YOUR_ORG --token YOUR_TOKEN<\/code>. 5. Run <code>run.cmd<\/code> to verify, then install as a service: <code>.svc.ps1 install<\/code>. 6. Add a <code>.github\/workflows\/build.yml<\/code> file with <code>runs-on: self-hosted<\/code> to use your runner.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Pre-Installing Build Dependencies<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The main advantage of self-hosted agents is pre-installing dependencies. Run these once on your VPS and every build uses them instantly:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>.NET SDKs: <code>winget install Microsoft.DotNet.SDK.8<\/code><\/li>\n<li>Visual Studio Build Tools: Install via Visual Studio Installer with the workloads you need (ASP.NET, Desktop, UWP)<\/li>\n<li>Node.js, Python, Git: Install via winget or chocolatey<\/li>\n<li>SQL Server LocalDB or Developer Edition for integration tests<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Security Best Practices<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Run the agent under a dedicated service account with minimal privileges<\/li>\n<li>Enable Windows Firewall to restrict inbound traffic to RDP\/SSH only<\/li>\n<li>Use Windows Defender or a third-party AV to scan build outputs<\/li>\n<li>Rotate PAT tokens and registration tokens regularly<\/li>\n<li>Separate production and staging build pools on different VPS instances<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">A well-configured self-hosted Windows build agent pays for itself in developer productivity within weeks. Start with a 4 vCPU \/ 8 GB RAM VPS \u2014 you can always scale up as your pipeline grows. <a href=\"https:\/\/windows-vps.org\/\" \/>Find the right Windows VPS for your build infrastructure<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Self-hosted build agents give you full control over your CI\/CD pipeline \u2014 custom software dependencies, faster builds with no queue times, and complete privacy for your build artifacts. A Windows VPS is the ideal platform for running Windows-based build agents, especially for .NET, C++, and Unity projects that require Windows-specific tooling. This guide covers setting &#8230; <a title=\"Windows VPS for Self-Hosted Build Agents: Azure DevOps and GitHub Actions Setup\" class=\"read-more\" href=\"https:\/\/windows-vps.org\/blog\/windows-vps-build-agents-azure-devops\/\" aria-label=\"Read more about Windows VPS for Self-Hosted Build Agents: Azure DevOps and GitHub Actions Setup\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":1,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-501","post","type-post","status-publish","format-standard","hentry","category-tutorials-guides"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.1 (Yoast SEO v26.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Windows VPS for Self-Hosted Build Agents: Azure DevOps and GitHub Actions Setup - Windows VPS Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/windows-vps.org\/blog\/windows-vps-build-agents-azure-devops\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Windows VPS for Self-Hosted Build Agents: Azure DevOps and GitHub Actions Setup\" \/>\n<meta property=\"og:description\" content=\"Windows VPS for Self-Hosted Build Agents: Azure DevOps and GitHub Actions Setup\" \/>\n<meta property=\"og:url\" content=\"https:\/\/windows-vps.org\/blog\/windows-vps-build-agents-azure-devops\/\" \/>\n<meta property=\"og:site_name\" content=\"Windows VPS Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-30T22:46:22+00:00\" \/>\n<meta name=\"author\" content=\"windows-vps\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"windows-vps\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/windows-vps.org\/blog\/windows-vps-build-agents-azure-devops\/\",\"url\":\"https:\/\/windows-vps.org\/blog\/windows-vps-build-agents-azure-devops\/\",\"name\":\"Windows VPS for Self-Hosted Build Agents: Azure DevOps and GitHub Actions Setup - Windows VPS Blog\",\"isPartOf\":{\"@id\":\"https:\/\/windows-vps.org\/blog\/#website\"},\"datePublished\":\"2026-07-30T22:46:22+00:00\",\"author\":{\"@id\":\"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/44caceed916d0db318aa08d5623a7a58\"},\"breadcrumb\":{\"@id\":\"https:\/\/windows-vps.org\/blog\/windows-vps-build-agents-azure-devops\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/windows-vps.org\/blog\/windows-vps-build-agents-azure-devops\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/windows-vps.org\/blog\/windows-vps-build-agents-azure-devops\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/windows-vps.org\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Windows VPS for Self-Hosted Build Agents: Azure DevOps and GitHub Actions Setup\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/windows-vps.org\/blog\/#website\",\"url\":\"https:\/\/windows-vps.org\/blog\/\",\"name\":\"Windows VPS Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/windows-vps.org\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/44caceed916d0db318aa08d5623a7a58\",\"name\":\"windows-vps\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3f2573db5afcd1a6ab9abcc5d48fc8e42584bc87ab9d98cc156e5b2097766dd9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3f2573db5afcd1a6ab9abcc5d48fc8e42584bc87ab9d98cc156e5b2097766dd9?s=96&d=mm&r=g\",\"caption\":\"windows-vps\"},\"sameAs\":[\"https:\/\/windows-vps.org\/blog\"],\"url\":\"https:\/\/windows-vps.org\/blog\/author\/myxiechengxuan\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Windows VPS for Self-Hosted Build Agents: Azure DevOps and GitHub Actions Setup - Windows VPS Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/windows-vps.org\/blog\/windows-vps-build-agents-azure-devops\/","og_locale":"en_US","og_type":"article","og_title":"Windows VPS for Self-Hosted Build Agents: Azure DevOps and GitHub Actions Setup","og_description":"Windows VPS for Self-Hosted Build Agents: Azure DevOps and GitHub Actions Setup","og_url":"https:\/\/windows-vps.org\/blog\/windows-vps-build-agents-azure-devops\/","og_site_name":"Windows VPS Blog","article_published_time":"2026-07-30T22:46:22+00:00","author":"windows-vps","twitter_card":"summary_large_image","twitter_misc":{"Written by":"windows-vps","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/windows-vps.org\/blog\/windows-vps-build-agents-azure-devops\/","url":"https:\/\/windows-vps.org\/blog\/windows-vps-build-agents-azure-devops\/","name":"Windows VPS for Self-Hosted Build Agents: Azure DevOps and GitHub Actions Setup - Windows VPS Blog","isPartOf":{"@id":"https:\/\/windows-vps.org\/blog\/#website"},"datePublished":"2026-07-30T22:46:22+00:00","author":{"@id":"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/44caceed916d0db318aa08d5623a7a58"},"breadcrumb":{"@id":"https:\/\/windows-vps.org\/blog\/windows-vps-build-agents-azure-devops\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/windows-vps.org\/blog\/windows-vps-build-agents-azure-devops\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/windows-vps.org\/blog\/windows-vps-build-agents-azure-devops\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/windows-vps.org\/blog\/"},{"@type":"ListItem","position":2,"name":"Windows VPS for Self-Hosted Build Agents: Azure DevOps and GitHub Actions Setup"}]},{"@type":"WebSite","@id":"https:\/\/windows-vps.org\/blog\/#website","url":"https:\/\/windows-vps.org\/blog\/","name":"Windows VPS Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/windows-vps.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/44caceed916d0db318aa08d5623a7a58","name":"windows-vps","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3f2573db5afcd1a6ab9abcc5d48fc8e42584bc87ab9d98cc156e5b2097766dd9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3f2573db5afcd1a6ab9abcc5d48fc8e42584bc87ab9d98cc156e5b2097766dd9?s=96&d=mm&r=g","caption":"windows-vps"},"sameAs":["https:\/\/windows-vps.org\/blog"],"url":"https:\/\/windows-vps.org\/blog\/author\/myxiechengxuan\/"}]}},"_links":{"self":[{"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/posts\/501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/comments?post=501"}],"version-history":[{"count":1,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/posts\/501\/revisions"}],"predecessor-version":[{"id":502,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/posts\/501\/revisions\/502"}],"wp:attachment":[{"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/media?parent=501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/categories?post=501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/tags?post=501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}