# turbopuffer BYOC

Deploy turbopuffer into your own AWS, GCP, or Azure account with turbopuffer
BYOC (Bring Your Own Cloud). Your data stays in your account, and the
turbopuffer team is on-call for your cluster and operates it through our secure
control plane.

## Deployment types

Both deployment types run the same turbopuffer software in a dedicated
Kubernetes cluster in your cloud account. They differ in who builds and
operates the cluster.

|                                    | Standard BYOC                         | Managed BYOC                                    |
| ---------------------------------- | ------------------------------------- | ----------------------------------------------- |
| Initial cluster setup              | You                                   | turbopuffer                                     |
| Operates the Kubernetes cluster    | You                                   | turbopuffer                                     |
| Applies configuration changes      | You                                   | turbopuffer                                     |
| Upgrades turbopuffer               | Control plane                         | Control plane                                   |
| Upgrades Kubernetes and add-ons    | You                                   | turbopuffer                                     |
| turbopuffer access to your account | None                                  | Scoped identities, no data access after install |
| Setup guide                        | [Standard Setup](/docs/byoc/standard) | [Managed Setup](/docs/byoc/managed)             |

Before you set up either one, check the [requirements](/docs/byoc/requirements)
and [size your cluster](/docs/byoc/sizing).

### Standard BYOC

You receive a BYOC kit with Terraform and Kubernetes configuration files that
provision the VPC and Kubernetes cluster.

Your team owns the Kubernetes cluster, applies configuration changes, and rolls
out infrastructure upgrades. turbopuffer operates the software through the
control plane and has no access to your VPC.

To deploy, follow [Standard Setup](/docs/byoc/standard).

```
┌─Customer Account───────────────────────────┐       ┌─turbopuffer Account───┐
│                                            │       │                       │
│┌──turbopuffer sub-account─────────────────┐│       │ ┌───────────────────┐ │
││                                          ││       │ │     Telemetry     │ │
││              ┌──Kubernetes──────────────┐││       │ └───────────────────┘ │
││ ┌─────────┐  │ ┌─────────┐  ┌─────────┐ │││       │ ┌───────────────────┐ │
││ │ Bucket  │  │ │ Compute │  │ Control │ │││       │ │       Usage       │ │
││ │  (AES)  │──┼─│         │  │  Plane  ├─┼┼──TLS──▶│ └───────────────────┘ │
││ └─────────┘  │ └─────▲───┘  └─────────┘ │││       │ ┌───────────────────┐ │
││              └───────┼──────────────────┘││       │ │     Dashboard     │ │
│└──────────────────────┼───────────────────┘│       │ └───────────────────┘ │
│                       │                    │       │ ┌───────────────────┐ │
│                       │                    │       │ │   Control Plane   │ │
│┌──Customer sub-account┴───────────────────┐│       │ └───────────────────┘ │
││ ┌──────┐   ┌──────┐   ┌──────┐           ││       │ ┌───────────────────┐ │
││ │App 1 │   │App 2 │   │App 3 │           ││       │ │ Container Images  │ │
││ └──────┘   └──────┘   └──────┘           ││       │ └───────────────────┘ │
│└──────────────────────────────────────────┘│       └───────────────────────┘
└────────────────────────────────────────────┘
```

### Managed BYOC

Managed BYOC deployments are run by turbopuffer in your cloud. We set up,
maintain, operate, and troubleshoot the cluster for you.

You receive a BYOC kit with a bootstrap Terraform module. Applying it
creates a jump host in your cloud account, which builds the turbopuffer cluster
for you. The turbopuffer team reaches the jump host over outbound-only SSH
through Teleport and operates the cluster from there. All access through
Teleport is logged and audited. Cluster-admin access is limited, and
turbopuffer has no access to your data bucket once you close the install window.

To deploy, follow [Managed Setup](/docs/byoc/managed).

```
┌─Customer Account───────────────────────────┐       ┌─turbopuffer Account───┐
│                                            │       │                       │
│┌──turbopuffer sub-account─────────────────┐│       │ ┌───────────────────┐ │
││                                          ││       │ │     Telemetry     │ │
││              ┌──Kubernetes──────────────┐││       │ └───────────────────┘ │
││ ┌─────────┐  │ ┌─────────┐  ┌─────────┐ │││       │ ┌───────────────────┐ │
││ │ Bucket  │  │ │ Compute │  │ Control │ │││       │ │       Usage       │ │
││ │  (AES)  │──┼─│         │  │  Plane  ├─┼┼──TLS──▶│ └───────────────────┘ │
││ └─────────┘  │ └─────▲───┘  └─────────┘ │││       │ ┌───────────────────┐ │
││              └───────┼───────────▲──────┘││       │ │     Dashboard     │ │
││                      │  deployer │       ││       │ └───────────────────┘ │
││                      │  ops      │       ││       │                       │
││                      │  upgrader │       ││       │                       │
││                      │      ┌────┴────┐  ││       │ ┌───────────────────┐ │
││                      │      │Jump host├──┼──SSH──▶│ │  On-call Access   │ │
││                      │      └─────────┘  ││       │ └───────────────────┘ │
│└──────────────────────┼───────────────────┘│       │ ┌───────────────────┐ │
│                       │                    │       │ │   Control Plane   │ │
│┌──Customer sub-account┴───────────────────┐│       │ └───────────────────┘ │
││ ┌──────┐   ┌──────┐   ┌──────┐           ││       │ ┌───────────────────┐ │
││ │App 1 │   │App 2 │   │App 3 │           ││       │ │ Container Images  │ │
││ └──────┘   └──────┘   └──────┘           ││       │ └───────────────────┘ │
│└──────────────────────────────────────────┘│       └───────────────────────┘
└────────────────────────────────────────────┘
```

## Security

* Data is encrypted in transit with TLS 1.2+.
* Data is encrypted at rest with AES-256 in Google Cloud Storage, Amazon S3, or Azure Blob Storage.
  On AWS and GCP, namespaces can also be encrypted with
  [customer managed keys (CMEK)](/docs/byoc/configuration#customer-managed-encryption-keys-cmek).
* Data is cached in memory and on local NVMe SSD disks, which the cloud provider encrypts with AES-256.
* No customer data leaves your account.

In Standard BYOC, turbopuffer does not have access to your VPC. All operations
go through the control plane agent.

In Managed BYOC, turbopuffer operates the cluster from a jump host in your
account, reached through Teleport. All access is logged and audited. Only the
cluster's workload identities can reach your data. The identities turbopuffer
uses from the jump host have no access to your data bucket once you close the
install window. Cluster-admin is only available during initial cluster setup and
when you choose to open the window. See
[Managed BYOC permissions](/docs/byoc/managed#permissions).

See more details in the [Security](/docs/security) page.

## Isolating your customers' data

If you serve your own customers from a BYOC cluster, give each customer its own
organization and API keys, and store each organization's data in a dedicated
bucket. The bucket can live in your account or in your customer's cloud
account. See [bucket per customer](/docs/byoc/configuration#bucket-per-customer).

## Cost and performance

You pay your cloud provider directly for the infrastructure, and you decide how
much of it to run. turbopuffer serves queries from NVMe SSD and memory caches in
front of object storage. Adding query nodes keeps more of your data in cache, so
latency drops. Fewer nodes cost less, and queries to data that isn't cached
read from object storage and take longer. Where your cluster sits on that curve
is your call. See [Sizing](/docs/byoc/sizing).

## Control plane

The control plane has two components:

1. **Customer component** runs inside your cluster and executes operations.
   It is source-available by request.
2. **Vendor component** runs inside turbopuffer's VPC and allows the turbopuffer
   team to propose operations.

The control plane runs a fixed set of audit logged operations, such as upgrades,
scaling, restarts, reindexing, compaction, and garbage collection. See
[supported operations](/docs/byoc/operations#supported-operations) for the full
list.

The control plane is not in the data path, so turbopuffer keeps accepting writes
and queries if the control plane is down.

## Operation approval model & SLAs

turbopuffer will provide support under the terms of the Service Level Agreement
in your Master Subscription Agreement (MSA). The turbopuffer team is on-call for
your cluster.

Product operations are performed securely through the control plane with audit
logs. Standard BYOC has two modes for accepting control plane operations:

**Partially managed.** This is the default. The turbopuffer on-call is allowed
to execute audit logged operations through the control plane at any time. This
means we can uphold higher SLAs as we don't require working with your on-call.
It is also the least operational work for your team.

**Manual approval.** All operations must go through manual approval from your
team. The turbopuffer team requires access to your on-call responsible for the
turbopuffer cluster to grant access within SLAs. Every change waits on your
team, including during incidents, so this mode adds operational work. It also
affects pricing and the SLAs we can provide.

In both modes, turbopuffer receives telemetry and usage data from the cluster
and has no other access to it. [Managed BYOC](#managed-byoc) goes one step
further. turbopuffer also handles setup, maintenance, and troubleshooting of
the cluster itself.

Operations are implemented as Kubernetes Custom Resource Definitions (CRDs).
This allows you to use your existing tools to manage audit logs of cluster
operations.

## Upgrades

turbopuffer can be upgraded, scaled up, or scaled down without downtime by the
control plane. Any node can accept traffic for any namespace at any time.
Therefore, zero downtime upgrades can be performed with a simple rolling
restart. To limit upgrades to off-hours, set a
[maintenance window](/docs/byoc/configuration#restricting-upgrades-to-a-maintenance-window).

Container images can optionally be replicated into your account. This allows
you to enable extra security features such as image tag immutability. All
images are signed by `cosign`, so you can verify them.

## Network isolation

turbopuffer does not require any external incoming connections through the
firewall. You can disable all incoming connections and access turbopuffer
through your private VPC networking.

turbopuffer does require outgoing connections for telemetry, usage data, and to
receive commands from the control plane. By default, these connections are
routed over the Internet. The external IPs can be allowlisted, see
[restricting outbound connections](/docs/byoc/standard#restricting-outbound-connections).

For Managed BYOC, the jump host requires an outbound connection to turbopuffer
for SSH access.

## Telemetry

Telemetry is emitted to Datadog (traces, metrics, and logs) and
[Polar Signals](https://www.polarsignals.com/) (CPU and heap profiling) directly
from your account for turbopuffer to monitor. No customer data is ever
emitted in the telemetry. This allows continuous monitoring by the turbopuffer
team. Telemetry includes:

- performance and infrastructure health metrics (no customer data)
- request logs and error logs (no customer data)
- performance tracing data (no customer data)
- CPU and heap profiling (no customer data)

You get access to a shared Datadog dashboard with telemetry. See
[Monitoring](/docs/byoc/operations#monitoring) for how to get access and how to
send metrics and traces to your own tools.

## Usage & dashboard

Aggregated usage metrics are reported to the turbopuffer usage database. These
metrics are used for billing, and are displayed on the turbopuffer dashboard.

## Compliance

turbopuffer maintains System and Organization Controls (SOC) 2 Type 2
compliance, with continuous auditing by an AICPA certified auditor. Request our
latest report from the [Trust Center](https://trust.turbopuffer.com). For
healthcare customers, turbopuffer can also sign a Business Associate Agreement
(BAA).

turbopuffer is pursuing FedRAMP authorization. [Contact us](/contact) if you
need FedRAMP.

Because customer data stays in your account, turbopuffer is not a data
processor for the data in a BYOC cluster.


---

This page: [/docs/byoc.md](https://turbopuffer.com/docs/byoc.md)

All documentation pages: [/llms.txt](https://turbopuffer.com/llms.txt)

All documentation in one file: [/llms-full.txt](https://turbopuffer.com/llms-full.txt)
