# Tenant Quotas, User Quotas and VM Leases

<code class="expression">space.vars.product\_name</code> enables you to apply limits or quotas for various resources at each tenant and user level, to ensure that no single tenant can use more than their entitled amount of resources. In addition, you can configure VM lease policy to control how long a virtual machine may exist.

{% hint style="info" %}
Note: User level quotas can be used for controlling individual users limits. User level quotas override tenant quotas for the respective users.
{% endhint %}

{% hint style="warning" %}
You must be an administrator to edit, create, and delete quotas and leases.
{% endhint %}

### Virtual Machine Lease Settings

A virtual machine lease controls how long a single virtual machine created by a user in a given tenant may exist, measured in days. Setting a virtual machine lease will cause any virtual machine created under the defined tenant to be **automatically deleted once the lease age is met.**

### Tenant Quotas

Following table describes all tenant level quatas supported.

| Field                                  | Description                                                                                                                                           |
| -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Compute Quotas**                     |                                                                                                                                                       |
| Core                                   | Total number of cores to be available to the tenant. This is the maximum number of cores available collectively to the users belonging to the tenant. |
| RAM                                    | Total RAM to be available to the tenant. Select the unit of measurement for the RAM, after the numeral value.                                         |
| VMs                                    | Total number of virtual machine instances that can be created on the tenant.                                                                          |
| Server Groups and Server Group Members | Total server groups that this tenant can create and maximum number of server group members that each server group may have.                           |
| **Block Storage Quotas**               |                                                                                                                                                       |
| Block Storage                          | Total block or persistent storage space to the tenant. Select the unit of measurement for block storage, after the numeral value.                     |
| Volumes                                | Total number of volumes available to the tenant.                                                                                                      |
| Volume Snapshots                       | Total number of volume snapshots available to the tenant.                                                                                             |
| Max Volume Size                        | Maximum size of volume in the tenant.                                                                                                                 |
| **Network Quotas**                     |                                                                                                                                                       |
| Networks                               | Total number of networks available to the tenant.                                                                                                     |
| Subnets                                | Total number of subnets across all networks available to the tenant.                                                                                  |
| Routers                                | Total number of routers available to the tenant.                                                                                                      |
| Ports                                  | Total number of ports available to the tenant.                                                                                                        |
| Floating IPs                           | Total number of floating IPs available to the tenant.                                                                                                 |
| Security Groups                        | Total number of security groups available to the tenant.                                                                                              |
| Security Group Rules                   | Total number of security group rules available across all security groups on the tenant.                                                              |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.platform9.com/private-cloud-director/identity-and-multi-tenancy/tenant-quotas-user-quotas-and-vm-leases.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
