hidden gems of azure websites: the secret of kudu
TRANSCRIPT
Welcome to the
Kuala Lumpur, Malaysia
Hidden Gems of Azure Websites:The Secret of Kudu
Juv Chan (@juvchan)[email protected] Developer, Cloud Services (www.sitecore.net)
Agenda• Limitations for Diagnostics and Troubleshooting in Azure Websites
• What is Kudu?
• Kudu Features Demo
• What are Site Extensions?
• Site Extensions Demo
• Q&A
Limitations for Azure Website• Azure website DOES NOT allow Remote Desktop
• Lack of control over platform configurations (Typical PaaS model)
• Slow Retrieval of Diagnostic Information via FTP
• The deployed website app settings DOES NOT appear in Management Portal
What is Kudu? • Also known as “Site Control Manager” (SCM)
• Pre-Installed “Site Extension” for the Azure Website
• Parallel website available together with every deployed Azure website
• Open Source project by Microsoft, available on Github https://github.com/projectkudu/
• Wiki link https://github.com/projectkudu/kudu/wiki
Kudu – The “Hidden Gem” in Azure Website • The “secret” path to access Kudu on your Azure website
https://mysite.scm.azurewebsites.net/
• Available for all Azure Website Service Tiers: Free, Shared, Basic, Standard
• Only the Azure subscription Service Administrator and Co-Administrator can access it by authentication
• Note: Does Not work with the custom domain name bound to the Azure website
E.g. Azure website ABC has a custom domain: abc.com https://mysite.scm.abc.com/ not able to access Kudu!
Kudu Features• Environment• REST API• Debug Console (CMD, PowerShell)• Process Explorer• Diagnostic Dump• Log Stream• Web Hooks• Deployment Script• Azure App Service Support• XML-Document-Transform (XDT)• Site Extensions
Kudu Environment
Demo
Kudu Process Explorer
Demo
Kudu Debug Console
Demo
Kudu Diagnostic Dump
Demo
Kudu Log Stream
Demo
Azure App Service Support (Preview)
Demo
XML-Document-Transform (XDT)
Overwriting IIS Root Configuration
Demo
Site Extensions• Enhance the ability to manage Azure website
• Pre-Installed Site Extensions Kudu, Visual Studio Online
• Able to access to file and environments
• You can write your own and share to Site Extensions Gallery
• Accessible only to Site Owners
• Link http://www.siteextensions.net/
Site Extensions
Azure Web Site
User Site
Pre-installedSite Extensions
Visual Studio Online
Kudu
“Bring your own”Site Extensions
Upload to site
Install from gallery
foo.azurewebsitesnet foo.scm.azurewebsitesnet
Site Extensions
Demo
Key Takeaways / Recommendations• Start using Kudu and other Site extensions useful to you!
• Great & Powerful Extension Tools for Azure website
• Constant Updates and New Features from Microsoft
• Get the source and learn from it!
Pop Quiz Bonus Stage
Name one of the pre-installed Site Extensions
Fill in evaluation forms and win prizes!
• Go to http://malaysia.azurebootcamp.net/ to access links to online evaluation forms• Direct link to this session’s evaluation form:
http://www.instant.ly/s/7cSYK• Please check with registration counter for your
participant ID• Winner of each session will be announced after
lunch break, afternoon coffee break and during closing• Winner then proceed to registration counter to
draw prizes
Please share our “little” event on the WWW by any means
Use the HASHTAG
#GLOBALAZURE extensively
Thank You!