Search code examples
continuous-integrationazure-devopsms-release-managementbuild-agent

Visual Studio Team Services: Agents Configuration for different environments in release definition


I am using Visual Studio Team Services, Release management and Continuous integration on the cloud. My release definition contains two environments: Dev and PRO.

I want to know what the possible configuration if i don't want to buy a license. we need to associate each of the environments with specific agent. I guess they are called private agents.

So are the agents installed on those release environments (which are on local domain) private agents? if yes, can i configure those 2 environments to run under same agents and how?

What is the possible configuration where i can create 2 environments, each one corresponds to a different physical machine without paying for additional agents?


Solution

  • You only need to have a single Agent per network that you are deploying to (unless you want to deploy in parallel).

    The Agent is an orchestrator and does not need to be installed on the target environments. You use remote PowerShell (or other scripting) to execute tasks on the target servers for deployment.