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

# Deployment options

> Compare Mixpeek Cloud, dedicated single-tenant and customer-hosted deployments: who owns what, where data lives, regions and billing.

Mixpeek runs in three shapes that differ in how much of the stack you own. The API, the SDKs and the primitives are the same in all three, so code written against one runs unchanged against the others, and moving between them is a deployment change, not a rewrite.

| | Cloud account | Kubernetes | Nodes and storage | Mixpeek software | Operated by | You pay for |
| - | - | - | - | - | - | - |
| **Mixpeek Cloud** | Mixpeek | Mixpeek | Mixpeek, shared | Mixpeek | Mixpeek | Usage |
| **Mixpeek Cloud, dedicated** (single tenant) | Mixpeek | Mixpeek | Mixpeek, yours alone | Mixpeek | Mixpeek | Platform fee plus compute at cost |
| **Customer-hosted** | You | You | You | Mixpeek, in a namespace you grant | You run the substrate, Mixpeek runs its software | Your cloud bill plus a licence |

Choose **Mixpeek Cloud** if you want none of the infrastructure; most customers do. Choose **dedicated** if you need isolated capacity, a specific region or no noisy neighbors, but not custody of the hardware. Choose **customer-hosted** if your data must stay in your environment or your security posture requires the software to run on infrastructure you control. Already running Ray or KubeRay is not by itself a reason to choose customer-hosted.

## How Mixpeek is built

Every shape runs the same two layers and the same stores:

| Component | What it does |
| - | - |
| API layer | HTTP endpoints, auth, task orchestration, webhooks. Stateless; publishes background work to the work runtime |
| Engine layer | A Ray cluster with Ray Serve: extractors, inference, clustering, taxonomy runs. CPU, batch and GPU worker groups autoscale |
| Mixpeek Vector Store (MVS) | Vectors and documents, on object storage. A separate service, not a Ray workload |
| MongoDB | Metadata and the work runtime's ledger |
| Redis | Cache and task queue |
| Object storage | S3-compatible buckets for objects, snapshots and vector storage |

MVS is the vector store in every shape. Bringing your own vector database is not an option, because owning the storage layer end to end is what makes the learned index possible.

The **control plane** (API gateway, auth, billing and the routing that sends each request to the right data plane) holds no customer data. On both Mixpeek Cloud rows it stays with Mixpeek. In customer-hosted Mixpeek it can stay with Mixpeek or run in your namespace; see [Customer-hosted Mixpeek](https://docs.mixpeek.com/docs/production/customer-hosted.md).

## Mixpeek Cloud, dedicated

A dedicated deployment gives you an isolated data plane. The shared control plane resolves your API key to your data plane, and the request runs entirely there. Your API keys and SDKs work unchanged.

| Resource | Isolation |
| - | - |
| Database | Separate MongoDB instance or database |
| Compute | Your own Ray cluster in its own Kubernetes namespace: head node plus autoscaling worker groups |
| Cache | Separate Redis instance |
| Storage | Separate GCS or S3 bucket |
| Job queues | Queues prefixed per tenant, so jobs never compete with other customers |
| Vector store | Your own MVS shard with its own snapshots |

The control plane reaches your data plane over private networking (VPC peering or internal load balancers). All traffic between your application and Mixpeek stays in your region except the first API hop for auth and routing, about one round trip with no customer data stored.

### Regions

| Cloud | Region | Location | Status |
| - | - | - | - |
| GCP | `us-east1` | South Carolina | Available |
| GCP | `eu-west1` | Belgium | On demand |
| AWS | `us-east-1` | N. Virginia | On demand |
| AWS | `eu-west-1` | Ireland | On demand |
| AWS | `eu-west-3` | Paris | On demand |
| AWS | `ap-south-1` | Mumbai | On demand |

An on-demand region is provisioned when a customer commits: about one week for the first tenant in a new region, hours for the next. Mixpeek can deploy to any other GCP or AWS region on request. Changing cloud or region after onboarding requires a data migration, so choose during onboarding.

### Compute and scaling

| Worker group | Default range | Runs |
| - | - | - |
| CPU workers | 1 to 4 nodes | Text and image embeddings, reranking, classification |
| Batch workers | 0 to 30 nodes | Large ingestion jobs, from zero on demand |
| GPU workers | 0 to 8 nodes (NVIDIA L4) | Video processing, large model inference |

Workloads can run on dedicated node pools with tenant taints, so nothing else lands on your nodes. You pick machine types per group, spot or preemptible nodes for batch work, and GPUs (NVIDIA L4, A100).

You manage the cluster through a YAML overrides file that Mixpeek merges with the latest extractor registry on each deploy. New extractors appear automatically; extractors you disabled stay disabled.

| Section | Controls |
| - | - |
| `auto_deploy` | When `true`, platform updates deploy to your cluster automatically |
| `disabled` | Extractors to leave out, which frees capacity and cuts always-on cost |
| `overrides` | Per-extractor `autoscaling_config`: `min_replicas` (0 scales to zero), `max_replicas`, `target_ongoing_requests`, `downscale_delay_s` |
| `cluster` | Worker group replicas and resources |
| `head` | Head node CPU and memory |
| `redis` | Cache memory and persistence |
| `mvs` | Shard settings: WAL, snapshots, index parameters |
| `node_pools` | Machine types, autoscaling ranges, GPU type and count |
| `env` | Environment variable overrides |
| `spec` | Health check thresholds |

```yaml tenant-overrides.yaml theme={null}
auto_deploy: true

disabled:
  - mixpeek__playwright          # no web scraping
  - laion__clap_htsat_tiny       # no audio embeddings

overrides:
  intfloat__multilingual_e5_large_instruct:
    autoscaling_config:
      min_replicas: 2            # always warm for search
      max_replicas: 6

cluster:
  batch-workers:
    minReplicas: 0
    maxReplicas: 5
  gpu-workers:
    minReplicas: 0
    maxReplicas: 3

node_pools:
  gpu-workers:
    machine_type: g2-standard-8  # g5.2xlarge on AWS
    min_nodes: 0
    max_nodes: 4
    accelerator:
      type: nvidia-l4
      count: 1
```

Changes apply on the next deploy. Keep `min_replicas: 1` on the embedding model your searches use; the first request to an extractor scaled to zero takes 5 to 10 seconds and can return `503` meanwhile. Keep batch and GPU groups at `minReplicas: 0` so you pay for them only while jobs run.

### Kubernetes access

You get operator access to your namespace: view pods, logs and events, scale worker groups, restart stuck pods, port-forward to the Ray dashboard and read Ray cluster status. You cannot read secrets or RBAC, or change other namespaces.

```bash Scale batch workers before a large job theme={null}
kubectl -n "$TENANT_NAMESPACE" scale raycluster "$RAY_CLUSTER" \
  --replicas=3 --resource-name=batch-workers
```

```bash Open the Ray dashboard on localhost:8265 theme={null}
kubectl -n "$TENANT_NAMESPACE" port-forward "svc/$RAY_HEAD_SERVICE" 8265:8265
```

Manual scaling lasts until the next deploy, which resets to your overrides file. Each tenant also gets Grafana dashboards scoped to its data plane: queue health, batch status, API latency (p50, p95, p99), compute cost and usage, and 5xx error rate.

> [accordion] Pods stuck in Pending
>
> Run `kubectl -n "$TENANT_NAMESPACE" describe pod "$POD_NAME"`. The usual causes are the cluster autoscaler adding a node (2 to 3 minutes), GPUs temporarily exhausted in the region, or other groups' `maxReplicas` using the capacity.

> [accordion] OOMKilled pods
>
> Raise the memory limit for that worker group under `cluster.<group>.resources.limits.memory` in the overrides file.

> [accordion] Batch jobs not starting
>
> Check for batch workers with `kubectl -n "$TENANT_NAMESPACE" get pods -l ray.io/group=batch-workers`; scale the group to 1 if there are none. A queue backlog in Grafana is normal for a large batch.

### Billing and onboarding

A dedicated deployment bills a fixed monthly platform fee plus the cloud infrastructure it consumes (nodes, storage, networking) at cost plus a management markup. There are no per-operation usage charges.

To start, contact your account manager or [sales@mixpeek.com](mailto:sales@mixpeek.com) and choose a cloud and region. Mixpeek provisions the data plane, gives you `kubectl` access and Grafana, and routes your existing API keys to it. Moving from the shared platform copies your data to the isolated database and switches routing; rollback is as fast.

## Customer-hosted

Mixpeek runs in a Kubernetes namespace you grant on your cloud account or datacenter. Both planes move together: MVS shards on your disks, Ray on your nodes, your object storage, so your vectors do not leave your environment.

| You own | Mixpeek owns |
| - | - |
| Cloud account or datacenter | MVS |
| Kubernetes | Ray, deployed as its own `RayService` with Mixpeek's image |
| CPU and GPU nodes | Execution logic, models, Serve, indexing and retrieval |
| Disks, storage classes and object storage | The Python and CUDA environment |
| Networking, IAM, quotas and policies | The software lifecycle |

Mixpeek ships its own Ray, Python, CUDA and MVS as containers, so it can upgrade without asking your platform team to upgrade a dependency first. Your Kubernetes version, storage capabilities and GPU drivers remain the compatibility boundary. Permissions, data flow and the qualification suite are on [Customer-hosted Mixpeek](https://docs.mixpeek.com/docs/production/customer-hosted.md); installation is on [Install customer-hosted](https://docs.mixpeek.com/docs/production/customer-hosted-install.md).

## Related

* [Customer-hosted Mixpeek](https://docs.mixpeek.com/docs/production/customer-hosted.md): the full contract for running in your environment
* [Install customer-hosted](https://docs.mixpeek.com/docs/production/customer-hosted-install.md): KubeRay, configuration and troubleshooting
* [Authentication and access](https://docs.mixpeek.com/docs/production/security.md): tenancy and network controls
* [Monitoring and troubleshooting](https://docs.mixpeek.com/docs/production/monitoring.md): health checks after a deploy


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