Deploy projects to Windows Azure
You can run your website in any cloud environment that supports Windows Server role instances, such as RackSpace and Amazon AWS. In these scenarios, you can set up your website as part of a load-balanced environment.
Auto scaling in load-balanced scenarios is supported only for Windows Azure cloud service. All other cloud IaaS providers support only the standard Network Load Balancing mode.
For more information, see Load balancing.
PREREQUISITES: Before you proceed to deployment, you must have the following:
- You must be using Sitefinity CMS 4.2 SP1 or above.
- You must have an active Windows Azure subscription.
The following procedure uses Windows Azure Platform Management Portal to manage your hosted services, storage accounts, and databases.
- You must have a valid Sitefinity CMS license for <your domain> (<domainprefix>.cloudapp.net by default). To use multiple role instances (Windows Azure SLA requires at least two) your license must support Use Network load balancing (NLB) (NLB).
NOTE: Currently, the Enterprise and the Professional editions have NLB support included by default. You can also purchase it as an additional module. For more information, see the License Comparison page.
- You must have one of the following versions of Microsoft Visual Studio installed:
- Visual Studio 2013
- Visual Studio 2012
- Visual Studio 2010 (does not support Windows Azure SDK 2.2)
- You must have installed the proper version of Windows Azure SDK. For more information, see Reference: Windows Azure SDK supported versions.
- You must have installed and configured Microsoft SQL Server version 2008 R2 Service Pack 1 to Microsoft SQL Server version 2012.
RESTRICTIONS: Deploying the project to Windows Azure has the following restrictions:
- You cannot install a project directly to the cloud. You must create and develop your project locally and then migrate it to the cloud environment.
- You must prepare locally and include in the deployment package all themes, labels (after language pack imports), and other resources that are kept in App_Data folder. Once the project is deployed, they must remain read-only. For example, to include an imported language pack in the deployment, include the ~/App_Data/Sitefinity/GlobalResources folder in project. Always ensure that the Build action property of the included files is set to Content. To view or change this, in the context menu of the file, select Properties.
- Search is disabled in a way that nothing is actually written to the disk. This means that the UI works as previously, but nothing is actually kept in search indexes and no search results are fetched.
- Video thumbnails are not automatically generated and you must set them manually.
NOTE: As a deployment model, Sitefinity CMS supports Windows Azure Cloud Services. Windows Azure Web Sites is not supported, because it does not support network communication between multiple instances, which makes Sitefinity’s cache invalidation mechanism (web service calls) irrelevant.
There are two ways to deploy your Sitefinity CMS website to Windows Azure cloud services: