Sign In

Overview

Self-hosted

Deploy and operate SurrealDB on your own infrastructure: deployment models, containers, configuration, backups, monitoring, and upgrades.

Running SurrealDB yourself is quick to start and gives you full control over storage, configuration, and placement. Everything needed to start a server and to import and export data is in the command-line tool, packaged and distributed as a single executable that can be downloaded, installed, or run from within Docker.

For initial installation, see the installation guide. If you would rather not operate the infrastructure, see Instances for the managed option.

GuideTypical use
Deployment modelsChoosing between single-node, multi-node, embedded, and managed
DockerQuickest path; RocksDB with a volume mount
KubernetesSingle SurrealDB pod with RocksDB on a persistent volume
Managed KubernetesPaths on Amazon EKS, Google GKE, and Azure AKS

Most self-hosted workloads use RocksDB on disk - one SurrealDB process per database file.

Once an instance is running, the Observability section covers the built-in metrics, audit logs and slow-query logs you can scrape over Prometheus or push over OTLP for production monitoring.

Was this page helpful?