<p>Yes, it is possible. You can use Self-Hosted agents directly on one or all of the VMs: <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops" rel="nofollow noreferrer">Link</a></p>

CC BY-SA 4.0
2021-01-24T20:13:37.007Z
2021-10-16T13:54:33.563Z
2021-10-16T13:54:33.563Z
Kristian Kanchev
<p>Is it possible to deploy from Azure DevOps to an Azure VM that only has a private IP address? I need to deploy to VM's that won't always have a public IP address.</p>
<p>I thought there might have been some internal Azure network that could be used but running the deployment agent script on my VM without a public IP fails (it works if the machine does have a public IP). Other than that can Azure DevOps connect to a Azure VPN (Virtual Network Gateway) to access the VM's on my Virtual Network?</p>

<azure-devops><azure>
Azure DevOps deploy to Azure VM's without a public IP
sipsorcery
# Azure DevOps deploy to Azure VM's without a public IP

(Asked by: username_0 on 2021-01-22)

Is it possible to deploy from Azure DevOps to an Azure VM that only has a private IP address? I need to deploy to VM's that won't always have a public IP address.

I thought there might have been some internal Azure network that could be used but running the deployment agent script on my VM without a public IP fails (it works if the machine does have a public IP). Other than that can Azure DevOps connect to a Azure VPN (Virtual Network Gateway) to access the VM's on my Virtual Network?

**Tags:** azure-devops, azure


---

## 1 answers

### Answer by username_1 on 2021-01-24. Score: 1

Yes, it is possible. You can use Self-Hosted agents directly on one or all of the VMs: [Link](https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops)


---

