On-Premise installation

On-Premise

Run Carbone from your environment - Introduction to Carbone On-Premise setup

Getting the software

Carbone On-Premise is available in two distribution formats:

By default, the program runs with free Community features. To use Carbone Enterprise Edition, you need a Carbone license. Contact us to learn more, or request a free 30-day trial in our chat.

Overview

Carbone On-Premise is built for DevOps-friendly deployments: simple to run, easy to scale, and flexible to integrate.

Carbone runs as a single executable binary that embeds the template engine, API server, and Studio.
Only two externals may be customized depending on your needs:

Carbone scales:

The diagram below shows the main components and how requests flow through Carbone:

Carbone Architecture

Execution modes

By default, Carbone starts without a database in Stateless mode (document generation only).

Depending on your configuration, Carbone can also manage template storage with versioning. The mode you choose depends on where templates are stored and who owns the "source of truth":

Execution mode Template source of truth Template storage
Stateless Your app None - template sent with each request (base64)
Hybrid Your app or Carbone Filesystem, S3 or other
Stateful Carbone Filesystem, S3 + SQLite database enabled

How to choose a mode?

Features per mode

Below is the list of available features for each Carbone Execution Mode:

Features Stateless or Hybrid Stateful
No database (default) With database
Template Reference
By versionId (= SHA256 template file hash)
By constant 64-bit ID (auto or user-defined)
HTTP API
Upload/Download/Delete template file (disk/S3)
Generate doc from stored template
Generate doc from ephemeral (base64) template
Single call - generate & download
Download generated doc via unique ephemeral link
Store template metadata (name, tags, comments, json sample...)
Track template versions and select the main "deployed" version
Pin rendering to deployed template version
List/search templates
Download/Patch/Delete deployed version
List template categories
List template tags
Other
All template design features
Multitenant template isolation
Embed Studio (no versioning)
Embed Studio (with versioning)
External storage plugins (S3, ...)

SQLite Database

Carbone keeps the (optional) database intentionally simple and operationally easy to manage.

The SQLite database contains only two tables:

Carbone replication is leaderless (no master node) and designed to avoid single points of failure.
All nodes can accept writes (multi-writer). Short-lived divergences can occur during concurrent updates or network partitions, but replicas automatically converge once connectivity is restored.