Kudu: Azure Web Diagnostic engine

Introduction

Kudu is the engine behind GIT deployments in Azure Web Sites. Using this feature, we can capture hang dump which is very helpful for analysis performance issues. Apart from it, we can see Log Stream, web jobs dashboard, web hooks and extension, great feature. We can manage  WebJobs and various other features in Azure Web Sites. KUDU can also run outside of Azure.There is a nice set of troubleshooting and analysis tools for use with Microsoft Azure Web Apps. It is useful for capturing a memory dump, looking at deployment logs, viewing configuration parameters.

**Procedure **

-> To access your KUDU console.

-> Put **scm **after a name of the site like https://*****.scm.azurewebsites.net and enter your DEPLOYMENT credentials.

 

https://2.bp.blogspot.com/-tQJDsSgt_6w/VsXqSmBUGYI/AAAAAAAAJqQ/W36MHWgQNuM/s640/apture.PNG

-> Once authenticated, you should see a page similar to the one

https://4.bp.blogspot.com/-yx4cP73VdEQ/VsXqadq_jgI/AAAAAAAAJqU/JU_eeMRg7oU/s640/2016-02-18%2B%25281%2529.png

KUDU Web Site troubleshooting console

-> Debug Console -> **PowerShell **

Enter the following command 

->  PowerShell –command get-process

You can see the processes running on your website

 

https://4.bp.blogspot.com/--VpF7-o-tFw/VsXrZBSMPOI/AAAAAAAAJqs/fipRwzrnelw/s640/2016-02-18%2B%25288%2529.png

 

Powershell

Here are the processes that are run which are accessed using Powershell.

https://2.bp.blogspot.com/-0WuB2hzAfFw/VsXshoYSdfI/AAAAAAAAJq4/r0Iz-v3RXg4/s640/Capture.PNG

Process Explore

Here we can also show the current process by KUDU Dashboard, by clicking on process Explore.

https://3.bp.blogspot.com/-D34OQlJtE88/VsXqadwKyyI/AAAAAAAAJqc/WrZDTOyMkqE/s640/2016-02-18%2B%25283%2529.png

Debugging Tool

For Debug purposes navigate to tools and can manage Memory Dumps, LogStream, running Web Jobs, Web HOOKS etc in your website which is deployed to Microsoft Azure.

https://3.bp.blogspot.com/-BI6AMJGFEdM/VsXqawyWyfI/AAAAAAAAJqg/H2lhN9QgI_s/s320/2016-02-18%2B%25284%2529.png

Site Extensions with WebApp

By clicking on Site Extension, we can Install Tons of services Like Visual Studio Light Weight which Integrated with your File System and many more extensions which some of them for PHP developer or python-dev.

https://1.bp.blogspot.com/-bfYhgubAc7Q/VsXqbO0pkMI/AAAAAAAAJqk/UWEqqtRdwL8/s640/2016-02-18%2B%25285%2529.png

Environment Tool

By clicking on Environment you can see the Information about your site like 

  • System Info
  • App Settings
  • Connection Strings
  • Environment variables
  • PATH
  • HTTP Headers
  • Server variables

https://1.bp.blogspot.com/-VNtbUhCmwlo/VsXvUIST8qI/AAAAAAAAJrE/dQrKCncJRDs/s640/2016-02-18%2B%25289%2529.png