<a id="ccloud-resource-limits"></a>

<a id="service-quotas"></a>

# Service Quotas for Confluent Cloud

Service quotas enable Confluent to manage the availability and scalability of
Confluent Cloud resources. A service quota defines the default limit on resources or
operations that organizations, environments, accounts, networks, and clusters
can use in Confluent Cloud.

Resources in Confluent Cloud can have different service quotas for different scopes.
For example, the maximum number of Confluent Cloud clusters is `20` per environment,
but is `400` per organization.

If a service quota doesn’t have a quota code (ID), you can’t determine the
current applied limit using the [Quotas API](quotas.md#cc-quotas). To get the
current applied limit for a service quota that does not have a quota code, contact
[Confluent Support](https://support.confluent.io).

<a id="service-quotas-core-resources"></a>

## Core resource scopes

The following sections list the service quotas for core resource scopes in Confluent Cloud,
including organization, environments, Apache Kafka® clusters, ksqlDB clusters, and Apache Flink®.

<a id="ccloud-resource-limits-organization"></a>

<a id="service-quotas-organization"></a>

### Organization

| Resource                 |   Quota (default) | Quota code (ID)                  | Usage data   |
|--------------------------|-------------------|----------------------------------|--------------|
| Environments             |                25 | `iam.max_environments.per_org`   | ✔            |
| Kafka clusters           |               400 | `iam.max_kafka_clusters.per_org` | ✔            |
| Custom connector plugins |               100 |                                  |              |
| Custom connectors        |                30 |                                  |              |

<a id="ccloud-resource-limits-environment"></a>

<a id="service-quotas-environments"></a>

### Environments

This page lists the service quotas for the [environment](../security/access-control/hierarchy/cloud-environments.md#cloud-environments) scope in
Confluent Cloud under the individual resource or feature sections. To view the limit
on the number of environments, see [organization scope](#ccloud-resource-limits-organization).
You can check the current applied limits for an environment using the
[Quotas API](quotas.md#cc-quotas-environment).

<a id="ccloud-resource-limits-cloud-region"></a>

<a id="service-quotas-flink"></a>

### Apache Flink

Each service quota in the following table applies to Flink. Relevant scopes for Flink
apply to one Confluent Cloud environment or one Confluent Cloud cloud region.

| Resource                                    | Quota (default)   | Quota code (ID)                   | Usage data   |
|---------------------------------------------|-------------------|-----------------------------------|--------------|
| Flink compute pools per environment         | 50                | `flink.max_compute_pools.per_env` |              |
| Flink statements per cloud region           | 10,000            |                                   |              |
| Flink state size per statement (soft limit) | 500 GB            |                                   |              |
| Flink state size per statement (hard limit) | 1,000 GB          |                                   |              |

<a id="ccloud-resource-limits-kafka-cluster"></a>

<a id="service-quotas-kafka-clusters"></a>

### Kafka clusters

Each service quota in the following table applies to a single [Kafka cluster](../clusters/cluster-types.md#cloud-cluster-types).
For the limit on the number of Kafka clusters, see [Organization](#ccloud-resource-limits-organization)
or [Environment](#ccloud-resource-limits-environment). You can check the
current applied limits for a Kafka cluster using the [Quotas API](quotas.md#cc-quotas-kafka-cluster).

Considerations:
: - To provision Enterprise clusters with a maximum of 32 eCKU on AWS, your cluster networking must use Private Network Interface (PNI).
  - Enterprise clusters that use PrivateLink networking on AWS are limited to 10 eCKU.
  - Enterprise clusters that use PrivateLink networking on Google Cloud or Azure are limited to 32 eCKU.
  <br/>
  - CKU quotas for Dedicated clusters on AWS can be incrementally increased to 252.
  - AWS supports up to 252 CKUs for Dedicated clusters.
  - Google Cloud supports up to 152 CKUs for Dedicated clusters.
  - Azure supports up to 100 CKUs for Dedicated clusters.

| Resource                                                                     |   Quota (default) | Quota code (ID)                            | Usage data   |
|------------------------------------------------------------------------------|-------------------|--------------------------------------------|--------------|
| Kafka clusters per environment                                               |                20 | `kafka.max_kafka_clusters.per_env`         | ✔            |
| Kafka clusters (pending) per environment                                     |                 3 | `kafka.max_pending_kafka_clusters.per_env` |              |
| Kafka cluster CKUs per environment                                           |                50 | `kafka.max_ckus.per_env`                   | ✔            |
| eCKU per Basic cluster                                                       |                50 |                                            |              |
| eCKU per Standard cluster                                                    |                10 |                                            |              |
| eCKU per Enterprise cluster                                                  |                32 |                                            |              |
| Fast-scaling eCKU threshold per Enterprise cluster                           |                10 |                                            |              |
| CKUs (for credit card billing) per cluster                                   |                 4 | `kafka.max_ckus.per_cluster`               |              |
| CKUs (for integrated cloud provider billing or invoice payments) per cluster |                24 | `kafka.max_ckus.per_cluster`               |              |
| Connector tasks per cluster                                                  |               250 |                                            |              |
| client quotas per Enterprise or Freight cluster                              |               100 |                                            |              |

<a id="ccloud-resource-limits-ksqldb-app"></a>

<a id="service-quotas-ksqldb-clusters"></a>

### ksqlDB clusters

Each service quota in the following table applies to the scope of one
[ksqlDB cluster](../ksqldb/overview.md#ksqldb-cloud). For the limit on the number of
ksqlDB clusters, see
[Environment scope](#ccloud-resource-limits-environment).

| Resource                                            |   Quota (default) | Quota code (ID)         | Usage data   |
|-----------------------------------------------------|-------------------|-------------------------|--------------|
| ksqlDB clusters per environment                     |                15 | `ksql.max_apps.per_env` |              |
| Confluent Streaming Units (CSUs) per ksqlDB cluster |                12 |                         |              |
| Persistent queries per ksqlDB cluster               |                40 |                         |              |

<a id="service-quotas-sr-clusters"></a>

### Schema Registry clusters

Each service quota in the following table applies to the scope of one
Confluent Cloud environment.

| Resource                                                |   Quota (default) | Quota code (ID)   | Usage data   |
|---------------------------------------------------------|-------------------|-------------------|--------------|
| Schema Registry clusters                                |                 1 |                   |              |
| Key Encryption Keys (KEKs) per Schema Registry cluster  |            20,000 |                   |              |
| Data Encryption Keys (DEKs) per Schema Registry cluster |            20,000 |                   |              |

## Security scopes

Each security-related service quota below applies to a single [organization](../security/access-control/hierarchy/organizations/cloud-organization.md#cloud-organization)
in Confluent Cloud. You can check the current applied limits for your organization using the
[Quotas API](quotas.md#cc-quotas).

If your organization has the Advanced Security add-on enabled,
some security-related resources have higher limits.
The tables below show the default service quotas.
For specific add-on limits, see [Advanced Security add-on for Confluent Cloud](../security/advanced-security.md#advanced-security-add-on).

#### NOTE
The Advanced Security add-on is a Limited Availability feature in Confluent Cloud.
For more information, see [Advanced Security add-on for Confluent Cloud](../security/advanced-security.md#advanced-security-add-on).

<a id="ccloud-resource-limits-user-account"></a>

<a id="service-quotas-user-accounts"></a>

### User accounts

Each service quota in the following table applies to the scope of one
Confluent Cloud organization. For API keys per user account,
see [API keys](#service-quotas-api-keys).

To get the current applied limits for an organization, see
[Quotas API](quotas.md#cc-quotas-user-account).

| Resource                                            |   Quota (default) | Quota code (ID)                       | Usage data   |
|-----------------------------------------------------|-------------------|---------------------------------------|--------------|
| User accounts (active and invited) per organization |             1,000 | `iam.max_users.per_org`               | ✔            |
| Invitations (pending) per organization              |               300 | `iam.max_pending_invitations.per_org` | ✔            |

<a id="service-quotas-service-accounts"></a>

### Service accounts

Each service quota in the following table applies to the scope of one
Confluent Cloud organization. For API keys per service account,
see [API keys](#service-quotas-api-keys).

To get the current applied limits for an organization, see
[Quotas API](quotas.md#cc-quotas-service-account).

| Resource                          |   Quota (default) | Quota code (ID)                    | Usage data   |
|-----------------------------------|-------------------|------------------------------------|--------------|
| Service accounts per organization |             1,000 | `iam.max_service_accounts.per_org` | ✔            |

<a id="service-quotas-api-keys"></a>

### API keys

Each service quota in the following table applies to the scope of one Confluent Cloud
organization. For the limit on the number of API keys per service account or
user account, see [service account scope](#service-quotas-service-accounts)
or [user account scope](#service-quotas-user-accounts).

| Resource                                                                                                                               |   Quota (default) | Quota code (ID)                                   | Usage data   |
|----------------------------------------------------------------------------------------------------------------------------------------|-------------------|---------------------------------------------------|--------------|
| Audit log API keys per organization                                                                                                    |                 2 | `iam.max_audit_log_api_keys.per_org`              |              |
| API keys per organization                                                                                                              |             3,000 | `iam.max_cloud_api_keys.per_org`                  | ✔            |
| API keys per Dedicated cluster                                                                                                         |            20,000 | `kafka.max_api_keys.per_cluster`                  | ✔            |
| API keys per Freight cluster                                                                                                           |             2,500 | `kafka.max_api_keys.per_cluster`                  | ✔            |
| API keys per Enterprise cluster                                                                                                        |             2,500 | `kafka.max_api_keys.per_cluster`                  | ✔            |
| API keys per Standard cluster                                                                                                          |               250 | `kafka.max_api_keys.per_cluster`                  | ✔            |
| API keys per Basic cluster                                                                                                             |                50 | `kafka.max_api_keys.per_cluster`                  | ✔            |
| API keys per service account                                                                                                           |               100 | `iam.max_cloud_api_keys.per_service_account`      | ✔            |
| API keys per service account (resource-scoped to a cluster API key, which<br/>includes Kafka, Schema Registry, Flink, and ksqlDB keys) |               100 | `iam.max_cluster_api_keys.per_service_account`    | ✔            |
| API keys (resource-scoped to resource management) per user account                                                                     |                10 | `iam.max_cloud_api_keys.per_user`                 | ✔            |
| API keys (resource-scoped to a cluster API key, which includes Kafka, Schema Registry,<br/>Flink, and ksqlDB keys) per user account    |                10 | `iam.max_cluster_api_keys.per_user`               | ✔            |
| Global API keys per service account across Confluent Cloud resources                                                                   |                 2 | `iam.global_api_keys.per_service_account`         | ✔            |
| Global API keys per user account across Confluent Cloud resources                                                                      |                 2 | `iam.global_api_keys.per_user`                    | ✔            |
| Global API keys for user accounts per organization                                                                                     |             1,000 | `iam.max_user_account_global_api_keys.per_org`    | ✔            |
| Global API keys for service accounts per organization                                                                                  |             1,000 | `iam.max_service_account_global_api_keys.per_org` | ✔            |

#### NOTE
When you create a global API key, it counts toward the `kafka.max_api_keys.per_cluster`
quota for every supported Kafka cluster in the organization, not just the clusters it is
actively used with. This means the system counts a single global API key once against each
[Dedicated](../clusters/cluster-types.md#dedicated-cluster), [Enterprise](../clusters/cluster-types.md#enterprise-cluster),
and [Freight](../clusters/cluster-types.md#freight-cluster) cluster’s limit.
[Basic](../clusters/cluster-types.md#basic-cluster) and [Standard](../clusters/cluster-types.md#standard-cluster) clusters
don’t support global API keys and are not affected.

<a id="service-quotas-rbac"></a>

### Role-based access control

Each service quota in the following table applies to the scope of one
[organization](../security/access-control/hierarchy/organizations/cloud-organization.md#cloud-organization) or, for cross-resource RBAC role
bindings, the scope of one organization plus all environments in it.

| Resource                                                                                                                                                                                | Quota (default)                                                            | Quota code (ID)                                | Usage data   |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------|------------------------------------------------|--------------|
| Total RBAC role bindings per organization                                                                                                                                               | 250,000                                                                    | `iam.max_rbac_role_bindings_all_roles.per_org` | ✔            |
| [Cross-resource RBAC role bindings](../_glossary.md#term-cross-resource-RBAC-role-binding)<br/>to roles with Kafka permissions: per organization plus environments <sup>[1](#id4)</sup> | 1,000 <sup>[2](#id5)</sup>                                                 | `iam.max_rbac_role_bindings.per_org_plus_envs` | ✔            |
| RBAC role bindings to roles with Kafka permissions <sup>[3](#id6)</sup>                                                                                                                 | 500 (Basic, Standard, Enterprise, and Freight)<br/><br/>25,000 (Dedicated) | `iam.max_rbac_role_bindings.per_cluster`       | ✔            |
* <a id='id4'>**[1]**</a> Roles with Kafka permissions at the Organization or Environment scope include: OrganizationAdmin, EnvironmentAdmin, MetricsViewer, NetworkAdmin, DataSteward, DataDiscovery, and Operator.
* <a id='id5'>**[2]**</a> The default limit for cross-resource RBAC role bindings to roles with Kafka permissions is 1,000. The [Advanced Security add-on](../security/advanced-security.md#advanced-security-add-on) raises this limit to 4,000.
* <a id='id6'>**[3]**</a> RBAC roles with Kafka permissions at the Cluster scope include: CloudClusterAdmin, DeveloperManage, DeveloperWrite, DeveloperRead, ResourceOwner, MetricsViewer, Operator, and KsqlAdmin.

<a id="ccloud-resource-limits-ip-filtering"></a>

### IP filtering

Each service quota in the following table applies to the scope of one Confluent Cloud
[IP group](../security/access-control/ip-filtering/manage-ip-groups.md#manage-ip-groups) or one [IP filter](../security/access-control/ip-filtering/manage-ip-filters.md#manage-ip-filters).
For limits on the number of IP groups and IP filters per organization, see
[Organization scope](#ccloud-resource-limits-organization).

| Resource                                                  |   Quota (default) | Quota code (ID)              | Usage data   |
|-----------------------------------------------------------|-------------------|------------------------------|--------------|
| IP filters per organization                               |                25 | `iam.max_ip_filters.per_org` |              |
| IP groups per organization                                |                25 | `iam.max_ip_groups.per_org`  |              |
| Classless Inter-Domain Routing (CIDR) blocks per IP group |                25 |                              |              |
| IP groups per IP filter                                   |                25 |                              |              |

<a id="ccloud-resource-limits-mtls"></a>

### Mutual TLS (mTLS)

Each service quota in the following table applies to the scope of one
mutual TLS (mTLS) certificate authority. For limits on the number
of mTLS certificate authorities per organization, see
[Organization scope](#ccloud-resource-limits-organization).

| Resource                                                  | Quota (default)            | Quota code (ID)                                       | Usage data   |
|-----------------------------------------------------------|----------------------------|-------------------------------------------------------|--------------|
| mTLS certificate authorities per organization             | 5                          | `iam.max_certificate_authorities.per_organization`    |              |
| mTLS certificate identity pools per certificate authority | 1,000 <sup>[4](#id8)</sup> | `iam.max_certificate_pools.per_certificate_authority` | ✔            |
* <a id='id8'>**[4]**</a> The default limit for mTLS certificate identity pools per certificate authority is 1,000. The [Advanced Security add-on](../security/advanced-security.md#advanced-security-add-on) raises this limit to 3,000.

<a id="ccloud-resource-limits-identity-provider"></a>

<a id="service-quotas-oauth-identity-providers"></a>

### OAuth identity providers

Each service quota in the following table applies to the scope of one Confluent Cloud
[OAuth identity provider](../security/authenticate/workload-identities/identity-providers/oauth/identity-providers.md#add-oauth-identity-providers). For the limit on the
number of OAuth identity providers, see
[Organization scope](#ccloud-resource-limits-organization).

| Resource                                   | Quota (default)             | Quota code (ID)                                | Usage data   |
|--------------------------------------------|-----------------------------|------------------------------------------------|--------------|
| OAuth identity providers per organization  | 5                           | `iam.max_identity_providers.per_organization`  |              |
| Identity pools per OAuth identity provider | 1,000 <sup>[5](#id10)</sup> | `iam.max_identity_pools.per_identity_provider` | ✔            |
* <a id='id10'>**[5]**</a> The default limit for identity pools per OAuth identity provider is 1,000. The [Advanced Security add-on](../security/advanced-security.md#advanced-security-add-on) raises this limit to 2,000.

<a id="service-quotas-self-managed-encryption-keys"></a>

### Self-managed encryption keys

Each service quota in the following table applies to the scope of one
[organization](../security/access-control/hierarchy/organizations/cloud-organization.md#cloud-organization).

| Resource                                                                 | Quota (default)          | Quota code (ID)         | Usage data   |
|--------------------------------------------------------------------------|--------------------------|-------------------------|--------------|
| Self-managed (Bring Your Own Key, BYOK) encryption keys per organization | 20 <sup>[6](#id12)</sup> | `byok.max_keys.per_org` | ✔            |
* <a id='id12'>**[6]**</a> For new Confluent Cloud organizations, self-managed encryption keys (BYOK) are available through the [Advanced Security add-on](../security/advanced-security.md#advanced-security-add-on). See [Advanced Security add-on for Confluent Cloud](../security/advanced-security.md#advanced-security-add-on) for details.

<a id="service-quotas-sso-identity-providers"></a>

### Single sign-on identity provider

Each service quota in the following table applies to the scope of one Confluent Cloud
organization or one [SSO identity provider](../security/authenticate/user-identities/user-idps/sso/enable-sso.md#enable-sso).

| Resource                            |   Quota (default) | Quota code (ID)                  | Usage data   |
|-------------------------------------|-------------------|----------------------------------|--------------|
| Single sign-on (SSO) group mappings |               100 | `iam.max_group_mappings.per_org` |              |

## Networking scopes

The following sections list the service quotas for networking resources in Confluent Cloud.

<a id="ccloud-resource-limits-network"></a>

<a id="service-quotas-networks"></a>

### Networks

Each service quota in the following table applies to the scope of one
[Confluent Cloud network](../networking/overview.md#ccloud-network-overview).

To get the current applied limits for an organization, see
[Quotas API](quotas.md#cc-quotas-network).

| Resource                                                                                                                          |   Quota (default) | Quota code (ID)                                                     | Usage data   |
|-----------------------------------------------------------------------------------------------------------------------------------|-------------------|---------------------------------------------------------------------|--------------|
| Networks                                                                                                                          |                 3 | `networking.max_network.per_environment`                            | ✔            |
| Kafka clusters                                                                                                                    |                10 |                                                                     |              |
| Kafka cluster CKUs                                                                                                                |                72 |                                                                     |              |
| Peering                                                                                                                           |                25 | `networking.max_peering.per_network`                                | ✔            |
| Maximum number of AWS accounts allowed to create PrivateLink endpoints to a specific Confluent Cloud network                      |                10 | `networking.max_private_link.per_network`                           | ✔            |
| Maximum number of Azure subscriptions allowed to create Private Link endpoints to a specific Confluent Cloud network              |                10 | `networking.max_private_link.per_network`                           | ✔            |
| Maximum number of Google Cloud projects allowed to create Private Service Connect endpoints to a specific Confluent Cloud network |                10 | `networking.max_private_link.per_network`                           | ✔            |
| Transit Gateways                                                                                                                  |                 1 | `networking.max_transit_gateway.per_network`                        | ✔            |
| AWS PrivateLink Attachments per environment for Enterprise                                                                        |                 3 | `networking.max_private_link_attachments_per_environment`           |              |
| AWS PrivateLink Attachment connections per AWS PrivateLink Attachment for Enterprise                                              |                10 | `networking.max_private_link_attachment_connections_per_attachment` |              |
| DNS domains per DNS forwarder                                                                                                     |                10 | `networking.limits.max_domains_per_dns_forwarder`                   |              |
| DNS server IP addresses per DNS forwarder                                                                                         |                 3 | `networking.limits.max_dns_server_ips_per_dns_forwarder`            |              |

<a id="ccloud-resource-limits-gateway"></a>

<a id="service-quotas-gateway"></a>

### Gateways (private links)

Each service quota in the following table applies to the scope of one
gateway that connects to Confluent Cloud using AWS PrivateLink or
Azure Private Link.

To get the current applied limits for an organization, see
[Quotas API](quotas.md#cc-quotas-network).

| Resource                                    |   Quota (default) | Quota code (ID)                                                       | Usage data   |
|---------------------------------------------|-------------------|-----------------------------------------------------------------------|--------------|
| Egress access points per gateway            |                10 | `networking.limits.max_access_points_per_egress_pl_gateway`           |              |
| Ingress access points per gateway           |                10 | `networking.limits.max_access_points_per_ingress_pl_gateway`          |              |
| DNS records per gateway                     |                20 | `networking.limits.max_dns_records_per_gateway`                       |              |
| Egress gateways per region per environment  |                 1 | `networking.limits.max_egress_private_link_gateways_per_environment`  |              |
| Ingress gateways per region per environment |                 1 | `networking.limits.max_ingress_private_link_gateways_per_environment` |              |

### Gateways (Private Network Interface)

Each service quota in the following table applies to the scope of one
gateway that connects to Confluent Cloud using a PNI.

| Resource                                                  |   Quota (default) | Quota code (ID)                                                            |
|-----------------------------------------------------------|-------------------|----------------------------------------------------------------------------|
| Maximum number of PNI gateways per region per environment |                 2 | `networking.limits.max_private_network_interface_gateways_per_environment` |
| Maximum number of PNI access points per PNI gateway       |                 1 | `networking.limits.max_private_network_interface_accesspoints_per_gateway` |

## Related content

- [Quotas API](quotas.md#cc-quotas)
- [Understand Service Quotas for Confluent Cloud](overview.md#service-quotas-overview)
- [View Service Quotas Using Confluent CLI on Confluent Cloud](use-cli.md#list-quotas-with-cli)
