Automatic provisioning of VMs as self-hosted build agents RRS feed

  • Question

  • Hello,

    In Azure Devops, we have an agent pool to manage build requests, where all agents are VMs.  However, because the workload is variable, for a substantial amount of time these VMs are idle.  We have a strong interest in changing things so that the VMs are dynamically created and added to the agent pool as requests come in, and then destroyed when not needed.  Is there a supported way in Azure Devops to do this?

    We're familiar with Microsoft hosted agents, but believe that this won't work in our situation.  We're also investigating creating a more complicated custom solution using REST APIs that attempts to measure demand and provision/deallocate VMs appropriately, but if a simpler way exists this would be very helpful to us.

    Thanks so much!

    Wednesday, January 9, 2019 12:26 AM