> ## Documentation Index
> Fetch the complete documentation index at: https://ona.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Environment limits

> Limit how many environments each user can have.

Cap the number of environments per user to prevent resource sprawl and control costs. Useful when:

* Managing infrastructure capacity across a large team
* Preventing accumulation of abandoned environments
* Enforcing cleanup habits

Two limits available:

* **Maximum total**: All environments (running or stopped) per user
* **Maximum concurrent**: Environments running simultaneously per user

## Configuration

Set values for both limits (1-100). Defaults: 10 concurrent, 50 total.

<img src="https://mintcdn.com/gitpod-13c83c2b/puCxqR1b6FB7kwaz/images/docs/flex/organizations/max-environments-limit.png?fit=max&auto=format&n=puCxqR1b6FB7kwaz&q=85&s=f1114c176582817525ddbfc04802abf5" alt="Maximum environments limit" width="1616" height="1063" data-path="images/docs/flex/organizations/max-environments-limit.png" />

## Effect on users

Users see a notification when they hit the limit, suggesting they stop unused environments.

<Warning>With EC2 runners, stopped (undeleted) environments still incur AWS costs.</Warning>

<img src="https://mintcdn.com/gitpod-13c83c2b/puCxqR1b6FB7kwaz/images/docs/flex/organizations/max-environments-reached.png?fit=max&auto=format&n=puCxqR1b6FB7kwaz&q=85&s=8fab0009b3bb6c58d91ce4b63bae6dea" alt="Environment limit warning" width="1658" height="1540" data-path="images/docs/flex/organizations/max-environments-reached.png" />
