16
Moving Kentico CMS to the Azure Dominik Pintér, [email protected]

Moving Kentico Cms To The Azure

Embed Size (px)

DESCRIPTION

How we moved Kentico CMS to the cloud and how we solved several issues we met with.

Citation preview

Page 1: Moving Kentico Cms To The Azure

Moving Kentico CMS to the Azure

Dominik Pintér, [email protected]

Page 2: Moving Kentico Cms To The Azure

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

Page 3: Moving Kentico Cms To The Azure

What do you need ?

Azure account • http://www.microsoft.com/windowsazure/

Kentico CMS • Sample package• Azure deployment guide• http://bit.ly/e24mjo

Page 4: Moving Kentico Cms To The Azure

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

Page 5: Moving Kentico Cms To The Azure

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

Page 6: Moving Kentico Cms To The Azure

Demo

Kentico CMS 5.5 R2 sample package

Page 7: Moving Kentico Cms To The Azure

Preparing cloud environment

• Creating services which you want to use

Multiple choice:• Azure portal• Poweshell cmdlets• Azure management console• Third party applications• Management API

Page 8: Moving Kentico Cms To The Azure

Demo

Azure portal

Page 9: Moving Kentico Cms To The Azure

Moving database

Multiple choice• Running scripts directly• SQL Azure migration wizard• Sync framework

Page 10: Moving Kentico Cms To The Azure

Demo

SQL Azure(Management studio, migration wizard, portal)

Page 11: Moving Kentico Cms To The Azure

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

Page 12: Moving Kentico Cms To The Azure

Demo

Application deployment

Page 13: Moving Kentico Cms To The Azure

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

Page 14: Moving Kentico Cms To The Azure

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

Page 15: Moving Kentico Cms To The Azure

Q&A

?

Page 16: Moving Kentico Cms To The Azure

Thank you!E-mail: [email protected]: DominikPinterBlog: http://devnet.kentico.com/Blogs/Dominik-Pinter.aspx