Skip to content
Skip to Content

Create a private Region

Install a private NordBase Region on a connected server, with backups to your own bucket, and what to do when the install stops.

A private Region is installed on one server, from that server's page. It needs the Owner or an Admin, and a linked NordBase account. One server holds at most one Region.

Before you start

The server's NordBase section checks three things and names the first one that is not met. Install NordBase stays switched off until all three pass:

CheckWhat it needsIf it fails
OpenPanel agentThe server's agent connected. NordBase's installer runs through it, as root.Install the agent, or wait until it is back online.
Private addressThe server in the organization's private network.Join it first: the databases are reached on its private address.
Memory4 GB for NordBase, plus 512 MB for OpenPanel's agent, Docker and the system, plus what OpenPanel's containers there are limited to or use.Choose a larger server. A server whose memory OpenPanel does not know yet is refused until its agent has reported.

You also need an S3-compatible bucket for the Region's backups, such as Amazon S3, Cloudflare R2 or Backblaze B2, and a key pair that can write to it. Give that key access to this bucket only.

Install it

Open the server's page and find its NordBase section. Click Install NordBase.

Fill in the backups:

  • Backup bucket: s3://bucket, or s3://bucket/folder.
  • Storage endpoint (optional): the storage service's address as https://host. Leave it empty for Amazon S3.
  • Access key ID and Secret access key of the key pair.

Click Install NordBase. NordBase makes the Region in your account, and OpenPanel's agent runs NordBase's installer on the server.

The section then follows the install step by step: NordBase made the Region, NordBase's installer runs on the server, the Region reports to NordBase. The first install takes up to 20 minutes, because k3s, its operators and their images download first. You can leave the page; OpenPanel keeps checking every 10 seconds.

When the Region's agent sends its first report, the section turns Available and shows the Region's code, the private address its databases are reached at, how many databases it holds, and where its backups go.

What the installer does

  • It runs NordBase's own installer, fetched over HTTPS from nordbase.openpanel.sh with no redirect followed.
  • It installs a single-node k3s with its own container runtime. Docker and the services OpenPanel runs on the server keep running.
  • The database ports, 5432, 5433, 5434 and 27017, listen on the server's private address only. Nothing opens to the internet.
  • k3s's own ports accept only the server itself and the Region's own addresses.

What OpenPanel keeps, and what it does not

  • The backup key pair goes to the server once, sealed inside the installer's job. OpenPanel does not keep it, and it is never in a log or the audit log.
  • The Region's own token, which NordBase gives for its agent, travels the same way and is not kept either.
  • The bucket's path and endpoint are kept, to show on the server's page.
  • Installing, and installing again, are written to the audit log.

When the install stops

The section shows Install failed with the installer's reason and its exit code:

Exit codeMeaning
1A step failed
2A setting was wrong
3This server cannot host a Region
4It timed out
124It ran out of time

Fix what stopped it, then click Install again and type the backup key pair again. NordBase gives the Region a new token, the old one stops working, and the installer repairs what is already there. The Region keeps its code.

A failed Region still counts as one in your NordBase account. If you do not want it, remove it.