> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-framing-web-ui.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Configuring vertical autoscaling in ClickHouse Cloud

# Vertical autoscaling

export const ScalePlanFeatureBadge = ({feature = 'This feature', linking_verb_are = false}) => {
  return <div className="scalePlanFeatureContainer">
            <div className="scalePlanFeatureBadge">
                Scale plan feature
            </div>
            <div>
                <p>{feature} {linking_verb_are ? 'are' : 'is'} available in the Scale and Enterprise plans. To upgrade, visit the plans page in the cloud console.</p>
            </div>
        </div>;
};

export const Image = ({img, alt, size = "lg"}) => {
  const normalizedSize = ["sm", "md", "lg"].includes(size) ? size : "lg";
  return <div className={`ch-image-${normalizedSize}`}>
      <Frame>
        <img src={img} alt={alt} />
      </Frame>
    </div>;
};

<ScalePlanFeatureBadge feature="Automatic vertical scaling" />

Scale tier services and Enterprise tier services with standard `1:4` profiles support autoscaling based on CPU and memory usage. Service usage is constantly monitored over a lookback window to make scaling decisions. If the usage rises above or falls below certain thresholds, the service is scaled appropriately to match the demand.

<h2 id="configuring-vertical-auto-scaling">
  Configuring vertical auto scaling
</h2>

Organization members with the **Admin** role can configure vertical autoscaling for Scale services and Enterprise services with standard `1:4` profiles. Go to the **Settings** tab for your service and adjust the minimum and maximum memory, along with CPU settings as shown below. Enterprise services with custom profiles require support-assisted vertical resizing.

<Note>
  Single-replica Scale services and Enterprise services with standard `1:4` profiles support vertical autoscaling. Enterprise services with custom profiles require support-assisted vertical resizing. Basic tier services remain fixed in size and can't be scaled.
</Note>

<Image img="https://mintcdn.com/private-7c7dfe99-framing-web-ui/n1eWZZeu5DjCcNhg/images/cloud/manage/AutoScaling.webp?fit=max&auto=format&n=n1eWZZeu5DjCcNhg&q=85&s=5f59917fc8595397d0fd12d350a6c647" size="lg" alt="Scaling settings page" border width="3840" height="2144" data-path="images/cloud/manage/AutoScaling.webp" />

Set the **Maximum memory** for your replicas at a higher value than the **Minimum memory**. The service will then scale as needed within those bounds. These settings are also available during the initial service creation flow. Each replica in your service will be allocated the same memory and CPU resources.

You can also choose to set these values the same, essentially "pinning" the service to a specific configuration. Doing so will immediately force scaling to the desired size you picked.

It's important to note that this will disable any auto scaling on the cluster, and your service won't be protected against increases in CPU or memory usage beyond these settings.

<Note>
  For Enterprise tier services, standard `1:4` profiles support vertical autoscaling. Custom profiles don’t support vertical autoscaling or manual vertical scaling. Contact support for vertical resizing.
</Note>
