Overview
rqlite service and version
The rqlited service active as a native systemd unit with the cloudimg first-boot drop-in, and the from-source build reporting rqlite 10.2.7 on go1.26.5 with SQLite 3.53.2.
rqlite service and version
Authenticated SQL round-trip
Raft consensus and readiness
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
- rqlite 10.2.7 compiled from the official upstream MIT source at a pinned, provenance-verified tag
- SQLite storage engine with the full SQLite type system and ordinary SQLite backup files
- HTTP API speaking JSON on the loopback interface, with an interactive rqlite command line client
- Raft consensus so a single node grows into a fault tolerant cluster when you need one
- Dedicated data volume for the SQLite database, the Raft log, snapshots and the node identity
- Third party licence notices materialised on the image for every linked component
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
- Amazon EBS - the rqlite data store lives on a dedicated EBS volume; use EBS Snapshots for point in time backups or resize storage independently of the OS disk.
- Amazon VPC - deploy within private subnets and control access with security groups; the database and Raft ports are bound to loopback and never exposed by the image.
- AWS Backup - schedule automated, policy driven backups of the data volume without custom scripting.
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
- Lightweight relational store for an application - give a service real SQL, transactions and the SQLite type system without operating a heavyweight database server, reached over a simple JSON HTTP API.
- Fault tolerant configuration or metadata store - start from this single node and grow it into a Raft cluster so critical configuration and metadata survive the loss of a node.
- Edge or embedded relational database - run a small, self contained relational database at the edge or embedded in a deployment, backed up as an ordinary SQLite file any tool can read.
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.
Highlights
- Secure by default from first boot - rqlite ships with authentication off and every request permitted; this image never runs that way. A unique, cryptographically strong password is generated per instance on first boot, the HTTP and Raft ports are bound to loopback, and unauthenticated calls are refused. No default or shared password ever ships in the image.
- Real distributed SQL on SQLite with Raft - full relational SQL, transactions and the SQLite type system over a simple JSON HTTP API and an interactive CLI. Runs as a complete single node out of the box and scales out to a fault tolerant Raft cluster, and because storage is SQLite a backup is an ordinary SQLite file any tool can read.
- Dedicated EBS data volume, from-source build and 24/7 expert support - the database, Raft log and snapshots live on a separate EBS volume you can resize, snapshot and back up independently of the OS disk. rqlite is compiled from upstream MIT source with a current toolchain, and cloudimg engineers provide round the clock support with a one hour average response for critical issues.
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
- ...
Dimension | Description | Cost/hour |
|---|---|---|
m5.large Recommended | m5.large | $0.08 |
t2.micro | t2.micro instance type | $0.04 |
t3.micro | t3.micro instance type | $0.04 |
c5a.12xlarge | c5a.12xlarge instance type | $0.24 |
c5a.16xlarge | c5a.16xlarge instance type | $0.24 |
c5a.24xlarge | c5a.24xlarge instance type | $0.24 |
c5a.2xlarge | c5a.2xlarge instance type | $0.24 |
c5a.4xlarge | c5a.4xlarge instance type | $0.24 |
c5a.8xlarge | c5a.8xlarge instance type | $0.24 |
c5a.large | c5a.large instance type | $0.08 |
Vendor refund policy
Refunds available on request.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Initial release of the rqlite image.
Additional details
Usage instructions
Connect via SSH on port 22 as the default login user for your operating system variant (the user guide lists it per variant; Ubuntu uses 'ubuntu'). rqlite serves its HTTP API on 127.0.0.1:4001 and the Raft protocol on 127.0.0.1:4002 on the instance itself. Retrieve the generated password with: sudo cat /root/rqlite-credentials.txt. Query the API with curl using HTTP basic auth, for example: curl -u cloudimg:PASSWORD 'http://localhost:4001/db/query?q=SELECT%201 '. The HTTP and Raft ports are bound to loopback and are not exposed publicly; reach them over an SSH tunnel (ssh -L 4001:127.0.0.1:4001) or, to form a multi node Raft cluster, open 4002 in your own security group for trusted source ranges. The user guide explains how to run SQL, take backups and cluster additional nodes.
Resources
Vendor resources
Support
Vendor support
cloudimg provides 24/7 technical support for this rqlite AMI by email and live chat.
Scope of Support
Our engineers assist with:
- Initial deployment and instance configuration
- Connectivity and HTTP API client setup
- Forming and operating a multi node Raft cluster
- Backups, snapshots and restore of the data volume
- Troubleshooting the service, ports, authentication and Raft leadership
- Guidance on EBS volume resizing and snapshot based backups
- Software updates and version upgrades
Response Times
Critical issues (database down, data unavailability) receive a one hour average response. General inquiries and configuration questions are addressed within the same business day.
How to Get Help
Contact the support team at support@cloudimg.co.uk . Include your instance ID, region, and a description of the issue or question. For refund requests, email the same address with your AWS Marketplace subscription details.
Recommended Instance Sizing
For evaluation and development workloads, an m5.large with the default 32 GB gp3 data volume is sufficient. For production workloads, size the gp3 data volume to your dataset and provision additional nodes for a fault tolerant Raft cluster. Open a support ticket for personalized sizing guidance.
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.