Architecture and deployment
Architecture
Bauplan's architecture is organized around three main components: a multi-tenant control plane, a single-tenant data plane, and a customer-owned storage layer.
The control plane is Bauplan's central management layer, shared across tenants. It handles metadata, planning, and orchestration. No user data ever reaches this layer. Its main responsibilities are:
- Code parsing and planning: Analyzes Python decorators and SQL statements to build a logical DAG of functions and package dependencies.
- Metadata resolution: Uses the Iceberg catalog to determine the exact state of tables, branches, and commits necessary for execution.
- Plan compilation: Generates an optimized physical execution plan, specifying exactly how functions will run and communicate.
The data plane executes your functions securely and efficiently within isolated, tenant-specific environments. It comprises:
- Serverless runtime: Spins up ephemeral containers for each function invocation, optimized for fast startup and minimal overhead.
- Data movement: Shares data between functions through zero-copy Arrow tables (within hosts) or over high-performance Arrow Flight (across hosts).
- Scheduling and caching: Dynamically schedules functions to maximize resource usage and caches results to accelerate repeated data accesses.
Bauplan interacts directly with your existing object storage, ensuring you retain full control of your data. In doing so, it adopts:
- Open formats: Uses open standards such as Parquet to store data in your own object storage buckets.
- Iceberg tables and branching: Organizes data into Iceberg tables with Git-like branches, enabling safe experimentation and reliable CI/CD workflows.
- Immutable metadata: Tracks all operations through an Iceberg catalog, ensuring versioning, reproducibility, and full auditability.
The diagram below illustrates the flow from local development to execution and data storage:
Deployment
The control plane is multi-tenant and fully operated by Bauplan. The data plane can either be managed by Bauplan on infrastructure dedicated to you, or run in your own cloud account (bring-your-own-cloud).
Supported clouds
Bauplan runs on the following clouds, with the data plane in the same cloud as the bucket that holds your data:
- Amazon Web Services, with data in S3.
- Google Cloud, with data in Cloud Storage.
The same commands, SDK methods, and pipelines work on every supported cloud.
Cloudflare R2 is not a native storage option, but Parquet files in an R2 bucket can be registered as external tables through the R2 integration, currently in preview.
Contact us if you need support for another cloud or object storage service.
Managed data plane
In the managed model, Bauplan runs the data plane in a cloud environment dedicated to you and connects it to your own object storage. Your local environment reaches it over a private link. The control plane stays multi-tenant, as in every deployment model.
Key benefits:
- Fully isolated, SOC2-compliant managed environment.
- Data stays in your cloud with no egress costs.
- No infrastructure management required by your team.
Bring your own cloud
In the BYOC model, the data plane is deployed within your existing VPC, under your control. The control plane stays multi-tenant and operated by Bauplan, and only code and metadata travel between the two.
Key benefits:
- Maximum security and control within your infrastructure.
- No external data traffic, fully private and compliant.
- Efficient, with zero data transfer costs to external networks.