---
title: Enabling web farms on Windows Azure Web Sites
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

Windows Azure Web Sites allow you to scale the computing power allocated for your web sites on Microsoft Azure. This feature allows you to increase performance and throughput for your websites. See [How to scale Websites](http://azure.microsoft.com/en-us/documentation/articles/web-sites-scale/) article for details.

For this functionality to work in Kentico, you need to enable and configure the **Web farm module** in your Kentico web site.

> **Info:** We support this functionality only for **Basic** and **Standard** [web hosting plans](http://azure.microsoft.com/en-us/documentation/articles/web-sites-web-hosting-plan-overview/).

After you create an Azure Web Site with a Kentico application (see [Microsoft Azure Web Sites](https://docs.kentico.com/k81/running-kentico-on-microsoft-azure/microsoft-azure-web-sites.md)), enable and configure web farms in the Kentico system:

1. If you have already scaled your website to 2 or more instances, scale it back down to 1 instance:
   1. Open [Windows Azure Management Portal](https://manage.windowsazure.com) and select your website.
   2. Switch to the **Scale** tab.
   3. Set the **Instances count** to 1.
   4. Click **Save** in the bottom panel.
2. Open the Kentico administration interface of your website.
3. Open the **Settings** application and open the **Versioning & Synchronization -> Web farm** category.
4. Make sure that the following check-boxes are selected:
   - **Enable web farm** - enables the web farm functionality.
   - **Use web farm database updater** - enables the database updater web farm synchronization mechanism which uses the database for notifying web farm servers about changes. See [Web farm synchronization mechanisms](https://docs.kentico.com/k81/configuring-kentico/optimizing-website-performance/setting-up-web-farms/web-farm-synchronization-mechanisms.md) for details.
   - **Generate servers dynamically** - allows the system to generate web farm servers dynamically according to the allocated computing instances.
   - **Delete generated servers on application end** - this settings ensures that the system does not generate more web farm servers than needed.

The system is now prepared for increasing and decreasing computing instances (you can scale your application through the portal on the **Scale** tab) and will generate web farm servers and synchronization tasks automatically.
