---
title: "Discussion on \"Automate Azure DevOps self-hosted agent installation using Terraform\" | Hashnode"
description: "Discussion on \"Automate Azure DevOps self-hosted agent installation using Terraform\". Azure Linux virtual machine deployment"
url: "https://hashnode.com/posts/azuredevops-linux-agent-install-using-terraform/603c9a1d0dad7e6b99e22571"
---

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

Discussion

# [Automate Azure DevOps self-hosted agent installation using Terraform](https://jamescook.dev/azuredevops-linux-agent-install-using-terraform?utm_source=hashnode&utm_medium=feed)

Azure Linux virtual machine deployment

Mar 1, 2021 · 4 min read · jamescook.dev  
Updated Apr 16, 2021  
Read the article

-   [#azure](https://hashnode.com/tag/azure)
-   [#devops](https://hashnode.com/tag/devops)
-   [#terraform](https://hashnode.com/tag/terraform)
-   [#automation](https://hashnode.com/tag/automation)
-   [#cloud](https://hashnode.com/tag/cloud)

## Written by

[James Cook](https://hashnode.com/@JamesCook)

@JamesCook · London, UK

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

Award-Winning Technology Executive Driving Platform, Risk & Scale

Executive technology leader responsible for platform reliability, cloud operations, security posture, and enterprise technology risk within an investor-backed fintech environment. I lead technology operations at the intersection of engineering execution, governance, and business outcomes — ensuring platforms are scalable, resilient, and trusted by investors, regulators, and clients. Currently VP of DevOps at InvestorFlow, where I focus on building board-ready technology operations, strengthening risk and resilience, and shaping long-term platform strategy to support growth and regulatory confidence.

## Responses 1

Markdown supported · ⌘↵ to post

[Cloud\_My\_Space](https://hashnode.com/@CloudMySpace)

[Feb 16, 2022](https://hashnode.com/posts/azuredevops-linux-agent-install-using-terraform/603c9a1d0dad7e6b99e22571/comment/620cfddc25673f2740eea2d7)

Can we install extension with out PAT?

[James Cook](https://hashnode.com/@JamesCook)

[Feb 18, 2022](https://hashnode.com/posts/azuredevops-linux-agent-install-using-terraform/603c9a1d0dad7e6b99e22571/comment/620cfddc25673f2740eea2d7#reply-620f65ead589905b41291fcc)

Hey, the PAT is needed as part of the agent install script so it can authenticate to your Azure DevOps. Its the recommended approach from Microsoft: [docs.microsoft.com/en-us/azure/devops/pipelines/a…](https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops#server-url-and-authentication.)
