Orchard CMS Deploying to Azure, Orchard CMS 1.5 August 15, 2012 Copyright 2012 Cloud Construct, LLC.

Download Report

Transcript Orchard CMS Deploying to Azure, Orchard CMS 1.5 August 15, 2012 Copyright 2012 Cloud Construct, LLC.

Orchard CMS
Deploying to Azure,
Orchard CMS 1.5
August 15, 2012
Copyright 2012 Cloud Construct, LLC
Orchard CMS Boston User Group
Meeting #5 Deploying to Azure / Orchard CMS 1.5
Internet –
SID: Cambridge
Pass: Wa0815
Microsoft N.E.R.D. Building
http://orchardcmsboston.org
http://www.meetup.com/Boston-Orchard-CMS-User-Group/
• Contribute modules to gallery
•Enhance the user group site
•Use Orchard to build quality sites.
Copyright 2012 Cloud Construct, LLC
Tonight’s Agenda
• Introduction
• Meet new members
• Windows Azure & Orchard
• Orchard CMS 1.5 New Features
• Discuss a User Group Module
Copyright 2011 Cloud Construct, LLC
Project Status
• Version 1.5.1 released on July 18th.
• Code hosted on Codeplex
– Discussions
– Releases about every 3 months
• Feature release
• Bug fix release
• Orchard 1.6.0 will be a performance release.
–
–
–
–
Nhibernate 3 and 2nd Level Caching
ASP.NET MVC 4 / WebAPI
MySQL Provider
Performance Improvements
• Orchard Harvest 2012!!! September 8-9th
Copyright 2011 Cloud Construct, LLC
Orchard & Azure
• Windows Azure Cloud Service
– Runs in a WebRole
– Not a durable file system.
– Blob Storage and SQL Azure Storage
• Windows Azure Websites
– Runs on a Shared Server Instance
– Durable network file system
– File System and SQL Azure Storage
Copyright 2011 Cloud Construct, LLC
Orchard as a Cloud Service
• Tenant Data is Stored in Blob
– App_Data
– Media
– Settings.txt
• Modules and Themes are not replicated.
– You need to install locally and then repackage.
• Tenant Data uses IShellSettingsManager in
AzureBlobStorageProvider
• Media
– AzureBlobStorageProvider
• Content Items
– SQL Azure
Copyright 2011 Cloud Construct, LLC
Orchard as a Cloud Service
• Tenant Data is Stored in Blob
– App_Data
– Media
– Settings.txt
• Modules and Themes are not replicated.
– You need to install locally and then repackage.
• Tenant Data uses IShellSettingsManager in
AzureBlobStorageProvider
• Media
– AzureBlobStorageProvider
• Content Items
– SQL Azure
• You need to reference all of the projects and themes in the
project so they get deployed to Azure.
Copyright 2011 Cloud Construct, LLC
Search Module Example
• Lucene indexer writes to the file system
• When the File System is Recycled you lose
your index files.
• A background task will go and rebuild it if
it does not exist.
• This works in Azure without needing to
write to Blob Storage.
• Possible out of sync search indexes on
each node.
Copyright 2011 Cloud Construct, LLC
Demo
• Show building of Orchard Source Code
• Show output of artifacts
• Try and deploy to Azure 
Copyright 2011 Cloud Construct, LLC
Windows Azure Websites
• Network file system is shared across instances.
• Less IO performance. Network Data, whole site is
there. Scaling is just web servers, so vertical scaling.
• 10 Free Websites on shared
• 100 Websites on reserved
• Dynamic compilation breaks because file watcher does
not work on Network File System. You need to push a
pre-compiled site.
• Even compile modules.
• Possibly broken in gallery, so pull down code, rebuild
and deploy.
Copyright 2011 Cloud Construct, LLC
Demo
• Show creating new website in Windows
Azure Websites
• Download publish profile and utilize WEB
PI.
• You can edit in Visual Studio and then
push again with Web PI.
Copyright 2011 Cloud Construct, LLC
Multi-Tenancy
• Host multiple sites in one Orchard
instance.
• Same app domain, different content and
configuration.
• Multi-tenancy is particularly nice in a
Windows Azure environment, because one
deployment to Azure can easily support
multiple websites.
Copyright 2011 Cloud Construct, LLC
Demo
• Show switching from Shared to Reserved
• Show setting up different hostnames
• Show modifying Orchard to respond to
different hostnames.
Copyright 2011 Cloud Construct, LLC
New In Orchard 1.5
•
•
•
•
•
•
•
Content Picker
Custom Forms
Enhanced Navigation
Admin Search
Enhanced Anti Spam
Content Permissions
Layout placement: Placement.info files can
now use the '/' character to specify Layout
zone targets likes this: "/AsideSecond:10"
Copyright 2011 Cloud Construct, LLC
What Can We Do?
• Upcoming meeting topics.
• Let’s contribute a module to the gallery!
Copyright 2011 Cloud Construct, LLC