Answers: <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>
  
Answers: CC BY-SA 4.0
Answers: 2021-01-24T20:13:37.007Z
Answers: 2021-10-16T13:54:33.563Z
Answers: 2021-10-16T13:54:33.563Z
Answers: Kristian Kanchev
Body: <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>
  
Tags: <azure-devops><azure>
Title: Azure DevOps deploy to Azure VM's without a public IP
UserDisplayName: sipsorcery
ThreadText: # 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)
  
  
  ---
  
  