Kapten

Whitepaper · WP-03

Ownership by design

Bring-your-own-cloud as an architecture for SaaS teams and the customers they serve.

How a control plane and a data plane in separate accounts change the answers to residency, billing, security review and exit, for your own infrastructure and for deployments in your customers’ clouds.

Read online
Pages in print
≈11
Read time
14 min
Chapters
8
Sections
27

Executive summary

The argument in 5 lines.

If you read nothing else, read these. Each one is developed in a chapter below.

  1. 01

    Bring-your-own-cloud separates who operates the platform from who owns the infrastructure; it is not the same thing as self-hosting.

  2. 02

    The control plane coordinates; the data plane (your workloads and your data) stays in your account, in your region, on your bill.

  3. 03

    Access should be describable in one sentence. For Kapten: a service account you create on each cluster you connect, used by an agent Kapten installs, until you delete its token.

  4. 04

    Exit is part of the architecture. Standard building blocks mean leaving is revoking a cluster's access, not rebuilding a platform.

  5. 05

    The same model lets a SaaS vendor deploy into a customer’s cloud with a responsibility split both security teams can review.

Kapten · Whitepaper WP-03 · 13 October 2026

1. Two questions that used to have one answer

When a team adopts a hosting platform, two questions are usually answered together without anyone noticing that they are separate:

  1. Who operates the infrastructure? Who provisions it, upgrades it, patches it, watches it and gets paged when it fails.
  2. Who owns the infrastructure? Whose account it lives in, whose bill it appears on, whose region it sits in, whose audit trail records what happens to it.

A traditional platform-as-a-service answers both with “the vendor”. Self-hosting answers both with “you”. Bring-your-own-cloud (BYOC) is the architecture that answers them differently: the vendor operates, and you own.

That split is the subject of this paper. It is worth taking slowly, because the terms are used loosely. BYOC is frequently described as a flavour of self-hosting, and it is closer to the opposite. Self-hosting hands you the software and the operational burden. BYOC leaves the operating with the vendor and hands you the account it happens in.

QuestionHosted PaaSSelf-hostingBYOC
Who operates it?Provisions, patches, gets pagedVendorYouVendor
Whose account?VendorYouYou
Whose bill and region?VendorYouYou
Whose audit trail?VendorYouYou
Operational burden on your teamNoYesPartial
Figure 1. Two questions, three answers. BYOC is the only model that splits who operates from who owns.

2. Control plane and data plane

The architecture rests on a separation that networking engineers will recognise.

The data plane

The data plane is everything that serves your users: the Kubernetes cluster, the containers running your services, the managed databases, the caches, the object storage, the load balancers, the network between them, and above all the data itself. In a BYOC architecture, all of this lives in your cloud account.

The control plane

The control plane is everything that decides what the data plane should look like and makes it so: the user interface, the API, the workflow engine, the history of deployments and the record of who changed what. In Kapten’s architecture, the control plane is the Engine, operated by Kapten.

The boundary between them

The two planes meet at a deliberately narrow point: an agent that Kapten installs on each cluster you connect, with a kubeconfig you give it. The agent carries out deployments for the Engine and reports their progress and logs back. Everything interesting about the security of the model is a property of that boundary.

Control plane · data plane
Your team and AI agents talk to the Kapten Engine over HTTPS, through the console, the CLI or a local MCP server. The Engine drives an agent installed on your Kubernetes cluster with a kubeconfig you provided. The agent deploys your services and databases in the cluster. Your users reach the ingress gateway in your account directly.Your teamControl plane · KaptenData plane · your accountEngineersconsole, CLIAI agentlocal MCP serverEnginedesired state, runs, activityKapten agentkapten* namespacesYour servicesone namespace per environmentDatabaseshttpsapikubeconfig
  • Engineers connects to Engine (https).
  • AI agent connects to Engine (api).
  • Engine connects to Kapten agent (kubeconfig).
  • Kapten agent connects to Your services.
  • Kapten agent connects to Databases.
Figure 2. The two planes meet at one narrow point: the agent on your cluster. Users never pass through the control plane.
Data plane Control plane
Lives in Your cloud account, on clusters you own Kapten
Contains Workloads, databases, volumes, network, application data Organizations, projects, environments, run history, activity log
Billed by Your cloud provider, on your invoice Kapten, per environment minute
Keeps running if the other disappears Yes, it serves traffic independently No, it has nothing to manage
Audit trail Your cluster’s and provider’s own logs Kapten’s activity log

The fourth row is the one that matters most. If the control plane is unavailable (for maintenance, for an outage, or because you have stopped using it), the data plane continues to serve your users. You lose the ability to deploy through Kapten until it returns, not the application.

3. The access boundary, precisely

Every BYOC vendor says “least privilege”. The useful version of that sentence names what the vendor can do. Here is what Kapten asks for, as the Connect a cluster guide describes it.

1Service account per clusterCreated by you, for Kapten
kapten*Agent namespacesAgent, ingress, cert-manager, collectors
1Namespace per environmentEnvironments are isolated
Activity logAudit trailEvery change, who and when
Figure 3. The access boundary in four figures, all taken from the documented setup. These are design properties, not measurements.

A service account you create

You create a service account on your cluster for Kapten, bind it to cluster-admin, and give Kapten a kubeconfig with its token. Kapten installs its agent with it. The cloud CLI’s usual kubeconfig is not used, so Kapten never holds your cloud credentials.

Broad on the cluster, absent elsewhere

cluster-admin is broad, and it is worth saying plainly: on a connected cluster, Kapten can create and change anything. That is why the useful boundary is the cluster itself. Connect clusters that run what Kapten deploys, and keep other systems on clusters Kapten does not know about. Kapten has no access to your cloud account beyond the clusters you connect and the managed databases you ask it to provision.

Isolated per environment

Each environment gets its own namespace on its cluster. Components of one environment reach each other inside that namespace; a database in one environment is not shared with another.

Recorded where you can see it

Every change made in your Kapten organization is recorded with who made it and when, in its activity log. Every deployment is a run, with its status, its timeline and its logs. On the cluster side, your Kubernetes audit log, if you enable it, records every call made by the service account.

The one-sentence test

The useful test of an access model is whether you can describe, in a single sentence, what the vendor could do on its worst day. For this model: deploy, change and delete workloads on the clusters you connected, as the service account you created, until you delete its token. If a vendor cannot give you an equivalent sentence, the policy is probably broader than it looks.

Agents inside the boundary

Coding agents add no reach of their own. An agent works with Kapten through the CLI’s local MCP server, with the roles of the login it runs as, and its changes go through the same Engine and the same agent on your cluster as any other. The agentic SRE covers how to keep that login narrow.

$ add a Redis cache to staging
createRedisDatabase(environment: staging, name: cache) · allow?
$ yes
cache created in the staging namespace · credentials added as secrets
activity log: database created by agent@acme (OAuth application)
Figure 4. An agent gains no extra reach: it calls the same API, with the roles of its login, and the change shows up as a run and in the activity log.Illustrative session

4. Residency, regions and the data question

The most common reason teams look at BYOC is a question from a customer, a regulator or their own legal counsel: where is our data?

With a hosted platform, the honest answer is “in our vendor’s account, in the regions they operate in, under their sub-processors”. That answer is often acceptable, but it is not yours to change.

With a BYOC architecture, the answer is your own architecture:

  • You choose the region. You choose where your clusters run, and each environment runs on one of them. Databases run on that cluster, or in your provider’s managed service in your account.
  • Application data does not transit the control plane. Requests from your users go to your load balancer in your account. What the control plane does see is metadata: resource identifiers, the configuration you manage through it, run status, and the logs the agent reports back.
  • You can draw the diagram. For a security questionnaire or a data processing assessment, you can describe exactly what runs where, because it is in your account and you can inspect it.

Account layout

Ownership is easier to reason about when the account structure reflects it. A layout that works well for most teams:

  • One cluster per environment class. Production on its own cluster, development and staging on another. A mistake in staging cannot reach production resources, because they are not on the same cluster, and each cluster’s access is granted separately.
  • One region per production environment, chosen deliberately. Multi-region is a real requirement for some applications and an expensive habit for others. Start with the region your users and your data obligations point to.
  • Shared services kept apart. Your existing VPCs, identity configuration, billing tooling and anything else you run stay on clusters and accounts Kapten is not connected to.

This is an example, not a prescription. Teams with an existing landing zone or organisation structure should fit Kapten’s clusters into it rather than the reverse.

Data residency in practice

It is important to be precise here, because overstatement is common. BYOC does not make data residency automatic. Observability data, build artefacts, support access and any third-party services your application uses each need their own answer. The architecture makes those answers yours to give; it does not give them for you.

5. Bills, credits and commitments

The second most common reason is money, and it is less obvious than it looks.

The resources are on your invoice

Infrastructure usage appears on your cloud provider’s bill, at your provider’s prices. Kapten bills separately, per environment minute, with no markup on compute or storage.

Your existing agreements apply

Because usage is in your account, it counts towards whatever you already have with the provider: startup credits, committed-spend agreements, reserved capacity, savings plans, enterprise discounts and marketplace arrangements. For teams that have negotiated these, a hosted platform’s resources are invisible to them. A BYOC platform’s resources are not.

From usage at list price to what you are invoiced
From usage at list price to what you are invoiced
StepChange (pts)Running total
Usage at list price100 pts100
Committed-spend discount−12 pts88
Savings plans, reserved capacity−18 pts70
Startup or migration credits−25 pts45
Your cloud invoice45 pts45
Figure 5. Because usage sits in your account, every agreement you already hold is applied before the invoice. How big each step is depends entirely on your agreements, so these sizes only show the mechanism. Kapten's fee is a separate invoice and is not in this chart.Model · step sizes are placeholders, not quotes

Cost is visible at the source

Your finance team sees infrastructure spend where they already look for it. Kapten’s own bill counts environments, not infrastructure, so the two never overlap.

The trade-off

Owning the bill also means owning its surprises. A hosted platform absorbs some cost variability into a flat price; a BYOC deployment exposes it. That is why your provider’s budgets and alerts, and regular reviews of idle environments, are part of the operating model rather than optional extras.

A usage-based bill, with the guardrails on it
A usage-based bill, with the guardrails on it
PointMonthly cloud bill (index) (pts)Event
Jan62
Feb66
Mar64
Apr70
May73
Jun71
Jul84
Aug96Alert: load test left on
Sep79Event: idle cleanup
Oct74
Nov76
Dec75
Threshold: Budget alert at 100 pts.
Figure 6. Owning the bill means seeing it move. A budget alert at your provider turns a surprise into a flag, and a review of idle environments turns it back into a decision.Illustrative · sample data

6. Exit as a design requirement

The quality of an architecture shows most clearly at its end. A platform you can only leave by rebuilding is a platform you are locked into, whatever its contract says.

Standard building blocks

Kapten deploys onto conventional infrastructure: your own Kubernetes clusters, standard namespaces, and in-cluster or provider-managed databases. Nothing your applications need to keep running depends on Kapten’s control plane. Your workloads are container images in a registry you can read.

What leaving looks like

If you stop using Kapten:

  1. Revoke access. Delete the service account’s token on each cluster, and Kapten can no longer act on it.
  2. Your applications keep serving traffic. The cluster, the databases and the network are unchanged.
  3. Your team takes over operations: upgrades, certificates, scaling, backups, monitoring, deployments.
  1. T+0
    Access revoked
    You delete the service account token Kapten uses.
  2. Immediately
    Kapten loses the cluster, Paused
    The agent can no longer deploy for the Engine.
  3. Unchanged
    Applications keep serving, Live
    Cluster, databases and network stay as they were.
  4. Next
    Your team takes over, In progress
    Upgrades, backups, monitoring and deployments.
Figure 7. Leaving is revoking a cluster's access. Traffic never stops; operations change hands.Illustrative sequence

Step three is real work, and it should be planned rather than discovered. A reasonable exit plan answers, before you need it:

  • Who will operate the cluster and apply upgrades?
  • How will deployments run: which pipeline, which tooling?
  • Where will monitoring and alerting come from?
  • Who owns backups and has tested a restore?
  • Which namespaces and components did Kapten create, and which of those should remain? (Its own live in namespaces starting with kapten.)

Exit as the natural next step

For many teams, leaving a managed operations layer is not a failure but a milestone: the point at which they hire a platform team. The most useful thing an operations platform can do for that team is to hand over an inventory of standard, documented resources rather than an opaque system to be reverse-engineered.

7. Deploying into your customers’ clouds

The same architecture extends naturally to a harder problem: a SaaS vendor whose customers want the software to run inside their cloud account.

Enterprise customers ask for this for the same reasons as above (residency, procurement through their own cloud agreements, data that never leaves their perimeter), and it has historically been expensive to offer. Each customer deployment becomes a bespoke installation, operated by a vendor team that has to negotiate access separately every time.

Three parties, three boundaries

With BYOC, the customer deployment has three parties:

  • The customer owns the account, the data and the bill.
  • The vendor owns the application and its releases.
  • Kapten deploys the application onto the customer’s cluster, through an agent installed with a kubeconfig the customer provides.

Each boundary can be described in the same one-sentence style, and each can be reviewed by the customer’s security team.

A repeatable shape

The practical value is repeatability. The vendor defines the application’s shape once (services, data stores, configuration), and each customer environment is an instance of it in a different account and region, with its own secrets and its own owner. Releases follow the same pipeline for every customer, so the vendor’s release process does not fork per customer.

Kapten’s documented unit is one cluster per connection and one environment per cluster. Automated fleet rollout, reseller workflows and dynamic customer provisioning are not part of it today; scope them with the Kapten team before you commit to them.

Onboarding a customer, step by step

An illustrative sequence for a first customer pilot:

  1. Account
    Dedicated account in the customer org.
  2. Access
    Customer creates the service account.
    Gate: Customer grants
  3. Configure
    Environment, secrets, components.
    Gate: Security review
  4. Release
    Same path as every environment.
    Gate: Health
  5. Operate
    Agreed windows and contacts.
Figure 8. A customer pilot as a pipeline: two of the gates belong to the customer, the last one to the health checks.
  1. Agree the account model. A dedicated account and cluster in the customer’s organisation is the cleanest option. The customer’s cloud team creates them, or nominates existing ones.
  2. Agree the access model. The customer creates the service account and its token from commands they can read in full, and decides who on their side is notified of changes.
  3. Instantiate the application shape. The vendor’s services, data stores and configuration become an environment on the customer’s cluster, with customer-specific secrets entered by the people entitled to hold them.
  4. Review it together. The customer’s security team reviews the components, the namespaces and the access before the first release.
  5. Release. The vendor’s release goes out through a pipeline, behind readiness checks, following the same path as every other environment.
  6. Agree the operating rhythm. Release windows, incident contacts, upgrade notice periods and the exit procedure are written down before the first incident, not during it.

The point of writing this sequence down is that the second customer should be faster than the first, and the tenth should be routine.

Shared responsibility

AreaCustomerSaaS vendorKapten
Cloud account, billing and regionOwns and choosesAdvises on sizingDeploys within it
Access to the clusterCreates and can revoke the service accountAgrees the access model with the customerUses only the kubeconfig it was given
Application code and releasesApproves change windows if requiredBuilds, tests and approves releasesRuns deployments and pipelines, records each run
Application dataOwns; sets retention and access policyDefines schema and migrationsGenerates database credentials as secrets
Infrastructure operationsOperates the clusterEscalates application issuesInstalls and updates its agent
Security reviewAssesses the deploymentAnswers for the applicationAnswers for the platform and the access boundary
Incident responseIs informed per agreed termsOwns application incidentsOwns platform incidents
Figure 9. Shared responsibility for a customer-cloud deployment. The split will differ per contract; the point is to start from a written one.

The split will differ for every contract. Its value is that the conversation starts from a written split rather than an assumption.

8. Questions for a security review

Whether you are adopting BYOC for your own infrastructure or reviewing a vendor who wants to deploy into yours, these are the questions worth asking. They apply to Kapten and to any other vendor.

Access

  • What exactly is the vendor’s identity allowed to do? Can the vendor describe the worst case in one sentence?
  • Is any long-lived credential stored by the vendor? Where, and how is it rotated?
  • Can access be revoked immediately, and what keeps running afterwards?
  • Which clusters, accounts or resources are out of the vendor’s reach, and how is that enforced?

Data

  • Which data, if any, leaves the account? Logs, metrics, build artefacts, configuration?
  • Can the vendor read database contents? Under what circumstances?
  • Where is control-plane metadata stored, and in which region?

Agents

  • Which actions can agents take, and with whose permissions?
  • How are agent actions attributed to people or machine identities?
  • How is untrusted content (logs, repositories) prevented from becoming instructions?
  • Are agent actions distinguishable in the audit trail?

Operations and exit

  • What happens to running workloads if the control plane is unavailable?
  • What is the documented process for leaving? What is handed over?
  • Who is responsible for upgrades, patches and backups, and how is that verified?

Evidence

  • Which claims are backed by documentation you can read, and which by assurances?
  • Which certifications does the vendor hold today, as opposed to plan to hold?

The last question deserves emphasis. During early access, verify every security claim, including ours, against documentation and the policies you are asked to deploy, rather than against marketing pages.

Where to start

End of WP-03

Next: The deploy gap

Why software written with AI stalls before production, and what closes the gap.

Build with Kapten

Start with one service.
Build from there.

Tell us what you want to deploy. We review each request and follow up about fit and onboarding on your preferred cloud.

Free during early access. No card required. Cloud usage billed separately.