Disable Kudu tool for web app in Azure App service

1.1k Views Asked by At

Kudu is taking more than 90% of CPU. Is it possible to completely disable the Kudu tool?enter image description here

1

There are 1 best solutions below

0
Harshitha On BEST ANSWER
  • In KUDU Console => Process Explorer, we can see option for SCM.

enter image description here

  • I have added WEBSITE_DISABLE_SCM_SEPARATION key with value true in Azure Application Settings.

enter image description here

I can see the SCM in Process Explorer is not visible

enter image description here

We can restrict the access to KUDU or SCM in Networking Section of the Azure App Service.

  • Navigate to Azure Portal => Your Azure Web App Service => select Networking under Settings section.

  • Under Inbound Traffic, select Access restriction.

enter image description here

  • Select WebAppName.scm.azurewebsites.net tab and click + Add rule.
  • Under source settings => in IP Address Block , provide the set of IP Address which you want to block the SCM.

enter image description here

  • When I try to access the SCM URL, I got the below error. enter image description here

References taken from Doc 1 and 2