Cloud Deployment Configuration
Configures the cloud resources for each engine when deploying pipelines to DataSQRL Cloud. Deployment settings are configured under the deployment field within each engine's configuration.
{
"engines": {
"flink": {
"deployment": {
"jobmanager-size": "small",
"taskmanager-size": "large.mem",
"taskmanager-count": 1
},
"config": {
"execution.checkpointing.interval": "180s"
}
},
"postgres": {
"deployment": {
"instance-size": "medium",
"replica-count": 1
}
},
"vertx": {
"deployment": {
"instance-size": "small",
"instance-count": 1
}
}
}
}
Flink (engines.flink.deployment)โ
Apache Flink deployments consist of 1 job manager and a configurable number of identically sized task managers.
{
"engines": {
"flink": {
"deployment": {
"jobmanager-size": "small", // Job manager instance size (see table below)
"taskmanager-size": "medium", // Task manager instance size (see table below)
"taskmanager-count": 2 // Number of task managers (positive integer)
}
}
}
}
Task Manager Sizesโ
| Name | CPU | Task Slots | Memory (GiB) | NVMe Space | Max CPU Burst |
|---|---|---|---|---|---|
| dev | 0.5 | 1 | 2 | 20GB | 2 |
| small | 1 | 1 | 4 | 55GB | 1 |
| medium | 2 | 2 | 8 | 110GB | 1 |
| large | 4 | 4 | 16 | 220GB | 1 |
| xlarge | 8 | 8 | 32 | 440GB | 1 |
The dev size is intended for development and testing with small amounts of data.
Size Qualifiersโ
Task manager sizes support qualifiers for specialized workloads. Qualifiers are grouped into memory-oriented and CPU-oriented variants:
.mem-Nxscales the pod memory byNand gives Flink proportionally more memory (Flink heap+managed grows withN). Use for state-heavy jobs..mem-headroom-Nxscales the pod memory byNbut keeps Flink's allocation at the baseline memory; the extra memory is reserved for sidecar / native consumers (e.g., DuckDB, JNI libs, page cache)..cpudoubles CPU with the same memory.
| Qualifier | Pod memory | Flink heap+managed | Typical use |
|---|---|---|---|
.cpu | base | base ร 0.80 | CPU-intensive jobs |
.mem / .mem-2x | base ร 2 | base ร 1.6 | State-heavy jobs |
.mem-4x | base ร 4 | base ร 3.2 | Large state |
.mem-8x | base ร 8 | base ร 6.4 | Very large state |
.mem-headroom-2x | base ร 2 | base ร 1 | Sidecars / native memory consumers |
.mem-headroom-4x | base ร 4 | base ร 1 | Larger sidecar headroom |
.mem-headroom-8x | base ร 8 | base ร 1 | Maximum sidecar headroom (e.g. DuckDB) |
Examples:
medium.mem-4xโ pod 32 GB / Flink heap+managed โ 25.6 GB.xlarge.mem-headroom-8xโ pod 256 GB / Flink heap+managed = 32 GB (baseline) / 224 GB headroom.
.mem is an alias for .mem-2x. The legacy .mem-headroom qualifier (triple memory, Flink stays at baseline) is deprecated โ use .mem-headroom-Nx instead.
Size qualifiers do not apply to the dev instance.
Job Manager Sizesโ
| Name | SubTasks | CPU | Memory (GiB) |
|---|---|---|---|
| dev | <100 | 0.5 | 1 |
| small | 100-800 | 0.5 | 2 |
| medium | 800-2000 | 1 | 4 |
| large | >2000 | 2 | 8 |
Choose the job manager size based on the number of subtasks in your Flink job.
PostgreSQL (engines.postgres.deployment)โ
PostgreSQL deployments consist of one primary instance and a configurable number of read replicas, all using the same instance size.
{
"engines": {
"postgres": {
"deployment": {
"instance-size": "medium", // Instance size (see table below)
"replica-count": 1, // Number of read replicas (0 or larger)
"disk-size-gb": 256, // Disk size in GB (1 or larger)
"auto-expand-percentage": 0.2 // Auto-expand threshold (0 to disable, must be < 1)
}
}
}
}
Instance Sizesโ
| Name | CPU | Memory (GiB) | Default Disk | Max CPU Burst | Max Connections |
|---|---|---|---|---|---|
| dev | 0.5 | 4 | 10GB | 1.5 | 100 |
| small | 1 | 8 | 128GB | 1 | 100 |
| medium | 2 | 16 | 256GB | 1 | 200 |
| large | 4 | 16 | 512GB | 1 | 300 |
| xlarge | 8 | 32 | 1TB | 1 | 600 |
The dev size is intended for development and testing with small amounts of data.
Vert.x (engines.vertx.deployment)โ
Vert.x API server deployments consist of a configurable number of identically sized server instances.
{
"engines": {
"vertx": {
"deployment": {
"instance-size": "small", // Instance size (see table below)
"instance-count": 2 // Number of server instances (positive integer)
}
}
}
}
Instance Sizesโ
| Name | CPU | Memory (GiB) | NVMe Space | Max CPU Burst | Pg Pool Size |
|---|---|---|---|---|---|
| dev | 0.5 | 2 | - | 1.25 | 5 |
| small | 1 | 4 | 55GB | 1 | 5 |
| medium | 2 | 8 | 110GB | 1 | 10 |
| large | 4 | 16 | 220GB | 1 | 15 |
The dev size is intended for development and testing with small amounts of data. The .disk qualifier enables NVMe storage for instances that require local disk access.