Skip to main content
Version: 1.0.0

SurrealDB

SurrealDB is a scalable, distributed document-graph database offering both NoSQL and SQL capabilities within a single system. Its focus on real-time functionality makes it well-suited for modern web and cloud applications.

Zeet's SurrealDB Blueprint simplifies the provisioning of all underlying infrastructure, enabling a self-hosted solution within your own environment. This guide details how you can deploy a single-node instance of SurrealDB to your Kubernetes cluster using Zeet.

1. Select SurrealDB Blueprint

To get started, head over to the Zeet dashboard and navigate to the Create New Database menu. Here, select the PGVector Helm Blueprint.

2. Configure Blueprint for Deployment

1. Select Deploy Target

The first step in configuring your deployment is selecting your Deploy Target. Zeet's SurrealDB Blueprint utilizes Kubernetes Manifests under the hood to deploy SurrealDB as a container in your Kubernetes cluster. If you don't already have a cluster connected, you can create a new one here.

2. Configure Inputs

SurrealDB is deployed as a container in your cluster. You can configure the compute resources and environment variables for your deployment here.

  • Zeet will enable user authentication with a default username and password here. You can modify this by changing the environment variables here.

3. Finalize and Deploy!

You're almost done! Name your project and pick the Group and Sub-Group for your new project. Once configured, you can deploy your Project right away, or save it as a draft to deploy it later.

3. Database Connection Information

After you deploy your SurrealDB instance, you can connect to it using the internal endpoint available in your Project Overview tab. The internal endpoint is only accessible from projects running on the same cluster.

You can find the user authentication details previously configured in Environment Variables section of your Project settings.

Video: Deploy SurrealDB using Zeet