Microsoft-hosted vs self-hosted agents vs Managed DevOps Pools.
IntermediateConceptAzure DevOps, Bicep and Terraform
Answer
| Microsoft-hosted | Self-hosted | Managed DevOps Pools | |
|---|---|---|---|
| Maintenance | None, fresh VM per job | You patch and scale | Azure manages VMs from your images |
| Network | Public internet only | Inside your VNet | Can inject into your VNet |
| Caching | None between jobs | Persistent | Configurable |
| Cost | Parallel jobs | Your VMs | Your Azure VMs, scale to zero |
Private AKS clusters and private endpoints force you off Microsoft-hosted agents. Managed DevOps Pools replaced the VMSS agent pool pattern as the low-maintenance private option.
More on Azure DevOps, Bicep and Terraform
What services make up Azure DevOps?BeginnerWhat are branch policies in Azure Repos?BeginnerExplain the YAML pipeline structure in Azure Pipelines.BeginnerWhat are service connections and how should they authenticate?IntermediateWhat are environments in Azure Pipelines?IntermediateWhat deployment strategies do deployment jobs support?Intermediate