> ## Documentation Index
> Fetch the complete documentation index at: https://docs.e6data.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sizing, quotas and cost

> Machine types, vCPU per cluster size, the AWS quotas to check before install, e6data limits, and what drives your AWS bill for an In-VPC deployment.

ReferenceApplies to: CloudPrem on AWS

A query cluster is a planner and a queue plus 1 to 32 executors, and each executor fills one 32-vCPU machine. Cluster size only changes the executor count, so running vCPU is 16 plus 32 per executor. Your cloud bill is driven mostly by executor machine-hours while clusters run; clusters suspend when idle.

This page covers your cloud bill from AWS: machines, disks, load balancers, NAT, endpoints, storage and data transfer in your account. XS figures are measured; larger sizes are estimates derived from the release, because size only changes the executor count.

## Node shapes

Engine pods get the same CPU and memory request and limit. The release sets them.

| Component | AWS machine | CPU / memory per pod | Count |
| - | - | - | - |
| Executor | i8g.8xlarge (32 vCPU, Graviton) | 30 CPU / 230 GiB | 1 per executor |
| Planner | m7g.2xlarge (8 vCPU) | 6 CPU / 28 GiB | 1 per cluster |
| Queue | m7g.2xlarge (8 vCPU) | 6 CPU / 28 GiB | 1 per cluster |
| Metadata service (schema + storage) | Shares the workspace machines | 2 CPU / 4 GiB each for schema and storage (4 CPU / 8 GiB in total), in the current release | 1 per workspace |
| Console | Workspace platform nodes (t4g xlarge or 2xlarge) | 1.5 CPU / 1 GiB in e6data's install (an earlier layout used 8 CPU / 8 GiB on 2 x r7gd.4xlarge) | 1 per workspace |
| System nodes | 2 x t3.medium or t4g.large, depending on the install | - | Once per cluster |

r7gd.8xlarge (also 32 vCPU / 256 GiB) has also been used for executors.

## vCPU per cluster size

| Size | Executors | AWS machines | vCPU running | vCPU during an update |
| - | - | - | - | - |
| XS | 1 | 2 x m7g.2xlarge + 1 executor | 48 (measured) | 96 |
| S | 2 | 2 + 2 | 80 (estimate) | 160 |
| M | 4 | 2 + 4 | 144 (estimate) | 288 |
| L | 8 | 2 + 8 | 272 (estimate) | 544 |
| XL | 16 | 2 + 16 | 528 (estimate) | 1,056 |
| XXL | 32 | 2 + 32 | 1,040 (estimate) | 2,080 |

"During an update" counts the second full set of pods that runs while a cluster moves to a new release.

Shared parts, on top of the clusters:

| Part | AWS |
| - | - |
| Once per Kubernetes cluster | 4 vCPU (2 x t3.medium or 2 x t4g.large) |
| Once per workspace | t4g.xlarge or t4g.2xlarge platform nodes (4 or 8 vCPU each) for the console, query router and metadata services: about 8 to 16 vCPU (estimate, not measured). An earlier layout with an 8-CPU console used 32 vCPU (2 x r7gd.4xlarge) |

Worked example, measured with the earlier 32-vCPU workspace layout: one new cluster, one workspace and one XS query cluster used 84 vCPU running and 132 vCPU at the update peak (4 + 32 + 48, and 4 + 32 + 96). With today's t4g platform nodes the workspace part is smaller.

## Quotas

Before install, check that your **unused** vCPU quota (the limit minus what already runs in that region) covers e6data at its peak. The peak is twice each query cluster's size, because a cluster runs a second copy during a version update.

### Requirements

* Unused vCPU quota in the install region at least equal to the formula below, in the quota buckets your machine types use.
* Spot nodes use a separate Spot quota.
* Quota increases can take time; request them early.
* Machine sizes come from the release e6data gives you. Standard sizing: executor 30 CPU / 230 GiB on i8g.8xlarge (32 vCPU); planner and queue on m7g.2xlarge (8 vCPU each). All on-demand.

### Sizing formula

N = executors in the cluster: XS 1, S 2, M 4, L 8, XL 16, XXL 32.

| Part | AWS vCPU | How often |
| - | - | - |
| System nodes (new cluster only) | 4 | Once per EKS cluster |
| Workspace (console, query router, metadata, usage service) | 32 (measured with the earlier layout; about 8 to 16 with today's t4g platform nodes, estimate) | Once per workspace |
| Query cluster, running | 16 + 32N | Per cluster |
| Query cluster, update peak | 2 × (16 + 32N) | Per cluster |

**Unused quota needed = system + (workspace × workspaces) + sum over clusters of 2 × (cluster running)**

Example: existing cluster, 1 workspace and 1 S cluster: 32 + 2 × (16 + 64) = **192 vCPU** (112 running).

With today's t4g platform nodes, the XS figure for a new cluster, one workspace and one XS cluster is about 116 vCPU (estimate). The measured figure with the earlier 32-vCPU workspace layout was 132. Plan with the larger figure if you are unsure.

### Per cluster size

Running and peak vCPU for one cluster, plus the whole deployment for one new cluster, one workspace (32 vCPU) and one query cluster:

| Size | Executors | Cluster running | Cluster at update peak | Deployment peak |
| - | - | - | - | - |
| XS | 1 | 48 | 96 | 132 |
| S | 2 | 80 | 160 | 196 |
| M | 4 | 144 | 288 | 324 |
| L | 8 | 272 | 544 | 580 |
| XL | 16 | 528 | 1,056 | 1,092 |
| XXL | 32 | 1,040 | 2,080 | 2,116 |

Estimates above XS.

### Which quota to check

All the standard machine types (T, M, R, I families) count against one bucket:

| Quota | Code | Used by |
| - | - | - |
| Running On-Demand Standard (A, C, D, H, I, M, R, T, Z) instances | L-1216C47A | All e6data nodes on on-demand |
| All Standard (A, C, D, H, I, M, R, T, Z) Spot Instance Requests | L-34B43A08 | Only if you allow Spot. By default engine releases use on-demand |
| EC2-VPC Elastic IPs | L-0263D0A3 | NAT gateway |
| NAT gateways per Availability Zone | L-FE5A380F | Egress |
| EKS clusters per Region | L-1194D53C | New cluster only |
| Network Load Balancers per Region | L-69A177A2 | One per workspace |
| EventBridge rules per event bus | L-244521F2 | Karpenter adds 4 per cluster |
| IAM roles per account | L-FE177D64 | The install creates roles per cluster and workspace |

[Configure registry, VPC, EKS, and networking](https://docs.e6data.com/platform/deploy/aws-cloudprem/configure-registry-vpc-eks-networking.md) lists minimums of 100 On-Demand and 500 Spot vCPUs, 5 Elastic IPs, and 1 free EKS cluster, NAT gateway per AZ and VPC.

> [!WARNING]
>
> Plan with the formula above, not those minimums. The 100 on-demand vCPU minimum is below the measured XS peak of 132 vCPU, so it isn't enough even for one XS cluster.

### Measure your unused quota

On-demand bucket:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
aws service-quotas get-service-quota --service-code ec2 --quota-code L-1216C47A \
  --region <REGION> --query 'Quota.Value'

aws ec2 describe-instances --region <REGION> \
  --filters Name=instance-state-name,Values=pending,running \
  --query 'Reservations[].Instances[?InstanceLifecycle!=`spot`].[CpuOptions.CoreCount,CpuOptions.ThreadsPerCore]' \
  --output text | awk '{s+=$1*$2} END {print s}'
```

Unused = the first number minus the second. The second command counts every running on-demand instance; leave out GPU, F, X and other non-standard types, which use other quotas.

For Spot, use the Spot quota code and count only Spot instances:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
aws service-quotas get-service-quota --service-code ec2 --quota-code L-34B43A08 \
  --region <REGION> --query 'Quota.Value'

aws ec2 describe-instances --region <REGION> \
  --filters Name=instance-state-name,Values=pending,running Name=instance-lifecycle,Values=spot \
  --query 'Reservations[].Instances[].[CpuOptions.CoreCount,CpuOptions.ThreadsPerCore]' \
  --output text | awk '{s+=$1*$2} END {print s}'
```

Pass: every unused figure is at least the formula result. Fail: request an increase in Service Quotas and wait for approval before install. Quota itself is free; unused headroom costs nothing until nodes start.

## e6data limits

| Limit | Value | Notes |
| - | - | - |
| Cluster sizes | XS to XXL (1 to 32 executors) | Size changes only the executor count |
| Workspace NodePool CPU limit | 1,000 vCPU in the install steps in these docs; e6data's own install uses 10,000 | 1,000 is too low for an XL update or any XXL cluster. Raise it to the figure below |
| Platform NodePool CPU limit | 200 vCPU per workspace | Console, query router and metadata services. Not part of the quota formula |
| Workspace NodePool limit needed | 32 + 2 × (16 + 32N) vCPU; 256 + 2 × (64 + 256N) GiB | XS 128 vCPU / 896 GiB; XXL 2,112 vCPU / 16,768 GiB |
| Query timeout | 15 minutes by default | Can be raised; 1 hour is the cap over JDBC/gRPC; 5 minutes over the HTTP query API |
| Kubernetes version | 1.29 or later | See [Component versions and operations](https://docs.e6data.com/platform/deploy/aws-cloudprem/component-versions-and-operations.md) |

Subnet and IP limits are in [IP address sizing](https://docs.e6data.com/platform/deploy/aws-cloudprem/ip-address-sizing.md).

## Cost drivers

| Driver | What it costs | How to control it |
| - | - | - |
| Executor machines | i8g.8xlarge is $2.7456 per hour on-demand in us-east-1. Executor cost per running hour: XS $2.75, S $5.49, M $10.98, L $21.96, XL $43.93, XXL \$87.86 | Clusters auto-suspend when idle; machines are released after suspend. With e6data's Karpenter, empty nodes are removed after about 30 seconds (`consolidateAfter: 30s`) |
| Planner and queue machines | 16 vCPU per running cluster | Released on suspend, with the executors |
| Workspace machines | Always on: about 8 to 16 vCPU of t4g per workspace (estimate) | Fewer workspaces; one workspace can hold many clusters |
| System nodes | Always on: 4 vCPU | - |
| Kubernetes control plane | $0.10 per cluster-hour in standard support, $0.60 in extended support | Stay on a version in standard support |
| NAT gateway | Hourly fee plus per-GB processing | The S3 gateway endpoint is free and keeps S3 traffic off NAT |
| Interface / private endpoints | Hourly fee per endpoint per zone, plus per GB | Needed mainly in the [isolated reference architecture](https://docs.e6data.com/platform/deploy/aws-cloudprem/reference-architecture-isolated.md); optional elsewhere |
| Cross-region data transfer | Charged per GB, and adds latency | Run query engines in the region where your data is |
| Load balancer | One per workspace endpoint | - |
| Metadata storage | Starts at about 140 GB per workspace; busy workspaces reach several TB (estimate) | Query history is kept 365 days by default. Add an S3 lifecycle rule to expire old object versions |

> [!WARNING]
>
> Data region. Set up data access in the region where your buckets are. Query engines in another region work, but cross-region transfer is charged per GB and adds latency. The free S3 gateway endpoint covers same-region buckets only.

## Machine prices

List prices, on-demand Linux, no discounts: us-east-1, from the AWS price list of November 2026. Prices differ by region; check yours before you plan.

| Role | AWS machine | AWS \$ per hour |
| - | - | - |
| Executor | i8g.8xlarge | 2.7456 |
| Executor (alternative) | r7gd.8xlarge | 2.1773 |
| Planner and queue | m7g.2xlarge (2 per cluster) | 0.3264 each |
| Workspace platform | t4g.xlarge / t4g.2xlarge | 0.1344 / 0.2688 |
| System nodes | t3.medium or t4g.large (2) | 0.0416 or 0.0672 each |

Hourly machine cost from these list prices:

| Part | AWS \$ per hour |
| - | - |
| XS cluster while running (planner, queue, 1 executor) | 3.40 |
| Each extra executor | 2.75 |
| One workspace, always on | about 0.27 to 0.54 (estimate) |
| System nodes, always on | 0.08 to 0.13 |

These cover machines only. Disks, load balancers, NAT, endpoints, storage and data transfer are extra.

## Spot capacity

* Spot is supported but not recommended.
* The engine has no query retry. A query still running when its node is lost fails; queries that finish while the node drains complete. A lost executor node is typically replaced in about 40 to 70 seconds. A drained node gives running work up to 15 minutes, but a Spot node gives only the 2-minute notice.
* Keep planner, queue and workspace nodes on on-demand. Put executors on Spot only if failed queries are acceptable.

## Local disk for spill

| Executor machine | Local NVMe per executor node |
| - | - |
| i8g.8xlarge (standard sizing) | 7,500 GB (2 x 3,750 GB) |
| r7gd.8xlarge | 1,900 GB |

The engine node class sets `instanceStorePolicy: RAID0`, so Karpenter stripes the local NVMe drives into one array at boot, with no privileged pod. In a measured run, about 95 GB spilled to local NVMe in 98 seconds. The install steps in [Deploy workspace and e6data](https://docs.e6data.com/platform/deploy/aws-cloudprem/deploy-workspace.md) don't set this yet.

## Troubleshooting

| Symptom | Cause | Fix |
| - | - | - |
| Nodes never launch; Karpenter logs a vCPU limit or quota error | Unused quota too low | Request more quota |
| A cluster update or XXL cluster never gets nodes | Workspace NodePool CPU limit at the default 1,000 | Raise the NodePool limit |
| A cluster start times out with Spot only | No Spot capacity or Spot quota | Allow on-demand in the NodePool |

## Limitations

* The default is arm64 (Graviton). x86 is supported: e6data provides the x86 release and node settings.
* vCPU figures above XS are derived from the release, not measured.

## See also

* [IP address sizing](https://docs.e6data.com/platform/deploy/aws-cloudprem/ip-address-sizing.md) - subnet and IP limits.
* [Reference architectures](https://docs.e6data.com/platform/deploy/aws-cloudprem/reference-architectures.md) - choose an architecture.
* [Node provisioning](https://docs.e6data.com/platform/deploy/aws-cloudprem/node-provisioning.md) - Karpenter and node pools.
* [Component versions and operations](https://docs.e6data.com/platform/deploy/aws-cloudprem/component-versions-and-operations.md) - releases and versions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.