forked from projectkudu/kudu
-
Notifications
You must be signed in to change notification settings - Fork 0
Accessing the kudu service
David Ebbo edited this page Mar 13, 2014
·
13 revisions
Every Azure web site has an associated 'scm' service site, which runs both Kudu and other Site Extensions.
If your web site has URL http://mysite.azurewebsites.net/, then the root URL of the Kudu service is https://mysite.scm.azurewebsites.net/. Note the added scm token.
For mobile services, the site URL looks like https://myservice.scm.azure-mobile.net/, and the Kudu root URL is
https://myservice.scm.azure-mobile.net/default.aspx.
Notes:
- The scm service should always be accessed over https and not http to protect sensitive data.
- The scm service host name is not affected by the presence of custom host names in your site. It always has the pattern above.
- The scm service will prompt you for credentials. Here, you can use either the user publishing credentials (same as you use for git), or the site level credentials. See Deployment-credentials for details.
Notes:
- This trick only works for sites that have git/hg/dropbox publishing enabled
- It doesn't work in IE
Here are the steps:
- In the Azure portal, go to the Configure tab, and look for 'DEPLOYMENT TRIGGER URL'. You'll see a URL that looks like this:
https://$mysite:37jbd3ejoQYAHa1bwufqpeFoxGNuF4ZohhjJcPLelsRll4tCyJe0c5Sv2GJv@mysite.scm.azurewebsites.net/deploy. Note that it has the site-level publishing credentials embedded, which is what makes it work without prompting for credentials. - Remove the /deploy at the end, and paste the rest in your browser's address bar. e.g.
https://$mysite:37jbd3ejoQYAHa1bwufqpeFoxGNuF4ZohhjJcPLelsRll4tCyJe0c5Sv2GJv@mysite.scm.azurewebsites.net. You're now looking at the root of the scm service, which runs the Kudu extension.
The root of the Kudu service has links to various things that can be done from there, and are discussed elsewhere in this wiki. e.g., you can:
- Get the Kudu diagnostic dump
- Launch the diagnostic console
- See info about the runtime environment
- Navigate the REST API