14
Windows Azure: installation & management Dominik Pinter, [email protected]

Kentico CMS Technical Learning: Installing and Management on Windows Azure

Embed Size (px)

DESCRIPTION

The cloud is an amazing evolution in computing! This evolution requires changes in how we deploy and manage our applications and sites. What are the architecture patterns you need to think about? How do you install? How do you manage your site? These are just a few of the questions that we often hear from our customers. In this webinar Dominik Pinter, Senior Kentico Developer, will cover how to prepare your site for Windows Azure and then deploy it to the cloud. Once you have your site up we will cover how you can manage your site using both the Kentico CMS tools and the tools available from Windows Azure.

Citation preview

Page 1: Kentico CMS Technical Learning: Installing and Management on Windows Azure

Windows Azure: installation & managementDominik Pinter, [email protected]

Page 2: Kentico CMS Technical Learning: Installing and Management on Windows Azure

Agenda

Installation:• What do you need• Window Azure portals• Windows Azure environment• Deployment to Windows Azure• Install Kentico CMS 5.5 R2 from sample package• Taking own Kentico website to the cloud• Install Kentico CMS 6

Management:• How to manage cloud application• Applying hotfix and upgrade in Windows Azure

• Using accelerator for deploying and managing Kentico sites in Azure

Page 3: Kentico CMS Technical Learning: Installing and Management on Windows Azure

What do you need

Windows Azure account• http://www.microsoft.com/windowsazure/free-trial/

Visual studio• Express edition is good enough

Windows Azure SDK• http://www.microsoft.com/windowsazure/sdk/

Kentico CMS sample package• http://bitly.com/g1aehN

SQL Azure migration wizard• http://sqlazuremw.codeplex.com/

Page 4: Kentico CMS Technical Learning: Installing and Management on Windows Azure

Windows Azure portals

Main portal SQL Azure portal

Page 5: Kentico CMS Technical Learning: Installing and Management on Windows Azure

Azure deployment environment

Two environments• Staging• Production

• Swap between environments

Page 6: Kentico CMS Technical Learning: Installing and Management on Windows Azure

How do deploy application and database

Application deployment:1. Create package – Visual studio, CSPack2. Deploy to Windows Azure – Visual studio, portal, portal using blob

storage, powershell, Azure MMC, own application using management API

Database deployment:• Migrate from existing MSSQL – SQL Azure migration wizard• Copy from another SQL Azure using COPY command• Execute scripts in management studio or in SQL Azure management

portal• Install directly from your application using ADO.NET, ...

Page 7: Kentico CMS Technical Learning: Installing and Management on Windows Azure

Install Kentico CMS from sample package

1. Open solution in Visual Studio

2. Configure it

3. Create deployment package4. Deploy it to Windows Azure

Page 8: Kentico CMS Technical Learning: Installing and Management on Windows Azure

Taking your own Kentico site to the cloud

1. Migrate only database into Windows Azure• Use sample package as a application• Only if you don‘t have any code customizations

2. Convert you project to Windows Azure• Still need to migrate database• You can use sample package (but you need to apply your

customizations)• Alternative: convert application to WebApplication and

then to Windows Azure project type

Page 9: Kentico CMS Technical Learning: Installing and Management on Windows Azure

Install Kentico CMS 6

• You can install as Windows Azure project• You can install database with database installer

Page 10: Kentico CMS Technical Learning: Installing and Management on Windows Azure

How to manage cloud applications

Windows Azure portal:• Overall service management• Application health

Useful tools:• Azure storage explorer, Cloudberry explorer for Azure blob storage• Powershell with Windows Azure cmdlets

Remote desktop:• Configurable in publish dialog

Management API:• REST API, unofficial client library can be found in csmanage sample

Windows Azure dashboard:• Health of Windows Azure services• http://www.microsoft.com/windowsazure/support/status/servicedashboard.aspx

Page 11: Kentico CMS Technical Learning: Installing and Management on Windows Azure

Applying hotfix & upgrade for Kentico CMS

Kentico CMS 5.5 R2:• No native support for Web application projects• Hotfix & upgrade only in „website form“ (.designer.cs files

missing)• Application offline and then redeployment

Kentico CMS 6:• Native support for Web application projects• Application must be still done offline

Page 12: Kentico CMS Technical Learning: Installing and Management on Windows Azure

Using Windows Azure accelerator

Windows Azure accelerator for web roles: Enables you to install applications in less than 30 sec and run

multiple web apps within one web role.

How it works:1. Get accelerator - http://waawebroles.codeplex.com/2. Deploy it to Windows Azure3. Publish your application to local folder4. Upload your published app to blob storage in zip archive

Detailed instructions (post from Kentico MVP Bryan Soltis): http://www.bitwizards.com/Blogs/Bryan-Soltis/April-2011/Hosting-multiple-Kentico-installations-in-Azure

Page 13: Kentico CMS Technical Learning: Installing and Management on Windows Azure

Q&A

?

Page 14: Kentico CMS Technical Learning: Installing and Management on Windows Azure

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