<!-- WARNING: This documentation is auto-generated from the confluentinc/cli repository and should not be manually edited. -->

<a id="confluent-flink-compute-pool-create"></a>

# confluent flink compute-pool create

## Description

### Cloud

Create a Flink compute pool.

```none
confluent flink compute-pool create <name> [flags]
```

### On-Premises

Create a Flink compute pool in Confluent Platform.

```none
confluent flink compute-pool create <resourceFilePath> [flags]
```

## Flags

### Cloud

```none
    --cloud string         REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp".
    --region string        REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all).
    --default-pool         Indicate whether the Flink compute pool is a default compute pool or not.
    --environment string   Environment ID.
    --max-cfu int32        Maximum number of Confluent Flink Units (CFU). (default 5)
    --wait                 Wait for the Flink compute pool to reach a ready or failed state before returning.
    --timeout duration     Maximum time to wait for the Flink compute pool to reach a ready or failed state when --wait is set (e.g., '30s', '5m', '2h'). (default 1h0m0s)
    --context string       CLI context name.
-o, --output string        Specify the output format as "human", "json", or "yaml". (default "human")
```

### On-Premises

```none
    --environment string                  REQUIRED: Name of the Flink environment.
    --url string                          Base URL of the Confluent Manager for Apache Flink (CMF). Environment variable "CONFLUENT_CMF_URL" may be set in place of this flag.
    --client-key-path string              Path to client private key for mTLS authentication. Environment variable "CONFLUENT_CMF_CLIENT_KEY_PATH" may be set in place of this flag.
    --client-cert-path string             Path to client cert to be verified by Confluent Manager for Apache Flink. Include for mTLS authentication. Environment variable "CONFLUENT_CMF_CLIENT_CERT_PATH" may be set in place of this flag.
    --certificate-authority-path string   Path to a PEM-encoded Certificate Authority to verify the Confluent Manager for Apache Flink connection. Environment variable "CONFLUENT_CMF_CERTIFICATE_AUTHORITY_PATH" may be set in place of this flag.
-o, --output string                       Specify the output format as "human", "json", or "yaml". (default "human")
```

## Global Flags

```none
-h, --help            Show help for this command.
    --unsafe-trace    Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).
```

## Examples

### Cloud

Create Flink compute pool “my-compute-pool” in AWS with 5 CFUs.

```none
confluent flink compute-pool create my-compute-pool --cloud aws --region us-west-2 --max-cfu 5
```

### On-Premises

No examples.

## See Also

* [confluent flink compute-pool](index.md#confluent-flink-compute-pool) - Manage and select Confluent Cloud Flink compute pools.
