The command failed because you can't access the SCM that way. Even still, there should be DNS records in Azure DNS for your site, <your-site>.appserviceenvironment.net; see Portal Dependencies for more information. You should still be able to nameresolve that host name and get an IP. You can also use the Azure CLI instead. Deploying to Network-secured sites, Part 2 is a walk-through of how to use a GitHub action to make a deployment into a ILB ASE.
How to deploy into a web app thats inside a ILB ASE using the ASE-s private up
Im using a p2s connection into my vnet to deploy my code onto a web app thats inside a ILB ASE. problem is i dont know on what path to do a REST request to get that right and i cant find it in the docs or anywhere else. this is what i've tried but no luck; curl --interface "${{ env.INTERFACE_NAME }}" -k -X POST -u usernameftp:passwordftp% --data-binary 'pathtomyzipfile' https://10.2.1.4/webappname.scm.ilbasename.appserviceenvironment.net/api/publish?type=zip P.S. I need to use the priv IP of the ILB ASE bcz that's the easiest way w/o any dns resolutions, or if you have a better solution i can implement in my .yaml file i wouldnt mind that
Azure Virtual Network
Azure App Service
1 answer
Sort by: Most helpful
-
Ryan Hill 30,281 Reputation points Microsoft Employee Moderator
2023-04-23T01:52:21.8833333+00:00