# Quotas

View resource quotas and current usage for compute, storage, and network resources in your project.

***

## All Quotas

View a combined summary of all quota categories.

```bash
ace quota all
```

**Example output:**

```
COMPUTE QUOTA
  RESOURCE                     USED         LIMIT
  Instances                    3            20
  vCPUs                        12           100
  RAM                          24 GB        200 GB
  Key Pairs                    2            100
  Security Groups              4            50
  Server Groups                0            10

STORAGE QUOTA
  RESOURCE                     USED         LIMIT
  Volumes                      5            50
  Storage (GB)                 250          5000
  Snapshots                    2            50
  Backups                      0            50
  Backup Storage (GB)          0            5000

NETWORK QUOTA
  RESOURCE                     USED         LIMIT
  Floating IPs                 2            10
  Networks (VPCs)              3            25
  Subnets                      3            25
  Ports                        15           500
  Routers                      1            10
  Security Groups              4            50
  Security Group Rules         25           200
```

***

## Compute Quota

View compute-specific resource quotas.

```bash
ace quota compute
```

**Resources tracked:**

| Resource        | Description                              |
| --------------- | ---------------------------------------- |
| Instances       | Running virtual machine count            |
| vCPUs           | Total allocated CPU cores                |
| RAM             | Total allocated memory (displayed in GB) |
| Key Pairs       | SSH key pairs                            |
| Security Groups | Network security groups                  |
| Server Groups   | Server affinity/anti-affinity groups     |

***

## Storage Quota

View storage-specific resource quotas.

```bash
ace quota storage
```

**Resources tracked:**

| Resource            | Description                |
| ------------------- | -------------------------- |
| Volumes             | Block storage volume count |
| Storage (GB)        | Total volume storage       |
| Snapshots           | Volume snapshot count      |
| Backups             | Backup count               |
| Backup Storage (GB) | Total backup storage       |

***

## Network Quota

View network-specific resource quotas.

```bash
ace quota network
```

**Resources tracked:**

| Resource             | Description               |
| -------------------- | ------------------------- |
| Floating IPs         | Public IP addresses       |
| Networks (VPCs)      | Virtual private clouds    |
| Subnets              | Network subnets           |
| Ports                | Network ports             |
| Routers              | Virtual routers           |
| Security Groups      | Network security groups   |
| Security Group Rules | Individual firewall rules |

***

## Understanding Limits

* A limit of `unlimited` (shown as `-1` in JSON) means no cap is set for that resource.
* RAM is stored internally in MB but displayed in GB for readability.
* If you need to increase quotas, contact AceCloud support.

***

## Global Flags

| Flag           | Description                                |
| -------------- | ------------------------------------------ |
| `-o, --output` | Output format: `table` (default) or `json` |
| `--project`    | Override project ID                        |
| `--region`     | Override region                            |


---

# 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.acecloud.ai/knowledge-base/cli/monitoring/quotas.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.
