Deploy your project

Deploy the database to Amazon RDS

After you have created your Sitefinity CMS project, you must move your database to the Amazon cloud. For more information about importing your database in Amazon RDS, see Importing and Exporting SQL Server Data.

Create Amazon EC2 instances that will run Sitefinity

Sitefinity CMS runs on EC2 instances that have Windows Server, IIS, and .NET installed. You must deploy the web application and attach it to the appropriate application pool. You must also configure the user permissions.

Because the instances have standard Windows Server installation, for more information about configurations, see System requirements and Run projects on IIS

After you make the configuration on one instance, you can copy or share the site's folder to the rest of the instances.

Configure Amazon ElastiCache (Redis)

When you upload your site on more than one EC2 instances or you want to scale the instances, you must prepare the communication infrastructure to transmit messages between the nodes. For example, to communicate cache invalidation. Sitefinity CMS uses Redis message sender that you must configure for NLB communication in Amazon.

Perform the following:

  1. Copy the connection string from ElastiCache.
    When you create the ElastiCache Cluster, use its node endpoint address and port.
    For example, myredisCluster-001.jejod.0001.euc1.cache.amazonaws.com:6379
  2. In Sitefinity CMS backend, navigate to Administration » Settings » Advanced » System » LoadBalancing » Redis Settings » Connection String.

    EXAMPLE:  myredisCluster-001.jejod.0001.euc1.cache.amazonaws.com:6379

  3. To be able to use Redis from different client applications, enter the copied connection string and specify a prefix for all messages from this site.
  4. Save your changes.

NOTE: If the ElastiCache server (Redis) is not available or not configured properly, you may experience delays in Sitefinity CMS.

Create and configure the load balancer

If you want a high availability solution or you want to spread the load of the site between different server instances, you must use a load balancer to distribute the requests.

In order to create a load balancer, perform the following:

  1. Go to Amazon Services and select EC2. 
  2. Select Load Balancing » Load balancers and create a new one following the wizard. 
  3. Select the appropriate security group where the EC2 instances are placed. 
  4. Configure the health check to a page in your site.
    For example, / for the root of the site.
  5. Select the EC2 Instances that you want to balance.
  6. Set Tags and create the load balancer.

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?