BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDesigning and Implementing Microsoft DevOps Solutions (AZ-400)Complex pipeline scenarios
Lesson281 words

Complex pipeline scenarios

Develop and implement complex pipeline scenarios

The objective names hybrid pipelines, VM templates, and self-hosted runners or agents. These are the scenarios where the simple hosted-agent story runs out.

Hybrid: cloud control plane, on-premises execution

The usual shape is Azure Pipelines (or GitHub Actions) orchestrating, while the work runs on machines you own inside your network.

Loading Diagram...
Figure 1 — Mermaid diagram

The critical property: the agent initiates the connection outbound. You do not open inbound firewall ports to the internet for the service to reach in. That single fact answers most "how do we deploy on-premises without exposing anything" questions.

Environments with VM resources

Registering VMs as resources in an environment gives you deployment history per machine and unlocks the rolling strategy — which, as covered elsewhere, is VM-only. Tags on the VM resources let a deployment job target a subset.

Scaling self-hosted capacity

ApproachTrade-off
Fixed agent poolSimple; idle cost at trough, queueing at peak
VM Scale Set agentsElastic; you own the scale set
Managed DevOps PoolsElastic; Microsoft manages more of it — current recommendation

Container jobs and service containers

Running a job in a container pins the toolchain to an image rather than the agent's installed software, which is how you get reproducibility on a self-hosted agent whose machine state persists. Service containers provide dependencies — a database, a message broker — for the duration of the job.

Primary sources

  • https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/agents
  • https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases
All Designing and Implementing Microsoft DevOps Solutions (AZ-400) Study Resources

Related Notes

  • Agent and runner infrastructure421 words
  • Agent and runner infrastructure — quick notes150 words
  • Alerting on pipeline events255 words
  • Alerting on pipeline events — quick notes94 words
  • Analyzing usage and application performance241 words
  • Analyzing usage and application performance — quick notes73 words
  • Appropriate access levels217 words
  • Appropriate access levels — quick notes85 words
  • Automating container scanning277 words
  • Automating container scanning — quick notes96 words
  • Automating documentation from Git history191 words
  • Automating documentation from Git history — quick notes55 words

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up.

Start Studying

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free
Designing and Implementing Microsoft DevOps Solutions (AZ-400) ResourcesExplore All HivesBlogHome

© 2026 BrainyBee. Free AI-powered exam prep.

Loading Diagram...
Flowchart, left to right. Self-hosted agent connects to ("On-prem database"). Self-hosted agent"] --> D[("On-prem database connects to Internal service.