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 instance. First boot creates a pristine data directory and generates a credential unique to your instance, 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.
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
## Overview
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, alongside 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 AMI delivers a fully configured, security hardened rqlite node that answers authenticated queries within minutes of launch, eliminating the manual installation, network hardening and credential setup a bare install requires.
## Why This Image Over Alternatives
rqlite ships with no authentication by default, permitting every request; this image never runs that way. Authentication is enabled from the first boot with a credential generated uniquely on each instance, so no shared or default database password ever exists in the image, and an unauthenticated call is refused. The HTTP API and the Raft port are bound to loopback rather than exposed on all interfaces, and the instance security group opens SSH only. Where a self managed install co locates database files on the OS disk, this image isolates the entire rqlite data store on a dedicated, independently resizable EBS volume. The rqlite binary is compiled from upstream MIT source with a current toolchain, so fixes that are frozen into an older prebuilt binary are resolved before the image ships.
## What Is Included
## Secure First Boot
On first boot a one shot service generates a cryptographically strong password unique to that instance, writes it into the rqlite authentication file readable only by the service account, and mirrors it to a file readable only by root. rqlite refuses to start until first boot has completed, and it re-checks the credential on every start. No shared or default database credential ever exists in the image.
## AWS Integration Points
## Ready To Use
Connect over SSH, read the generated password from the root only credentials file, and query the HTTP API over the loopback interface or an SSH tunnel to create tables, insert rows and run SQL. To scale out, join further nodes into a Raft cluster following the guide.
## Use Cases
## cloudimg Support
24/7 technical support by email and live chat. Our engineers assist with deployment, connectivity, clustering, backups and database administration. Critical issues receive a one hour average response time.
All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.