rqlite, the lightweight distributed relational database built on SQLite with Raft consensus, ready to answer authenticated queries the moment it boots.
rqlite is a lightweight, distributed relational database that uses SQLite as its storage engine and the Raft consensus protocol to replicate writes. You get real relational SQL, transactions and the full SQLite type system, reached over a simple HTTP API that speaks JSON, plus an interactive command line client.
It runs as a single node out of the box, which is a complete working database, and scales out to a fault tolerant Raft cluster when you need one. Because the storage engine is SQLite, a backup is an ordinary SQLite file that any SQLite tool can read.
This image ships rqlite on a dedicated data volume, with the HTTP API and the Raft port bound to loopback and authentication enabled from the first boot.
The image contains no database at all: the data directory, holding the SQLite file, the Raft log, the Raft snapshots and the node identity, is destroyed before capture, so no build time row, schema or credential can reach your virtual machine. First boot creates a pristine data directory and generates a credential unique to your machine, and rqlite refuses to start until that has happened. rqlite ships with no authentication by default, permitting every request; this image never runs that way, and an unauthenticated call is refused. The database lives on its own volume rather than the operating system disk, and every image is paired with a deploy guide and 24/7 support from cloudimg.