Your knowledge, where you need it.
Use nestedbrain as a shared cloud service, run it in a private cloud, or host it yourself on your intranet. Same product, three ways to deploy it.
Three ways to run nestedbrain.
Start in the shared cloud in minutes, and move to a private or self-hosted setup when your policies call for it.
Shared cloud
We run it for you. Your organisation gets its own isolated workspace on shared infrastructure, with nothing to install or patch. Storage and usage are included in your bill.
- Live in minutes
- Updates and backups handled for you
- Billed on seats, storage and AI usage
Private cloud
A dedicated nestedbrain environment for your organisation in a cloud account and region you choose, run and monitored by us.
- Your own database and storage
- Choose the region for data residency
- Optional private network access
Self-hosted
Run nestedbrain on your own cloud account, data centre or intranet. Content, database and AI keys never leave infrastructure you control.
- Works inside a private network
- Your encryption keys, your backups
- Connect your own identity provider
Compare the options.
| Shared cloud | Private cloud | Self-hosted | |
|---|---|---|---|
| Who runs it | nestedbrain | nestedbrain, in a dedicated environment | Your team |
| Where your data lives | Shared platform, isolated per organisation | Dedicated storage and database | Entirely on your infrastructure |
| Storage | Shared storage, included and billed by use | Dedicated bucket and database | Your own object storage and database |
| Network | Public internet over HTTPS | Public or private connection | Public, private or fully air-gapped intranet |
| Updates | Automatic | Scheduled with you | You decide when |
| Billing | Subscription plus usage | Subscription with a dedicated-environment fee | Licence or support agreement |
| Best for | Startups, solo developers, quick pilots | Growing companies with residency needs | Regulated industries and strict IT policy |
Pricing depends on team size and usage. Talk to us for a quote.
Simple, predictable billing.
In the shared cloud, your pages live in storage that nestedbrain manages for you, and the cost is part of your plan. You never provision a bucket or a database.
- Seats for the people who read and write
- Storage for the pages and history you keep
- AI usage, so you can see what your connected tools consume
- One invoice, with usage visible in the Insights screen
Inside your own walls.
Many teams need their knowledge base reachable only from the company network. nestedbrain is built to run there.
Intranet only
Expose nestedbrain on an internal address and reach it over your VPN or office network. Your AI tools connect to it the same way people do.
Private networking
Keep the database and storage on private subnets, with no public endpoints. Put it behind your own load balancer, firewall and TLS certificates.
Air-gapped
For the strictest environments, pages and history stay on hardware you own. AI features need an AI model you can reach from inside your network, so plan an offline install with us first.
Host it on any cloud.
nestedbrain needs three things: somewhere to run containers, a PostgreSQL database and S3-compatible object storage. Every major provider has all three.
| Platform | Run the service | Database | Object storage | Good for |
|---|---|---|---|---|
| Amazon Web Services | ECS Fargate, EKS or EC2 | Amazon RDS for PostgreSQL | Amazon S3, with KMS encryption | The most direct fit. Versioned S3 buckets are supported out of the box. |
| Microsoft Azure | AKS, Container Apps or VMs | Azure Database for PostgreSQL | Azure Blob Storage through an S3-compatible layer | Companies already on Microsoft 365 and Entra ID. |
| Google Cloud | GKE, Cloud Run or Compute Engine | Cloud SQL for PostgreSQL | Cloud Storage, S3-compatible interoperability | Data and AI-heavy teams. |
| Alibaba Cloud | ACK or ECS | ApsaraDB RDS for PostgreSQL | OSS, S3-compatible | Teams operating in mainland China and Asia-Pacific. |
| Oracle Cloud | OKE or Compute | OCI Database with PostgreSQL | Object Storage, S3-compatible | Oracle-centric enterprises. |
| IBM Cloud | IBM Kubernetes Service or Red Hat OpenShift | IBM Cloud Databases for PostgreSQL | Cloud Object Storage, S3-compatible | Regulated and financial services. |
| Tencent Cloud | TKE or CVM | TencentDB for PostgreSQL | COS, S3-compatible | Asia-Pacific deployments. |
| DigitalOcean | Kubernetes or Droplets | Managed PostgreSQL | Spaces, S3-compatible | Startups wanting simple, predictable cost. |
| Hetzner and OVHcloud | Cloud servers or Kubernetes | Managed or self-run PostgreSQL | S3-compatible object storage | EU data residency at low cost. |
| On-premises | Kubernetes, OpenShift, VMware or Docker | PostgreSQL on your own servers | MinIO, Ceph or another S3-compatible store | Intranet and air-gapped installations. |
Platform by platform
Pick your platform for the parts to use, a setup outline and what to watch for. The settings are the same everywhere; only the services behind them change.
# the settings every deployment needs
DATABASE_URL=postgresql://kbplus:***@db.internal:5432/kbplus_db
KBPLUS_STORAGE=s3
KBPLUS_S3_BUCKET=your-company-kbplus
KBPLUS_S3_REGION=your-region
KBPLUS_KMS_KEY_ID= # optional: your encryption keyAmazon Web Services
The most direct fit. nestedbrain stores page content in a versioned S3 bucket and keeps its index and review state in PostgreSQL, which maps one-to-one onto S3 and RDS.
| Part | What to use |
|---|---|
| Run the service | ECS Fargate for a managed, no-servers setup; EKS if you already run Kubernetes; EC2 with Docker for the simplest start |
| Database | Amazon RDS for PostgreSQL, Multi-AZ for production, in private subnets |
| Object storage | An S3 bucket with versioning on and Block Public Access enabled |
| Encryption | KMS customer-managed key for the bucket and RDS |
| Identity | Your company sign-in through your identity provider, such as IAM Identity Center, Okta or Entra ID |
| Secrets | Secrets Manager or SSM Parameter Store |
| Network | Application Load Balancer with an ACM certificate; VPC endpoints keep S3 traffic off the internet |
Setup outline
- Create a versioned, encrypted S3 bucket and a KMS key.
- Create an RDS PostgreSQL instance in private subnets and apply the nestedbrain schema.
- Give the service an IAM role that can read and write only that bucket, not an access key.
- Run the container on ECS or EKS behind an Application Load Balancer.
- Point your domain at the load balancer and sign in.
Microsoft Azure
A natural choice if your company already signs in with Microsoft 365 and Entra ID. Azure Blob Storage is not S3-compatible by itself, so it needs an S3-compatible layer in front of it.
| Part | What to use |
|---|---|
| Run the service | Azure Kubernetes Service, Container Apps or a VM with Docker |
| Database | Azure Database for PostgreSQL, flexible server, with private access |
| Object storage | Blob Storage with versioning, fronted by an S3-compatible gateway, or an S3-compatible store such as MinIO on AKS |
| Encryption | Customer-managed keys in Key Vault |
| Identity | Microsoft Entra ID for sign-in and groups |
| Secrets | Azure Key Vault |
| Network | Application Gateway or Front Door; Private Link for the database and storage |
Setup outline
- Create a resource group, a virtual network and a Key Vault.
- Create the PostgreSQL flexible server with private access and apply the nestedbrain schema.
- Set up S3-compatible storage with versioning, either a gateway over Blob Storage or MinIO on AKS.
- Deploy the container to AKS or Container Apps with a managed identity.
- Put Application Gateway in front with your certificate, then sign in.
Google Cloud
Cloud Storage offers an S3-compatible interoperability API, which suits nestedbrain well, and Cloud Run keeps operations light.
| Part | What to use |
|---|---|
| Run the service | Cloud Run for the simplest operation; GKE for Kubernetes; Compute Engine with Docker |
| Database | Cloud SQL for PostgreSQL with a private IP |
| Object storage | A Cloud Storage bucket with object versioning, used through the S3 interoperability API |
| Encryption | Customer-managed keys in Cloud KMS |
| Identity | Google Workspace or Cloud Identity, or any external provider |
| Secrets | Secret Manager |
| Network | External HTTPS load balancer with a managed certificate; Private Service Connect for the database |
Setup outline
- Create a project, a VPC and a Cloud KMS key.
- Create a Cloud SQL PostgreSQL instance with a private IP and apply the nestedbrain schema.
- Create a versioned bucket and generate HMAC credentials for the interoperability API.
- Deploy the container to Cloud Run or GKE using a dedicated service account.
- Add the load balancer and certificate, then sign in.
Alibaba Cloud
Suited to teams that must keep data in mainland China or serve Asia-Pacific users from nearby regions. Object Storage Service (OSS) supports an S3-compatible API.
| Part | What to use |
|---|---|
| Run the service | Container Service for Kubernetes (ACK), Elastic Container Instance or ECS with Docker |
| Database | ApsaraDB RDS for PostgreSQL in a VPC |
| Object storage | OSS bucket with versioning enabled, used through its S3-compatible endpoint |
| Encryption | Key Management Service (KMS) for OSS and RDS |
| Identity | Your own identity provider, or Alibaba Cloud RAM for operators |
| Secrets | KMS Secrets Manager |
| Network | Application Load Balancer or SLB with a certificate; VPC endpoints for internal access |
Setup outline
- Create a VPC and vSwitches in your chosen region.
- Create an ApsaraDB RDS for PostgreSQL instance and apply the nestedbrain schema.
- Create an OSS bucket with versioning and server-side encryption.
- Deploy the container to ACK or ECS with a RAM role scoped to that bucket.
- Attach a load balancer with your certificate, then sign in.
Oracle Cloud Infrastructure
A good fit for Oracle-centric enterprises that want to keep everything in one tenancy.
| Part | What to use |
|---|---|
| Run the service | Oracle Kubernetes Engine (OKE), Container Instances or Compute with Docker |
| Database | OCI Database with PostgreSQL |
| Object storage | Object Storage bucket with versioning, used through its S3 compatibility API |
| Encryption | OCI Vault with customer-managed keys |
| Identity | OCI IAM identity domains, or your external identity provider |
| Secrets | OCI Vault secrets |
| Network | Load Balancer with a certificate; private subnets and a service gateway |
Setup outline
- Create a compartment and a virtual cloud network with private subnets.
- Create the PostgreSQL database system and apply the nestedbrain schema.
- Create a versioned Object Storage bucket and a Customer Secret Key for the S3 compatibility API.
- Deploy the container to OKE or Container Instances.
- Add the load balancer and certificate, then sign in.
IBM Cloud
Common in regulated and financial-services environments, especially with Red Hat OpenShift already in place.
| Part | What to use |
|---|---|
| Run the service | Red Hat OpenShift on IBM Cloud, IBM Cloud Kubernetes Service or a virtual server |
| Database | IBM Cloud Databases for PostgreSQL with private endpoints |
| Object storage | IBM Cloud Object Storage with versioning, which exposes an S3-compatible API |
| Encryption | Key Protect or Hyper Protect Crypto Services |
| Identity | IBM Cloud IAM for operators; your identity provider for people |
| Secrets | IBM Cloud Secrets Manager |
| Network | Application Load Balancer and Cloud Internet Services; private endpoints for data services |
Setup outline
- Create a VPC and a Key Protect instance.
- Provision Databases for PostgreSQL on a private endpoint and apply the nestedbrain schema.
- Create a Cloud Object Storage bucket with versioning and HMAC credentials.
- Deploy the container to OpenShift or IKS.
- Expose it through the load balancer with your certificate, then sign in.
Tencent Cloud
Suited to Asia-Pacific deployments and teams that operate in mainland China.
| Part | What to use |
|---|---|
| Run the service | Tencent Kubernetes Engine (TKE) or CVM with Docker |
| Database | TencentDB for PostgreSQL in a VPC |
| Object storage | Cloud Object Storage (COS) with versioning, used through its S3-compatible API |
| Encryption | Key Management Service (KMS) |
| Identity | Your own identity provider; CAM for operators |
| Secrets | Secrets Manager (SSM) |
| Network | Cloud Load Balancer with a certificate; private network endpoints |
Setup outline
- Create a VPC and subnets in your chosen region.
- Create a TencentDB for PostgreSQL instance and apply the nestedbrain schema.
- Create a COS bucket with versioning and encryption.
- Deploy the container to TKE or CVM with a scoped CAM role.
- Add the load balancer with your certificate, then sign in.
DigitalOcean
A simple, predictable option for startups and small teams that want fewer moving parts.
| Part | What to use |
|---|---|
| Run the service | DigitalOcean Kubernetes, App Platform or a Droplet with Docker |
| Database | Managed PostgreSQL with trusted sources restricting access |
| Object storage | Spaces, which is S3-compatible, with versioning enabled |
| Encryption | Encryption at rest is built in; keys are managed by DigitalOcean |
| Identity | Your own identity provider |
| Secrets | Environment secrets in App Platform or Kubernetes secrets |
| Network | Load Balancer with a managed certificate; VPC and firewall rules |
Setup outline
- Create a VPC, then a Managed PostgreSQL cluster and apply the nestedbrain schema.
- Create a Spaces bucket with versioning and a scoped access key.
- Deploy the container to App Platform, Kubernetes or a Droplet.
- Add a load balancer and certificate, then sign in.
Hetzner and OVHcloud
Low-cost European hosting with strong data-residency options, a fit for EU teams that want predictable pricing.
| Part | What to use |
|---|---|
| Run the service | Cloud servers with Docker, or a Kubernetes cluster |
| Database | Managed PostgreSQL where offered, or PostgreSQL you run and back up yourself |
| Object storage | Provider S3-compatible object storage, or MinIO on your own servers, with versioning |
| Encryption | Provider-managed at rest; add disk or application-level encryption if you need your own keys |
| Identity | Your own identity provider |
| Secrets | Docker or Kubernetes secrets, or a tool such as Vault |
| Network | Provider load balancer or a reverse proxy such as nginx with your certificate; private networks and firewalls |
Setup outline
- Create a private network and the servers or cluster.
- Set up PostgreSQL, with automated backups, and apply the nestedbrain schema.
- Set up versioned S3-compatible storage.
- Run the container and place your reverse proxy or load balancer in front.
- Add your certificate and domain, then sign in.
On-premises and air-gapped
For intranet-only and fully offline installations. Everything runs on hardware and networks you control.
| Part | What to use |
|---|---|
| Run the service | Kubernetes, Red Hat OpenShift, VMware Tanzu or plain Docker on your own servers |
| Database | PostgreSQL on your own servers, with replication and backups |
| Object storage | MinIO, Ceph or another S3-compatible store with versioning |
| Encryption | Your own key management, such as HashiCorp Vault or an HSM |
| Identity | Your directory, such as Active Directory or LDAP, through your identity provider |
| Secrets | Vault or Kubernetes secrets |
| Network | Internal load balancer or reverse proxy with certificates from your own certificate authority |
Setup outline
- Prepare servers, storage and an internal container registry.
- Install PostgreSQL and apply the nestedbrain schema.
- Deploy the S3-compatible store and enable versioning.
- Load the nestedbrain container images into your registry and run them.
- Publish an internal address, and point your AI tools at it over the company network.
| You provide | nestedbrain handles |
|---|---|
| A place to run containers | The application and its updates |
| A PostgreSQL database | The schema and migrations |
| Object storage with versioning | Page content and full history |
| Your identity provider | Roles and permissions |
| TLS certificates and a domain | Scoped keys for AI tools |
A short checklist.
Self-hosting is a small footprint: one service, one database and one bucket.
- Turn on versioning for the bucket so every page keeps its history
- Encrypt storage and the database with your own keys
- Back up the database and the bucket on a schedule you choose
- Put it behind your gateway so AI tools reach it at one address
Questions we expect.
Can we start in the shared cloud and move later?
Can AI tools connect to an intranet deployment?
Does self-hosted need an internet connection?
Who manages updates and backups when we self-host?
Which cloud should we pick?
Tell us where it should live.
Start in the shared cloud today, or talk to us about a private or self-hosted deployment.