# Autoscaling Azure Agent Pools

When you use autoscaling for Azure agent pools, you allow DuploCloud to manage your application's capacity requirements within your limits.&#x20;

## Creating an autoscaled Azure agent pool

In the DuploCloud Portal, [create an Azure agent pool](https://docs.duplocloud.com/docs/automation-platform/overview-2/azure-services/agent-pool) with the Enable Autoscaling option selected. Each agent pool contains nodes backed by the virtual host machines.

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FqtLa7bbRUCeOYB526Kuj%2Fagentpool.png?alt=media&#x26;token=e6bb6997-b0fe-40f2-b673-efbb2729f9a8" alt=""><figcaption><p><strong>Azure Agent Pool</strong> page with <strong>Enable Autoscaling</strong> option</p></figcaption></figure>
