Hosting & deployment

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.

Choose your model

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.

Fastest start

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
Dedicated

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
Full control

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
Side by side

Compare the options.

Shared cloudPrivate cloudSelf-hosted
Who runs itnestedbrainnestedbrain, in a dedicated environmentYour team
Where your data livesShared platform, isolated per organisationDedicated storage and databaseEntirely on your infrastructure
StorageShared storage, included and billed by useDedicated bucket and databaseYour own object storage and database
NetworkPublic internet over HTTPSPublic or private connectionPublic, private or fully air-gapped intranet
UpdatesAutomaticScheduled with youYou decide when
BillingSubscription plus usageSubscription with a dedicated-environment feeLicence or support agreement
Best forStartups, solo developers, quick pilotsGrowing companies with residency needsRegulated industries and strict IT policy

Pricing depends on team size and usage. Talk to us for a quote.

Shared cloud billing

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
Your content stays yoursEach organisation’s pages are kept separate from every other organisation’s.
Intranet & private hosting

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.

Self-hosting guide

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.

PlatformRun the serviceDatabaseObject storageGood for
Amazon Web ServicesECS Fargate, EKS or EC2Amazon RDS for PostgreSQLAmazon S3, with KMS encryptionThe most direct fit. Versioned S3 buckets are supported out of the box.
Microsoft AzureAKS, Container Apps or VMsAzure Database for PostgreSQLAzure Blob Storage through an S3-compatible layerCompanies already on Microsoft 365 and Entra ID.
Google CloudGKE, Cloud Run or Compute EngineCloud SQL for PostgreSQLCloud Storage, S3-compatible interoperabilityData and AI-heavy teams.
Alibaba CloudACK or ECSApsaraDB RDS for PostgreSQLOSS, S3-compatibleTeams operating in mainland China and Asia-Pacific.
Oracle CloudOKE or ComputeOCI Database with PostgreSQLObject Storage, S3-compatibleOracle-centric enterprises.
IBM CloudIBM Kubernetes Service or Red Hat OpenShiftIBM Cloud Databases for PostgreSQLCloud Object Storage, S3-compatibleRegulated and financial services.
Tencent CloudTKE or CVMTencentDB for PostgreSQLCOS, S3-compatibleAsia-Pacific deployments.
DigitalOceanKubernetes or DropletsManaged PostgreSQLSpaces, S3-compatibleStartups wanting simple, predictable cost.
Hetzner and OVHcloudCloud servers or KubernetesManaged or self-run PostgreSQLS3-compatible object storageEU data residency at low cost.
On-premisesKubernetes, OpenShift, VMware or DockerPostgreSQL on your own serversMinIO, Ceph or another S3-compatible storeIntranet and air-gapped installations.
Using a non-AWS provider?nestedbrain runs on AWS today. The other platforms above meet its needs on paper, and we confirm the setup with you before you start. Where a provider’s storage is not natively S3-compatible, such as Azure Blob Storage, it is paired with an S3-compatible layer. Your nestedbrain contact will confirm the right setup for your environment before you start.

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.

env
# 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 key

Amazon 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.

PartWhat to use
Run the serviceECS Fargate for a managed, no-servers setup; EKS if you already run Kubernetes; EC2 with Docker for the simplest start
DatabaseAmazon RDS for PostgreSQL, Multi-AZ for production, in private subnets
Object storageAn S3 bucket with versioning on and Block Public Access enabled
EncryptionKMS customer-managed key for the bucket and RDS
IdentityYour company sign-in through your identity provider, such as IAM Identity Center, Okta or Entra ID
SecretsSecrets Manager or SSM Parameter Store
NetworkApplication Load Balancer with an ACM certificate; VPC endpoints keep S3 traffic off the internet

Setup outline

  1. Create a versioned, encrypted S3 bucket and a KMS key.
  2. Create an RDS PostgreSQL instance in private subnets and apply the nestedbrain schema.
  3. Give the service an IAM role that can read and write only that bucket, not an access key.
  4. Run the container on ECS or EKS behind an Application Load Balancer.
  5. Point your domain at the load balancer and sign in.
Watch forUse an IAM task role rather than long-lived keys. Turn on bucket versioning before the first page is written, because page history relies on it.

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.

PartWhat to use
Run the serviceAzure Kubernetes Service, Container Apps or a VM with Docker
DatabaseAzure Database for PostgreSQL, flexible server, with private access
Object storageBlob Storage with versioning, fronted by an S3-compatible gateway, or an S3-compatible store such as MinIO on AKS
EncryptionCustomer-managed keys in Key Vault
IdentityMicrosoft Entra ID for sign-in and groups
SecretsAzure Key Vault
NetworkApplication Gateway or Front Door; Private Link for the database and storage

Setup outline

  1. Create a resource group, a virtual network and a Key Vault.
  2. Create the PostgreSQL flexible server with private access and apply the nestedbrain schema.
  3. Set up S3-compatible storage with versioning, either a gateway over Blob Storage or MinIO on AKS.
  4. Deploy the container to AKS or Container Apps with a managed identity.
  5. Put Application Gateway in front with your certificate, then sign in.
Watch forConfirm the storage layer with your nestedbrain contact before you start. Do not skip it, because it is the one part that differs from AWS.

Google Cloud

Cloud Storage offers an S3-compatible interoperability API, which suits nestedbrain well, and Cloud Run keeps operations light.

PartWhat to use
Run the serviceCloud Run for the simplest operation; GKE for Kubernetes; Compute Engine with Docker
DatabaseCloud SQL for PostgreSQL with a private IP
Object storageA Cloud Storage bucket with object versioning, used through the S3 interoperability API
EncryptionCustomer-managed keys in Cloud KMS
IdentityGoogle Workspace or Cloud Identity, or any external provider
SecretsSecret Manager
NetworkExternal HTTPS load balancer with a managed certificate; Private Service Connect for the database

Setup outline

  1. Create a project, a VPC and a Cloud KMS key.
  2. Create a Cloud SQL PostgreSQL instance with a private IP and apply the nestedbrain schema.
  3. Create a versioned bucket and generate HMAC credentials for the interoperability API.
  4. Deploy the container to Cloud Run or GKE using a dedicated service account.
  5. Add the load balancer and certificate, then sign in.
Watch forKeep the HMAC credentials in Secret Manager and rotate them on a schedule.

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.

PartWhat to use
Run the serviceContainer Service for Kubernetes (ACK), Elastic Container Instance or ECS with Docker
DatabaseApsaraDB RDS for PostgreSQL in a VPC
Object storageOSS bucket with versioning enabled, used through its S3-compatible endpoint
EncryptionKey Management Service (KMS) for OSS and RDS
IdentityYour own identity provider, or Alibaba Cloud RAM for operators
SecretsKMS Secrets Manager
NetworkApplication Load Balancer or SLB with a certificate; VPC endpoints for internal access

Setup outline

  1. Create a VPC and vSwitches in your chosen region.
  2. Create an ApsaraDB RDS for PostgreSQL instance and apply the nestedbrain schema.
  3. Create an OSS bucket with versioning and server-side encryption.
  4. Deploy the container to ACK or ECS with a RAM role scoped to that bucket.
  5. Attach a load balancer with your certificate, then sign in.
Watch forRegional compliance rules vary, so confirm hosting and filing requirements for your region before launch.

Oracle Cloud Infrastructure

A good fit for Oracle-centric enterprises that want to keep everything in one tenancy.

PartWhat to use
Run the serviceOracle Kubernetes Engine (OKE), Container Instances or Compute with Docker
DatabaseOCI Database with PostgreSQL
Object storageObject Storage bucket with versioning, used through its S3 compatibility API
EncryptionOCI Vault with customer-managed keys
IdentityOCI IAM identity domains, or your external identity provider
SecretsOCI Vault secrets
NetworkLoad Balancer with a certificate; private subnets and a service gateway

Setup outline

  1. Create a compartment and a virtual cloud network with private subnets.
  2. Create the PostgreSQL database system and apply the nestedbrain schema.
  3. Create a versioned Object Storage bucket and a Customer Secret Key for the S3 compatibility API.
  4. Deploy the container to OKE or Container Instances.
  5. Add the load balancer and certificate, then sign in.
Watch forUse a dedicated compartment so policies for nestedbrain stay separate from the rest of your tenancy.

IBM Cloud

Common in regulated and financial-services environments, especially with Red Hat OpenShift already in place.

PartWhat to use
Run the serviceRed Hat OpenShift on IBM Cloud, IBM Cloud Kubernetes Service or a virtual server
DatabaseIBM Cloud Databases for PostgreSQL with private endpoints
Object storageIBM Cloud Object Storage with versioning, which exposes an S3-compatible API
EncryptionKey Protect or Hyper Protect Crypto Services
IdentityIBM Cloud IAM for operators; your identity provider for people
SecretsIBM Cloud Secrets Manager
NetworkApplication Load Balancer and Cloud Internet Services; private endpoints for data services

Setup outline

  1. Create a VPC and a Key Protect instance.
  2. Provision Databases for PostgreSQL on a private endpoint and apply the nestedbrain schema.
  3. Create a Cloud Object Storage bucket with versioning and HMAC credentials.
  4. Deploy the container to OpenShift or IKS.
  5. Expose it through the load balancer with your certificate, then sign in.
Watch forFor stricter requirements, Hyper Protect Crypto Services lets you hold the encryption keys yourself.

Tencent Cloud

Suited to Asia-Pacific deployments and teams that operate in mainland China.

PartWhat to use
Run the serviceTencent Kubernetes Engine (TKE) or CVM with Docker
DatabaseTencentDB for PostgreSQL in a VPC
Object storageCloud Object Storage (COS) with versioning, used through its S3-compatible API
EncryptionKey Management Service (KMS)
IdentityYour own identity provider; CAM for operators
SecretsSecrets Manager (SSM)
NetworkCloud Load Balancer with a certificate; private network endpoints

Setup outline

  1. Create a VPC and subnets in your chosen region.
  2. Create a TencentDB for PostgreSQL instance and apply the nestedbrain schema.
  3. Create a COS bucket with versioning and encryption.
  4. Deploy the container to TKE or CVM with a scoped CAM role.
  5. Add the load balancer with your certificate, then sign in.
Watch forCheck regional data and filing requirements before choosing a region.

DigitalOcean

A simple, predictable option for startups and small teams that want fewer moving parts.

PartWhat to use
Run the serviceDigitalOcean Kubernetes, App Platform or a Droplet with Docker
DatabaseManaged PostgreSQL with trusted sources restricting access
Object storageSpaces, which is S3-compatible, with versioning enabled
EncryptionEncryption at rest is built in; keys are managed by DigitalOcean
IdentityYour own identity provider
SecretsEnvironment secrets in App Platform or Kubernetes secrets
NetworkLoad Balancer with a managed certificate; VPC and firewall rules

Setup outline

  1. Create a VPC, then a Managed PostgreSQL cluster and apply the nestedbrain schema.
  2. Create a Spaces bucket with versioning and a scoped access key.
  3. Deploy the container to App Platform, Kubernetes or a Droplet.
  4. Add a load balancer and certificate, then sign in.
Watch forIf your policy requires keys you control, check what customer-managed encryption options are available before choosing this platform.

Hetzner and OVHcloud

Low-cost European hosting with strong data-residency options, a fit for EU teams that want predictable pricing.

PartWhat to use
Run the serviceCloud servers with Docker, or a Kubernetes cluster
DatabaseManaged PostgreSQL where offered, or PostgreSQL you run and back up yourself
Object storageProvider S3-compatible object storage, or MinIO on your own servers, with versioning
EncryptionProvider-managed at rest; add disk or application-level encryption if you need your own keys
IdentityYour own identity provider
SecretsDocker or Kubernetes secrets, or a tool such as Vault
NetworkProvider load balancer or a reverse proxy such as nginx with your certificate; private networks and firewalls

Setup outline

  1. Create a private network and the servers or cluster.
  2. Set up PostgreSQL, with automated backups, and apply the nestedbrain schema.
  3. Set up versioned S3-compatible storage.
  4. Run the container and place your reverse proxy or load balancer in front.
  5. Add your certificate and domain, then sign in.
Watch forWith less managed tooling you own more of the work, so schedule backups for both the database and the bucket and test a restore.

On-premises and air-gapped

For intranet-only and fully offline installations. Everything runs on hardware and networks you control.

PartWhat to use
Run the serviceKubernetes, Red Hat OpenShift, VMware Tanzu or plain Docker on your own servers
DatabasePostgreSQL on your own servers, with replication and backups
Object storageMinIO, Ceph or another S3-compatible store with versioning
EncryptionYour own key management, such as HashiCorp Vault or an HSM
IdentityYour directory, such as Active Directory or LDAP, through your identity provider
SecretsVault or Kubernetes secrets
NetworkInternal load balancer or reverse proxy with certificates from your own certificate authority

Setup outline

  1. Prepare servers, storage and an internal container registry.
  2. Install PostgreSQL and apply the nestedbrain schema.
  3. Deploy the S3-compatible store and enable versioning.
  4. Load the nestedbrain container images into your registry and run them.
  5. Publish an internal address, and point your AI tools at it over the company network.
Watch forIn a fully offline site, bring the container images and updates in through your own approved process. AI tools that need the internet are not available there.
You providenestedbrain handles
A place to run containersThe application and its updates
A PostgreSQL databaseThe schema and migrations
Object storage with versioningPage content and full history
Your identity providerRoles and permissions
TLS certificates and a domainScoped keys for AI tools
What to bring

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
Hosting questions

Questions we expect.

Can we start in the shared cloud and move later?
Yes. Talk to us about migrating your pages and history to a private or self-hosted deployment when your needs change.
Can AI tools connect to an intranet deployment?
Yes, as long as the tool can reach the address. Local tools on a laptop connected to your VPN work as they do with the cloud version. The connect guide applies unchanged.
Does self-hosted need an internet connection?
The knowledge base itself does not. AI tools that you connect, such as a hosted assistant, will need whatever access they normally need.
Who manages updates and backups when we self-host?
You do. We publish releases and upgrade notes, and you apply them on your own schedule. Support plans are available.
Which cloud should we pick?
Use the one your company already runs on. Keeping nestedbrain next to your identity provider and your other systems is simpler than adding a new platform.

Tell us where it should live.

Start in the shared cloud today, or talk to us about a private or self-hosted deployment.