Skip to content

BYOC

In BYOC every component of Khala runs inside a cloud account you own. Nothing rests outside it, and nothing leaves it unless you allow the route.

  • A dedicated account (AWS account, Google Cloud project or Azure subscription) for Khala. It keeps permissions, billing and blast radius separate from your other workloads.
  • One private network across at least two availability zones. Nodes have no public addresses.
  • One managed Kubernetes cluster with separate node pools:
    • control: the API, the panel, the build orchestrator, the egress gateway and the tool gateway;
    • build: build sandboxes only. Dedicated, tainted and autoscaled, so untrusted work never shares a node with the control plane;
    • runtime: deployed agents and hosted MCP servers, many sandboxes per node. Dedicated, tainted and autoscaled;
    • gpu (optional): self-hosted model inference.
  • Managed PostgreSQL 18, private, in two zones, with point-in-time recovery, encrypted with a key you manage.
  • One private object storage bucket for sandbox snapshots, encrypted with your key, with a lifecycle rule that expires old objects.
  • Your cloud’s secret manager, reached with workload identity. No long-lived cloud keys in the cluster.
  • Your container registry, mirroring Khala’s release images. The cluster pulls from it and from nowhere else.
  • One load balancer terminating TLS with your certificate. Internal by default; public only if you decide.
  • One way out: the egress gateway, then your NAT with fixed addresses. Private endpoints for the cloud services, so storage, secrets, registry and model calls stay off the internet.

For workloads with the highest risk, run the build pool in a second cluster. The two planes talk through one internal API, so the split needs no change in Khala.

Need AWS Google Cloud Azure
Kubernetes EKS GKE Standard AKS
PostgreSQL 18 RDS for PostgreSQL or Aurora Cloud SQL Azure Database for PostgreSQL flexible server
Object storage S3 Cloud Storage Blob Storage
Secret manager Secrets Manager Secret Manager Key Vault
Encryption keys KMS Cloud KMS Key Vault
Container registry ECR Artifact Registry Container Registry
Workload identity IAM roles for service accounts Workload Identity Federation Workload ID
Hosted models inside your account Bedrock Vertex AI Azure OpenAI
Private connectivity PrivateLink Private Service Connect Private Link
Email SES An SMTP provider Communication Services
Monitoring CloudWatch or your own Cloud Monitoring or your own Azure Monitor or your own
Identity provider for single sign-on (optional) IAM Identity Center or your own Cloud Identity or your own Entra ID or your own

Check that PostgreSQL 18 is offered in your region before choosing it.

Node requirements for the build and runtime pools

Section titled “Node requirements for the build and runtime pools”

There is no virtual machine per agent or per MCP server. Each one runs in its own sandbox, many sandboxes share a node, and idle ones are paused so their node is freed. Size the runtime pool for the agents and servers in use at the same time, not for everything deployed.

  • Node pools you manage. Serverless node modes do not allow the isolation sandboxes need.
  • For hardware-virtualised sandboxes: instance types with nested virtualisation, or bare-metal instances. The user-space kernel mode runs on ordinary instances.
  • Autoscaling from a small floor. Paused sandboxes are snapshotted to object storage and release their node.
  • Instance types with nested virtualisation, or bare metal, in the runtime pool only if you run critical-risk agents: they use hardware virtualisation. The rest run on ordinary instances.
To Access Why
Khala’s pods Read the secrets you list, read and write its one bucket, call the model service you approve Through workload identity; scoped to those resources
Khala, per build A short-lived token for one repository To clone, push a branch and open a pull request
Renaiss staff Nothing by default

If the contract includes operation by Renaiss, you create a role for it: limited to Khala’s namespaces and resources, assumed for a limited time, recorded in your cloud’s audit log and revocable by you at any moment. It does not include reading the content of the database.

Only what you allow:

  • Model calls, if you approve a hosted provider outside your cloud. With your cloud’s model service or your own GPUs, none.
  • Git traffic, if your git host is outside the account.
  • Package downloads during builds, to the registries your stacks use.
  • Sign-in emails, through the provider you configure.

Khala sends no usage data, logs or telemetry to Renaiss. Platform telemetry goes to the monitoring systems you connect. See Telemetry.

The procedure is the same as on-premise and is described in Requirements and operations. The difference is who provides the platform: here, your cloud’s managed services do most of it.