hidden gems of azure websites: the secret of kudu
TRANSCRIPT
![Page 1: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/1.jpg)
Welcome to the
Kuala Lumpur, Malaysia
![Page 2: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/2.jpg)
Hidden Gems of Azure Websites:The Secret of Kudu
Juv Chan (@juvchan)[email protected] Developer, Cloud Services (www.sitecore.net)
![Page 3: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/3.jpg)
Agenda• Limitations for Diagnostics and Troubleshooting in Azure Websites
• What is Kudu?
• Kudu Features Demo
• What are Site Extensions?
• Site Extensions Demo
• Q&A
![Page 4: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/4.jpg)
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
![Page 5: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/5.jpg)
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
![Page 6: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/6.jpg)
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!
![Page 7: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/7.jpg)
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
![Page 8: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/8.jpg)
Kudu Environment
Demo
![Page 9: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/9.jpg)
Kudu Process Explorer
Demo
![Page 10: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/10.jpg)
Kudu Debug Console
Demo
![Page 11: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/11.jpg)
Kudu Diagnostic Dump
Demo
![Page 12: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/12.jpg)
Kudu Log Stream
Demo
![Page 13: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/13.jpg)
Azure App Service Support (Preview)
Demo
![Page 14: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/14.jpg)
XML-Document-Transform (XDT)
Overwriting IIS Root Configuration
Demo
![Page 15: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/15.jpg)
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/
![Page 16: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/16.jpg)
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
![Page 17: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/17.jpg)
Site Extensions
Demo
![Page 18: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/18.jpg)
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!
![Page 19: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/19.jpg)
Pop Quiz Bonus Stage
Name one of the pre-installed Site Extensions
![Page 20: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/20.jpg)
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
![Page 21: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/21.jpg)
Please share our “little” event on the WWW by any means
Use the HASHTAG
#GLOBALAZURE extensively
![Page 22: Hidden Gems of Azure Websites: The Secret of Kudu](https://reader036.vdocuments.site/reader036/viewer/2022081605/5880af261a28abf32c8b6021/html5/thumbnails/22.jpg)
Thank You!