How to deploy into a web app thats inside a ILB ASE using the ASE-s private up

Dorian Perić 0 Reputation points
2023-04-22T14:55:25.87+00:00

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 Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,205 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,052 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 26,321 Reputation points Microsoft Employee
    2023-04-23T01:52:21.8833333+00:00

    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.

    0 comments No comments