5 things you need to know about windows azure
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
5 things you need to know about Windows Azure
Dominik Pinter, [email protected]
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
What is Windows Azure
1
What is Windows Azure
• Cloud computing service from Microsoft• Combination of PaaS and IaaS• New development platform
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
Architecture differences
2
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
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
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
Kentico CMS – architecture overview
SQL AzureASP.NET Web role
Azurestorage
AppFabriccache
• Kentico CMS uses „replacements“• Every part could be mixed
Workflow
3
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?
Challenges
4
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
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
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
...
Where to find best information
5
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
Q&A
?
Thank you!E-mail: [email protected]: DominikPinterBlog: http://devnet.kentico.com/Blogs/Dominik-Pinter.aspx