---
title: "Discussion on \" How I Set Up a Self-Hosted Azure DevOps Agent on Ubuntu (And What I Learned the Hard Way)\" | Hashnode"
description: "Discussion on \" How I Set Up a Self-Hosted Azure DevOps Agent on Ubuntu (And What I Learned the Hard Way)\". Step-by-step guide to setting up a self-hosted Azure DevOps build agent on Ubuntu 22.04. Covers PAT creation, agent pool setup, VM provisioning, agent installation, and running a test pipeline."
url: "https://hashnode.com/posts/how-i-set-up-a-self-hosted-azure-devops-agent-on-ubuntu-and-what-i-learned-the-hard-way/69d8f887c8e5007ddba33f71"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How I Set Up a Self-Hosted Azure DevOps Agent on Ubuntu (And What I Learned the Hard Way)](https://vivianokose.hashnode.dev/how-i-set-up-a-self-hosted-azure-devops-agent-on-ubuntu-and-what-i-learned-the-hard-way?utm_source=hashnode&utm_medium=feed)

Step-by-step guide to setting up a self-hosted Azure DevOps build agent on Ubuntu 22.04. Covers PAT creation, agent pool setup, VM provisioning, agent installation, and running a test pipeline.

Apr 10 · 4 min read · vivianokose.hashnode.dev  
Read the article

-   [#azure-devops](https://hashnode.com/tag/azure-devops)
-   [#linux](https://hashnode.com/tag/linux)
-   [#cicd-pipeline](https://hashnode.com/tag/cicd-pipeline)
-   [#cloud-computing](https://hashnode.com/tag/cloud-computing)
-   [#clouddevopsjourney](https://hashnode.com/tag/clouddevopsjourney)

## Written by

[Vivian Chiamaka Okose](https://hashnode.com/@vivianokose)

@vivianokose

  
[View profile](https://hashnode.com/@vivianokose)

Cloud DevOps Engineer | AWS • Terraform • Claude Code • Agentic AI | viviancloud.site

I build production-grade cloud infrastructure and agentic AI pipelines on AWS. With a background in biochemistry and biotechnology, I bring scientific precision to the systems I design. Every pipeline I build has deliberate safety guardrails -- minimal permissions, read-only auditors, plan-before-apply gates. Safety is architecture, not discipline. Currently writing a 7-part series documenting the Agentic Infrastructure project: a complete Claude Code pipeline from environment setup to live AWS deployment, SubAgents, MCP integration, and safety hooks. Portfolio: viviancloud.site

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
