> ## 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.

![Maximum environments limit](https://mintcdn.com/gitpod-13c83c2b/puCxqR1b6FB7kwaz/images/docs/flex/organizations/max-environments-limit.png?fit=max\&auto=format\&n=puCxqR1b6FB7kwaz\&q=85\&s=f1114c176582817525ddbfc04802abf5)

## 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.

![Environment limit warning](https://mintcdn.com/gitpod-13c83c2b/puCxqR1b6FB7kwaz/images/docs/flex/organizations/max-environments-reached.png?fit=max\&auto=format\&n=puCxqR1b6FB7kwaz\&q=85\&s=8fab0009b3bb6c58d91ce4b63bae6dea)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.