Overview
This AMI runs a self-hosted JSON document database on Ubuntu 24.04 LTS. Store documents as JSON, read and write them over a plain HTTP API, query them with views and selectors, and keep copies in sync with built-in replication, a common base for offline-first web and mobile applications. A web console is included. The open-source release 3.5.3 is pinned and baked into the AMI.
What Perimattic adds
The administrator account is created for you during first-login setup, before the site is published, with a random 24-character password generated on the instance and kept by the database only as a salted hash. There is no default account, and every call needs a login, including the web console. Apache is the reverse proxy and provides HTTPS with a free Let's Encrypt certificate for your domain.
Limits you should know
This is a single node with one copy of each shard and no cluster, so availability and backups are yours to plan: replicate to a second server or take EBS snapshots. Full-text search is not set up. CORS is off, so browser applications served from another origin need it switched on in the web console. The only path open without a login is /_up, a health check that returns no data. After five failed logins for one account from one address, the database refuses that pair for five minutes. The database used about 80 to 125 MB of memory when idle in our tests; memory and disk needs grow with your data and views.
Licence and attribution
Built on the open-source Apache CouchDB (Apache License 2.0), release 3.5.3, unmodified. Not affiliated with, endorsed by, or sponsored by the Apache Software Foundation; Apache CouchDB is a trademark of its owner.
Getting Started Launch the AMI and open ports 22, 80 and 443 in the security group SSH in and answer the setup prompts (domain and admin email) Copy the administrator password printed at the end of setup Open https://your-domain/_utils/ and sign in as admin, or call the API with curl -u admin https://your-domain/_all_dbs
A domain name with an A record pointing at the instance is required, because the database is served over HTTPS.
This AMI is built and supported by Perimattic.
Book a free setup consultation at https://cal.com/gaurav-pareek-perimattic/marketplace-setup-consultations or email us at aws-support@perimattic.com .
Support Managed and supported by Perimattic, a cloud infrastructure company with 13+ years of experience serving global clients. We offer free setup assistance, custom integrations, infrastructure consulting, and 24/7 support.
Highlights
- Self-hosted JSON document database, open-source release 3.5.3 (Apache-2.0), pinned: an HTTP API for documents, views and selectors for queries, built-in replication for sync and offline-first applications, and a web console.
- Secure first login: the administrator is created during setup with a random 24-character password kept only as a salted hash, there is no default account, every call needs a login and repeated failed logins are locked out. HTTPS through Apache and Let's Encrypt.
- Built on patched Ubuntu 24.04 LTS and supported by Perimattic: free setup assistance at aws-support@perimattic.com.
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
- ...
Dimension | Cost/hour |
|---|---|
t3.small Recommended | $0.03 |
t3.micro | $0.03 |
c3.2xlarge | $0.03 |
c3.4xlarge | $0.03 |
c3.8xlarge | $0.03 |
c3.large | $0.03 |
c3.xlarge | $0.03 |
c4.2xlarge | $0.03 |
c4.4xlarge | $0.03 |
c4.8xlarge | $0.03 |
Vendor refund policy
For any questions or concerns, please contact: Perimattic.com Email: aws-support@perimattic.com
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.
- Application: JSON Document Database 3.5.3 (container image pinned, baked into the AMI).
- Base: Ubuntu 24.04 LTS, fully patched at build time, built by an automated EC2 Image Builder pipeline.
- TLS: Apache reverse proxy with a Let's Encrypt certificate requested by certbot at first login.
- Credentials are generated on the instance at first login; none are present in the image.
- The administrator is created during first-login setup with a random 24-character password that the database keeps only as a salted PBKDF2 hash; there is no default account, every call except the /_up health check needs a login, and setup verifies this before the site is published.
- Open-source release 3.5.3 (Apache License 2.0), unmodified vendor image, running as an unprivileged user.
- One container, published on the loopback interface only, behind Apache. Single node; the database's own lockout of repeated failed logins is left on.
Additional details
Usage instructions
-
Launch an Instance
From AWS Marketplace, click Continue to Subscribe and then Continue to Configuration to launch the AMI.
-
Choose the Recommended Instance Type
t3.small (2 GB of memory) is the recommended starting size: the database used about 80 to 125 MB when idle and the whole instance about 560 to 640 MB in our tests, on both t3.small and t3.medium. Memory, CPU and disk needs grow with your data, views and replication (we did not measure a large database), so choose a larger instance and root volume for large databases.
-
Configure Security Group
Allow inbound traffic on the following ports:
- 22 (SSH) - terminal access for setup
- 80 (HTTP) - needed to validate your domain for the TLS certificate
- 443 (HTTPS) - access to JSON Document Database
-
Point a domain at the instance
Create a DNS A record (for example db.example.com) pointing to the instance's public IP before you log in.
-
Connect to the Instance
ssh -i <your-key.pem> ubuntu@<public-ip>
-
First-Login Setup
The first SSH login runs a guided setup:
- Prompts for your domain and admin email and checks the DNS A record
- Generates a random 24-character administrator password on your server
- Writes the settings (single node, login required for every call) and starts the database, which replaces the password with a salted hash on its first start
- Checks that the administrator can create a database and write, read and delete a document, that the plain-text password is gone from the settings, and that anonymous visitors and wrong or blank passwords are refused
- Configures Apache as an HTTPS reverse proxy and obtains a Let's Encrypt certificate
- Prints the URL, username and password; they are also stored in /opt/app/access.txt (root only)
If a step fails, fix the problem shown and log in again: the setup resumes where it stopped.
-
Access JSON Document Database
Open https://<your-domain>/_utils/ and sign in as admin with the password printed at the end of setup (view it again with: sudo cat /opt/app/access.txt). Your browser asks for the login before it shows the console. From the command line or a client library use HTTP Basic authentication: curl -u admin https://<your-domain>/_all_dbs
-
Credentials
Generated on your server, never shared between customers. View them again with:
sudo cat /opt/app/access.txt
-
Manage the Services
cd /opt/app sudo docker compose ps sudo docker compose restart
Data: /opt/app/data on the root volume, owned by uid 5984; back it up with replication to a second server or with EBS snapshots, and watch disk usage. Settings: /opt/app/config/10-perimattic.ini (this image's settings) and /opt/app/config/docker.ini (the administrator hash and anything you change later; it is read last). Public without signing in, by design: only GET /_up, the health check. A new database can be read and written by administrators only until you add members to it. After five failed logins for one account from one address the database refuses that pair for five minutes; restarting the container clears it. The database port 5984 listens on 127.0.0.1 only and is published through Apache on 443. The server makes no outbound connections of its own; the web console's News page loads the upstream project's blog in your browser when you open it. Single node: no cluster, one copy of each shard. Full-text search and CORS are not configured.
Thank you for subscribing.
Need Support or Customization? Perimattic's team can help with setup issues, custom features and integrations:
Email us: aws-support@perimattic.com WhatsApp: +91-92142 66896 Learn more: <www.perimattic.com >
We offer free setup assistance, custom development and integrations, and infrastructure consulting.
Resources
Vendor resources
Support
Vendor support
Support by Perimattic
Perimattic provides 24/7 support for all AWS Marketplace products. Our team has 13+ years of cloud infrastructure expertise serving global clients.
Contact Channels: Email: aws-support@perimattic.com WhatsApp: +91-92142 66896 Website: <www.perimattic.com >
What We Help With: Initial setup and configuration assistance (free) Troubleshooting connectivity, performance, and backup issues Custom development and integrations Infrastructure consulting and architecture review Migration planning from other solutions Automation solutions and scaling guidance
Instance Sizing Guidance: t2.medium or t3.medium: Development environments, small applications m5.large: Production workloads with moderate traffic m5.xlarge: High-traffic production deployments and larger datasets
For workload-specific sizing recommendations, contact our team for a free consultation.
Refunds and Issues: If you experience any issues or need to request a refund, contact us at aws-support@perimattic.com and we will respond promptly.
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.