Foyzul Karim
Foyzul Karim

Reputation: 4492

Deploy an App into Azure App Service inside of Azure's Internal App Service Environment (ASE ILB)

I have created a ILB in a VNET inside of Azure.

enter image description here

And I created an App Service Plan of that ASE (ILB) like below:

enter image description here

And I have hosted an App inside of the ILB. like below

enter image description here

To access the domain, I have created a Virtual machine inside of the VNET and added a host entry inside of that VM.

192.168.251.11 bb-pg-backend.bb-pg-ase2-app

So, when I hit the above URL (http://bb-pg-backend.bb-pg-ase2-app) I can see the below page.

enter image description here

Now from inside of the VM, I want to publish my code to the app service. I can create the profile successfully.

enter image description here

The error it is showing is

enter image description here

Should it not automatically do the bonding with Azure ASE (ILB) and publish the code to the app service?

Upvotes: 2

Views: 581

Answers (1)

Foyzul Karim
Foyzul Karim

Reputation: 4492

When I downloaded the publish profile from Azure, I found the below URLs.

publishUrl="bb-pg-backend.scm.bb-pg-ase2-app:443"

enter image description here

So, I added a new host entry with scm word

192.168.251.11 bb-pg-backend.scm.bb-pg-ase2-app

Then I could successfully deploy from Visual Studio. An empty web api application with Values Controller would return data like below.

enter image description here

That's all. Thanks.

Upvotes: 1

Related Questions