hidden gems of azure websites: the secret of kudu

22
Welcome to the Kuala Lumpur, Malaysia

Upload: juv-chan

Post on 14-Apr-2017

172 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Hidden Gems of Azure Websites: The Secret of Kudu

Welcome to the

Kuala Lumpur, Malaysia

Page 2: Hidden Gems of Azure Websites: The Secret of Kudu

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

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

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

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

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

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

Kudu Environment

Demo

Page 9: Hidden Gems of Azure Websites: The Secret of Kudu

Kudu Process Explorer

Demo

Page 10: Hidden Gems of Azure Websites: The Secret of Kudu

Kudu Debug Console

Demo

Page 11: Hidden Gems of Azure Websites: The Secret of Kudu

Kudu Diagnostic Dump

Demo

Page 12: Hidden Gems of Azure Websites: The Secret of Kudu

Kudu Log Stream

Demo

Page 13: Hidden Gems of Azure Websites: The Secret of Kudu

Azure App Service Support (Preview)

Demo

Page 14: Hidden Gems of Azure Websites: The Secret of Kudu

XML-Document-Transform (XDT)

Overwriting IIS Root Configuration

Demo

Page 15: Hidden Gems of Azure Websites: The Secret of Kudu

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

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

Site Extensions

Demo

Page 18: Hidden Gems of Azure Websites: The Secret of Kudu

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

Pop Quiz Bonus Stage

Name one of the pre-installed Site Extensions

Page 20: Hidden Gems of Azure Websites: The Secret of Kudu

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

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

Thank You!