Azure VM上的Azure Pipelines代理 [英] Azure Pipelines agent on Azure VM

查看:67
本文介绍了Azure VM上的Azure Pipelines代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Azure的Windows VM上设置自定义生成代理.我从Azure Pipelines安装了构建代理.VM显示在代理程序池中,但处于脱机状态.对于此VM,我使用默认设置,因此它自动创建了虚拟网络,公共IP和网络安全组.修改了网络安全组,以仅允许来自我的IP地址的RDP通信,并允许HTTPS通信.我认为此设置会阻止Azure Pipelines将数据发送到VM.

I am trying to setup a custom build agent on a Windows VM in Azure. I installed the build agent from Azure Pipelines. The VM shows in the agent pool, but is offline. For this VM I used the default settings, so it automatically created a virtual network, public IP, and network security group. The network security group is modified to allow RDP traffic from my IP address only, and to allow HTTPS traffic. I am assuming something with this setup is preventing Azure Pipelines from sending data to the VM.

我的第一个问题是如何使该设置正常工作.我想念什么?

My first question is how do I get this setup to work. What am I missing?

我的第二个问题是,如何通过删除公用IP和VM之间的默认链接,并最终通过防火墙阻止对VM的直接访问,使它以更安全的方式工作?

My second question is how do I get this to work in a more secure way by removing the default link between the public IP and the VM, and ultimately blocking direct access to the VM with a firewall?

推荐答案

  1. VM仅需要对Azure Devops的出站HTTPS访问
  2. 您不需要代理vm的公共IP

https://docs.microsoft.com/zh-CN/azure/devops/pipelines/agents/v2-windows?view = azure-devops#im正在运行防火墙和我的代码在Azure Repos中,URL是什么,代理在做什么-需要与

这篇关于Azure VM上的Azure Pipelines代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆