Overview
This AMI runs a self-hosted, privacy-first web analytics application on Ubuntu 24.04 LTS: a lightweight tracking script on your own websites and a dashboard on your own server. It sets no cookies on your visitors and keeps the visitor data on your instance. The official container image of the open-source Community Edition, version 3.2.1, is pinned and baked into the AMI together with PostgreSQL 16.15 and ClickHouse 24.12.6.70, so first start does not depend on a registry.
Built on the open-source Plausible Community Edition (AGPL-3.0). Not affiliated with, endorsed by, or sponsored by Plausible Insights OU; Plausible is a trademark of its owner. Perimattic is an independent publisher.
What Perimattic adds
Secure by default: the application lets the first visitor register the first account, so anyone reaching a fresh server could take it over. At first login this AMI generates a random 24-character owner password, database passwords and the application's secret keys on your server, creates the owner account with the application's own user schema, and checks that the password works, that a wrong password and a made-up account are refused, that registration is closed (even for invitations) and that ClickHouse demands a password, before the site is published. There are no default or shared credentials in the image.
HTTPS: Apache is the reverse proxy, with a free Let's Encrypt certificate requested for your domain by certbot. PostgreSQL and ClickHouse are reachable only inside the Docker network.
What is public on purpose
The tracking script (/js/script.js) and the event endpoint (/api/event) must be reachable by your visitors' browsers, so they are public. The dashboard, settings and statistics API need the login or an API key.
Limits you should know
No mail server is included: invitations, password-reset and report emails need SMTP settings that you add. Registration is closed; to let colleagues join by invitation, change one setting as described in the setup notes. ClickHouse is the memory-hungry part: the whole stack used about 0.7 GB when new and ClickHouse grew past 0.5 GB after a restart; a t3.medium (4 GB) is the recommended starting size, and busy sites need more.
Licences
The application is released under the GNU Affero General Public License v3 or later (AGPL-3.0); this AMI runs the unmodified upstream image, and its source code is at github.com/plausible/community-edition and github.com/plausible/analytics (tag v3.2.1). The tracking script is MIT licensed. PostgreSQL is under the PostgreSQL licence and ClickHouse is under the Apache License 2.0. ClickHouse 24.12 is the version the Community Edition's own compose file pins.
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 owner password printed at the end of setup Sign in at https://your-domain , add a site and paste the snippet into your website
A domain name with an A record pointing at the instance is required, because the dashboard is served over HTTPS.
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
- Open-source Community Edition 3.2.1 (AGPL-3.0) with PostgreSQL and ClickHouse, pinned and pre-installed: cookie-free, privacy-first web analytics on your own server.
- Secure first login: the owner is created and checked during setup, registration is closed, passwords and keys are generated per instance, and the databases are private.
- 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.medium 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 |
Dimensions summary
Top-of-mind questions for buyers
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: Privacy-First Web Analytics 3.2.1 (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.
- A random owner password is generated at first login and the owner account is created before the site is published; registration is closed, and setup verifies that a wrong password, a made-up account and registration are refused and that ClickHouse needs a password.
- Application: open-source Community Edition 3.2.1 (AGPL-3.0, unmodified upstream image) with PostgreSQL 16.15 and ClickHouse 24.12.6.70 (all pinned).
- PostgreSQL and ClickHouse are reachable only inside the Docker network; the tracking script and event endpoint are public by design.
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.medium (4 GB of memory) is the recommended starting size: the application, PostgreSQL and ClickHouse used about 0.7 GB when new, and ClickHouse grew past 0.5 GB after a restart. ClickHouse needs more memory as your traffic grows, so size up for busy sites.
-
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 Privacy-First Web Analytics
-
Point a domain at the instance
Create a DNS A record (for example stats.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 owner password, database passwords and the application's secret keys on your server
- Starts the application, PostgreSQL and ClickHouse and creates the owner account before anything is published
- Checks that the password works, that a wrong password, a made-up account and registration are refused, and that ClickHouse demands a password
- Configures Apache as an HTTPS reverse proxy and requests a Let's Encrypt certificate
- Prints the URL and the owner credentials; 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 Privacy-First Web Analytics
Open https://<your-domain> and sign in with your admin email and the generated password (view it again with: sudo cat /opt/app/access.txt). Add a site and paste the tracking snippet into your website's head. The tracking script and event endpoint are public on purpose; registration is closed.
-
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
Visitor events are in ClickHouse (/opt/app/event-data) and accounts in PostgreSQL (/opt/app/postgres): back up all of /opt/app or snapshot the volume before upgrades. Emails (invitations, password reset, reports) need SMTP settings added to /opt/app/docker-compose.yml. To let colleagues join by invitation, set DISABLE_REGISTRATION=invite_only there and run docker compose up -d.
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
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.