我发现 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/