GeekzSG
GeekzSG

Reputation: 963

Deploying to App Service Environment from Azure DevOps

We have 1 internal ASE in a subnet. In a different subnet in the same network, we have deployed a Virtual Machine that acts as Azure DevOps Agent Windows v2

We are able to deploy Web Apps manually (using Visual Studio) from a machine that access to this Virtual Network, but cant get deployment working from Azure DevOps.

Here's what we have done

The error we get during deployment is:

More Information: Could not connect to the remote computer ("{myapp}.scm.{customdomain}.com"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE.
Error: Unable to connect to the remote server
Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond xx.xx.xx.xx:443
Error count: 1.

Are we missing anything in NSG rules?

Upvotes: 3

Views: 5250

Answers (1)

DashleenBhandari-MSFT
DashleenBhandari-MSFT

Reputation: 651

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.

https://learn.microsoft.com/en-us/azure/app-service/environment/create-ilb-ase

You can also follow the detailed steps in this article

Hope this helps!

Upvotes: 5

Related Questions