<br />

<br />


[Managed Airflow (Gen 3)](https://docs.cloud.google.com/composer/docs/composer-3/environment-scaling "View this page for Managed Airflow (Gen 3)") \| [Managed Airflow (Gen 2)](https://docs.cloud.google.com/composer/docs/composer-2/environment-scaling "View this page for Managed Airflow (Gen 2)") \| **Managed Airflow (Legacy Gen 1)**

<br />

<br />

<br />

<br />

<br />

<br />

This page describes how environment scaling works.

Other pages about scaling:

<br />

- For information about scaling your environments, see [Scale environments](https://docs.cloud.google.com/composer/docs/composer-1/scale-environments).

<br />

## Resizable environments

Managed Airflow (Legacy Gen 1) has environments that run a constant number of workers.

When you create an environment, you specify the number of nodes. This number
corresponds to the number of workers in your environment.
Managed Airflow distributes load between all workers in your
environment. In addition to running Airflow workers, your environment nodes
also run schedulers and other environment components.

You can scale your environment by changing the number of nodes in your
environment.

## Scale and performance parameters

<br />

You can control the scale and performance parameters of your environment by
adjusting the machine types used by the Airflow database and web server
components of your environment. By doing so you can scale your environment
vertically, in addition to the horizontal scaling provided by the number of
nodes setting. You can adjust machine types of the Airflow database and web
server at any time.

You set the machine type for environment nodes when you create an environment.
You cannot change this parameter later. It means that you cannot scale Airflow
workers vertically in Managed Airflow (Legacy Gen 1).

## Multiple schedulers

<br />

If your environment uses Airflow 2, You can specify a number of schedulers up
to the number of nodes in your environment.

For more information about configuring the number of schedulers

for your environment, see
[Scale environments](https://docs.cloud.google.com/composer/docs/composer-1/scale-environments#scheduler-parameters).

## Database disk space

Disk space for the Airflow database automatically increases to accommodate the
demand.

## What's next

- [Scale environments](https://docs.cloud.google.com/composer/docs/composer-1/scale-environments)
- [Managed Airflow pricing](https://docs.cloud.google.com/composer/pricing)
- [Create environments](https://docs.cloud.google.com/composer/docs/composer-1/create-environments)
- [Environment architecture](https://docs.cloud.google.com/composer/docs/composer-1/environment-architecture)