Upload
michal-neuwirth
View
1.024
Download
0
Tags:
Embed Size (px)
DESCRIPTION
How we moved Kentico CMS to the cloud and how we solved several issues we met with.
Citation preview
Moving Kentico CMS to the Azure
Dominik Pintér, [email protected]
Agenda
• What do you need• Creating Kentico CMS as Azure project• Preparing cloud environment• Moving database• Application deployment• Running Kentico CMS with Azure drive• Limitations of 5.5 R2
What do you need ?
Azure account • http://www.microsoft.com/windowsazure/
Kentico CMS • Sample package• Azure deployment guide• http://bit.ly/e24mjo
What do you need?
Station prepared for Azure development• Azure SDK - http://bit.ly/g16uPG, see Requirements• SQL Management studio 2008 R2
Other tools• SQL migration wizard - http://sqlazuremw.codeplex.com/ • Storage explorer - http://azurestorageexplorer.codeplex.com/,
http://www.cloudberrylab.com/download.aspx?prod=cbazure
Creating Kentico CMS as Azure project
Two choices• Sample package of Kentico CMS 5.5 R2• Own project
Own project• New instalation of 5.5 R2 or upgrade to 5.5 R2• Convert web site to web application• Create new empty Azure project• Azure deplyoment guide http://bit.ly/dK6nFX
Demo
Kentico CMS 5.5 R2 sample package
Preparing cloud environment
• Creating services which you want to use
Multiple choice:• Azure portal• Poweshell cmdlets• Azure management console• Third party applications• Management API
Demo
Azure portal
Moving database
Multiple choice• Running scripts directly• SQL Azure migration wizard• Sync framework
Demo
SQL Azure(Management studio, migration wizard, portal)
Application deployment
1. Create package• Visual studio – Publish action of Azure project• Command line tools – CSpack, CSRun
2. Deploy it• Directly from Visual studio• Upload using portal• Upload using blob storage• Powershell, Azure MMC, Management API
Demo
Application deployment
Running Kentico CMS with Azure drive
Azure drive• Enables mounting blob storage as NTFS • Only one instance for read/write in same time• CMS 5.5R2: Smart search, web analytics, media libraries
How to use it• Prepared WebRole.cs• Instance drive cache• Azure blob storage service
Limitations of Kentico CMS 5.5 R2
Limitation Reason
1 instance only • Instances must be stateless• Cannot use webfarms• Azure drive supports only 1 instance for read/write
No import/export • Instance cannot store data in the application directory
Modules must store data in the database
• Missing durable file system• Difficult to support all modules in a blob via Azure drive
WebDav doesn‘t work on Azure
Azure doesn‘t support integrated Windows authentication
Q&A
?
Thank you!E-mail: [email protected]: DominikPinterBlog: http://devnet.kentico.com/Blogs/Dominik-Pinter.aspx