简体   繁体   中英

How can I create a new build agent on Azure to communicate with my private DNS and the release pipline on Azure DevOps?

I have a private DNS on an app-service, when I try to deploy to it, I am getting and error that it can't find the server to deploy to. I think that is because you can access it internally.

I wanted to see if I can create a build-agent on Azure that will be responsible for translating those Url to the specified app-service? I am not sure how I can go through that. Can someone give me some directions on what to do?

According to your previous question, I checked your app from our backend and found it is under ILB ASE .

By default, if you'd like to deploy web app manually from local machine (eg VisualStudio), you need make sure the machine can connect to the same virtual network.

Same as this, Azure devops is an internet-based CI systems, the CI/CD process will be successful with ILB ASE if the Build agent is internet accessible and on the same network as ILB ASE . We have detailed explanation on this doc .

Internet-based CI systems, such as GitHub and Azure DevOps, will still work with an ILB ASE if the build agent is internet accessible and on the same network as ILB ASE. So in case of Azure DevOps, if the build agent is created on the same VNET as ILB ASE (different subnet is fine), it will be able to pull code from Azure DevOps git and deploy to ILB ASE. If you don't want to create your own build agent, you need to use a CI system that uses a pull model, such as Dropbox.


How to :

You can follow this official blog to deploy a build agent into the vNet where the ASE is deployed.

Tips :

We have released the Agent v2.175.2 now, so pls replace the VSTSAgentUrl value to https://vstsagentpackage.azureedge.net/agent/2.175.2/vsts-agent-win-x64-2.175.2.zip .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM