5 things you need to know about windows azure

20
5 things you need to know about Windows Azure Dominik Pinter, [email protected]

Upload: thomas-robbins

Post on 26-Jan-2015

109 views

Category:

Technology


6 download

DESCRIPTION

Are you taking Kentico CMS to the Windows Azure cloud? What’s important to know? In this webinar Dominik Pinter, Kentico CMS Senior Developer, covers the top five things everyone should know when running Kentico CMS in the cloud.

TRANSCRIPT

Page 1: 5 things you need to know about Windows Azure

5 things you need to know about Windows Azure

Dominik Pinter, [email protected]

Page 2: 5 things you need to know about Windows Azure

Five key points

1. What is Windows Azure2. Architecture differences between on-premise

and Microsoft cloud3. Workflow4. Windows Azure challenges5. Where to find best information

Page 3: 5 things you need to know about Windows Azure

What is Windows Azure

1

Page 4: 5 things you need to know about Windows Azure

What is Windows Azure

• Cloud computing service from Microsoft• Combination of PaaS and IaaS• New development platform

Page 5: 5 things you need to know about Windows Azure

Windows Azure as part of Windows Azure

Windows Azure App farbric

Windows Azure

market

Windows Azure SQL Azure

Storage Compute

Networking

Database SQL reporting

Access control Service bus

Cache

Application market

Data market

Page 6: 5 things you need to know about Windows Azure

Architecture differences

2

Page 7: 5 things you need to know about Windows Azure

Architecture differences

What is the same: - ASP.NET application runs on IIS- All applications run on Windows server- Application uses SQL server or another type of storage for data- Development is still done with Visual studio

Main differences:- Application consists of parts called roles- There is no persistent/durable virtual machine- There is no persistent/durable NTFS file system- Application runs in multi instance (server) environment- New API, new configuration files, new type of project

Page 8: 5 things you need to know about Windows Azure

Architecture differences - replacements

On-premise -> Off-premise (cloud):Server with IIS -> Windows Azure compute serviceASP.NET web application -> Windows Azure web roleDesktop application/Win service -> Windows Azure worker roleNT file system -> Azure blob storageWindows SQL Server -> SQL AzureMemory storage -> Windows Azure Appfabric cache

Things for easy migration:- Windows Azure drive- Admin mode- Startup tasks- VM role- Full IIS

Page 9: 5 things you need to know about Windows Azure

Picking your CMS Architecture

• Kentico CMS is Windows Azure ready• Main idea: „Customer will not see difference between on-

premise and off-premise“• Support of mixed solutions

Growth Requirements

Cloud Mixed Split your installation Own your installation

Single Installation

Page 10: 5 things you need to know about Windows Azure

Kentico CMS – architecture overview

SQL AzureASP.NET Web role

Azurestorage

AppFabriccache

• Kentico CMS uses „replacements“• Every part could be mixed

Page 11: 5 things you need to know about Windows Azure

Workflow

3

Page 12: 5 things you need to know about Windows Azure

Workflow

• Special account – authorization based on Live ID identity, only 1 global admin

• Payment – credit card, pay as you go model• Management portal – service management, application deployment,

certification management• Automatization – powershell, Service management API

Development and testing

on emulator

Deployment to staging

environment

Run in production

environment

• Compute + storage• Not same as real cloud• Necesary for development

• Testing in real cloud• Costs same as production• Portal, Visual studio, powershell, API, ...

• Swap• Put service down or lose data?

Page 13: 5 things you need to know about Windows Azure

Challenges

4

Page 14: 5 things you need to know about Windows Azure

Challenges

Don‘t need to worry about:• CPU, Memory, storage, ...

Need to solve:• Running in multi VM environment• How/where to store application state• How/where to store application data

Page 15: 5 things you need to know about Windows Azure

Multi VM environment and our solution

Load balancer

Instance 1

Instance 2

Instance 3

Windows Azure:• Multi VM environment• Load balancer • Round robin algorithm

Challenges1. Synchronization of memory objects2. Storing of session state data

Solution1. Current: 1 instance support

Next: improved web farms module2. Current: InProc session state provider3. Next: Appfabric cache session state

provider

Page 16: 5 things you need to know about Windows Azure

Data storage and our solution

Both versions : Storing files into SQL Azure -> expensive solutionCurrent version:• Modules store their data into SQL Azure• Smart search, media library and web analytics modules store their data into Blob storage using Azure driveNext version:• Modules can store data into SQL Azure or to blob storage using CMS.IO

CMS.IOKentico CMS

business layer

System.IO

Azure blob API

...

Page 17: 5 things you need to know about Windows Azure

Where to find best information

5

Page 18: 5 things you need to know about Windows Azure

Where to find best information

Windows Azure in general:• Every half year new update => need to learn new things• Windows Azure platform training kit• http://www.windowsazureblog.com/• Microsoft conferences – Mix, PDC, ...

Windows Azure and Kentico CMS:• Our devnet portal: http://devnet.kentico.com• Azure deployment guide• Kentico webinars

Page 19: 5 things you need to know about Windows Azure

Q&A

?

Page 20: 5 things you need to know about Windows Azure

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