azure - Microsoft 托管代理 - 指定与组织不同的区域

标签 azure azure-devops azure-pipelines

我发现 Azure Microsoft 托管的构建代理与 Azure DevOps 组织分配在同一地理位置。但是,是否可以请求将 Microsoft 托管的构建代理分配到不同的区域?

我们的问题是,我们的 Azure DevOps 组织位于 eastus2 区域,该区域的办事处位于美国、欧盟和澳大利亚。对于测试设置,我们可以随时随地从 azure 获取资源。前任。 rabbitmq 容器。不同的办公室维护自己的订阅,并在靠近其办公室的同一区域维护不同的资源组。 鉴于此,我们观察到,如果 AU 中的某个人设置了一个管道来使用rabbitmq 容器,那么它会被分配在与资源组(Microsoft 在美国托管代理的区域)相同的区域中,并测试超时。 但是,如果我们将资源组更改为 EU/US 或将资源更改为 EU/US,测试不会超时。鉴于每个办事处都希望将资源放在与办事处相同的地区,有什么建议可以解决这个问题吗?

最佳答案

正如所写here

Your hosted agents run in the same Azure geography as your organization. Each geography contains one or more regions. While your agent may run in the same region as your organization, it is not guaranteed to do so. To obtain the complete list of possible IP ranges for your agent, you must use the IP ranges from all of the regions that are contained in your geography. For example, if your organization is located in the United States geography, you must use the IP ranges for all of the regions in that geography.

这并不一定意味着您的组织与您的代理位于同一区域。他们位于同一地理位置。

但是回答你的问题,这是不可能请求其他地区的代理的。因此,如果您需要,您需要考虑在您赢得的基础设施上使用自托管代理。您可以创建多个代理池并处理它们以满足您的需求。

关于azure - Microsoft 托管代理 - 指定与组织不同的区域,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69277359/

相关文章:

python - 使用 python 创建 csv 文件并将其上传到 azure blob 存储

Azure Pipeline 将 DacPac 部署到 Azure SQL - 如何添加防火墙规则?

azure - Azure Devops for Function App 中的交换槽任务

azure - 在失败的任务上继续 Azure Pipeline

azure - Log4net.Azure 配置

azure - 对于一次性下载的 Blob,CDN 是否会比普通 Blob 存储改善延迟?

javascript - azure devops 中的 Testcafe 具有特定 URL

docker - 在 Azure Pipelines 中指定 Dockerfile 路径

azure - 允许除 TCP 或 UDP 之外的协议(protocol)的端点

c# - VSTS 版本 : Create Release using c# NuGet package