Deploy projects to Azure Cloud Services

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. 
For more information, see Load balancing.

RECOMMENDATION: By default, Sitefinity CMS uses network communication between the nodes to handle the NLB in Azure Cloud services. However, for cloud deployments, we recommend using Redis to handle load balancing. For more information, see Prepare your project for deployment.

PREREQUISITES: Before you proceed with deploying your project to Azure Cloud Services, you must have the following:
  • You must be using Sitefinity CMS 4.2 SP1 or above.
  • You must have an active Microsoft Azure subscription.
    The following procedure uses Microsoft Azure Platform Management Portal to manage your cloud services, storage accounts, and databases.
  • You must have a valid Sitefinity CMS license for <your domain> (<domainprefix> by default). To use multiple role instances (Microsoft Azure SLA requires at least two) your license must support Use Network load balancing (NLB).
    For more information, see the License Comparison page.
  • You must have one of the following versions of Microsoft Visual Studio installed:
    • Visual Studio 2019
    • Visual Studio 2017
    • Visual Studio 2015 
  • You must have installed the proper version of Microsoft Azure SDK. For more information, see Reference: MicrosoftAzure SDK supported versions.
  • You must have installed and configured Microsoft SQL Server version 2008 R2 Service Pack 1 to Microsoft SQL Server version 2012.
IMPORTANT: Deploying the project to Microsoft 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.
  • By default Sitefinity CMS uses search service, and if deployed to Microsoft Azure, search is disabled in a way that nothing is actually written to the disk. This means no updates/deletes are applied to the index but you could still perform a search. For cloud deployments it is recommended to use Azure Cognitive Search Service or Elasticsearch which support all search functionalities, including updates of the search index.
    For more information about configuring search indexes on cloud deployments see Generate and store search indexes in the cloud.
  • Video thumbnails are not automatically generated and you must set them manually. 

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?