Manage Azure Pipeline agents and pools
MS Learn module: Manage Azure Pipeline agents and pools · Learning objectives: choose between Microsoft-hosted and self-hosted agents, create agent pools, register agents, and match jobs to capable agents.
Overview
Every job needs compute. This module is about the where of CI: Microsoft-hosted vs self-hosted pools, how to register agents, and how pool: + capabilities route jobs.
Units / lessons covered
- Microsoft-hosted agents (vmImage) and pricing/minutes
- Self-hosted agents: install, configure with PAT, register, run
- Creating org/project agent pools and managing access
- Capabilities/demands and job-agent matching
Concepts introduced (link to term notes)
Key terms / commands
pool: vmImage:vspool: <poolName>·./config.sh/./run.sh· PAT (Agent Pools scope) · capabilities/demands:
Hands-on / what to try
Register a self-hosted agent into a project pool, declare a capability, then run a job with pool: myPool and a demands: filter; confirm it picks the right agent.
Exam focus
- Self-hosted agents poll (outbound HTTPS only), one job at a time.
- PAT scope needed: Agent Pools (read & manage).
- Capability/
demands:matching is a frequent exam question.
Related
Path MOC · set-up-ci-with-azure-pipelines · use-github-actions-for-ci