# Apache Superset BI

Source: https://docs.quake.ai/resources/iac-templates/superset
Markdown: https://docs.quake.ai/resources/iac-templates/superset.md

---

# Apache Superset BI

This [validated OpenTofu template](/docs/platform/validation#how-infrastructure-templates-are-checked) composes Compute, Network, and Block Storage into a self-hosted business-intelligence host you run on infrastructure you control.

## What this template does

Provisions a single instance running [Apache Superset](https://superset.apache.org), an open-source BI platform (a self-hosted alternative to Tableau or Sigma):

- Multi-container Docker stack: web app, Celery worker, bundled metadata PostgreSQL, and Redis on port 8088
- Default sizing: `m2a.large` (2 vCPU / 8 GiB RAM) and 40 GiB data volume at `/var/lib/docker`
- Private network, security group, floating IP; UI restricted to `ui_allowed_cidr` by default

Superset metadata and cache run on the instance. Connect your analytical warehouse (for example [self-managed PostgreSQL](/resources/iac-templates/self-managed-postgres)) in the Superset UI after first boot. No credential ships with this template.

## Parameters

| Parameter | Description | Default |
| --- | --- | --- |
| `key_name` | SSH keypair name (must already exist in your project) | required |
| `flavor_name` | Instance size (Superset stack on 2 vCPU / 8 GiB RAM) | `m2a.large` |
| `image_name` | Operating system image | `Ubuntu-24.04` |
| `app_name` | Display name prefix for resources | `superset` |
| `volume_size` | Block volume size in GiB, mounted at `/var/lib/docker` | `40` |
| `external_network` | External network for router gateway and floating IP | `PublicStatic` |
| `private_cidr` | CIDR for the private subnet | `10.48.0.0/24` |
| `ui_allowed_cidr` | CIDR allowed to reach the Superset UI on port 8088 | `10.48.0.0/24` |

## Estimated cost

<PricingCompanion components={[{ kind: "template", slug: "superset", required: true }]} />

## Template source

<TemplateSource slug="superset" />
<TemplateResourceMap template="superset" format="opentofu" />

## See also

- [Deploy Superset](/resources/deployments/deploy-superset-template)
- [self-managed PostgreSQL](/resources/iac-templates/self-managed-postgres)
