Self-hosted, cookie-free web analytics (open-source Community Edition 3.2.1, AGPL-3.0) with PostgreSQL and ClickHouse on Ubuntu 24.04. Owner created at first login, registration closed. Pinned, HTTPS.
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.
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.
AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
Pricing is based on actual usage, with charges varying according to how much you consume. Subscriptions have no end date and may be canceled any time.
Additional AWS infrastructure costs may apply. Use the AWS Pricing Calculator to estimate your infrastructure costs.
If you are an AWS Free Tier customer with a free plan, you are eligible to subscribe to this offer. You can use free credits to cover the cost of eligible AWS infrastructure. See AWS Free Tier for more details. If you created an AWS account before July 15th, 2025, and qualify for the Legacy AWS Free Tier, Amazon EC2 charges for Micro instances are free for up to 750 hours per month. See Legacy AWS Free Tier for more details.
You pay by the hour for the EC2 instance type that runs your managed privacy-first web analytics deployment. Each dimension maps to a specific Amazon EC2 instance size across families like compute-optimized (c), memory-optimized (r, x), general-purpose (m, t), storage-optimized (d, i), accelerated (g, p, inf, trn), and high-memory (u). Pricing scales with the instance you pick: larger sizes with more CPU, memory, or specialized hardware cost more per hour. You choose one instance type sized to your workload and are billed hourly for the hours it runs.
Top-of-mind questions for buyers
Am I charged for the EC2 instance when it is stopped or powered off?
The hourly software charge applies only while the instance runs. A fully stopped instance stops accruing the per-hour software fee. Underlying AWS storage and other resource fees may still apply from AWS separately, but the managed analytics software meters running hours only.
What does one hourly unit cover, and what does the managed service handle on that instance?
One unit is one running EC2 instance of the type you select, billed per hour. On that dedicated instance the vendor handles provisioning, TLS certificates, daily backups, version upgrades, security patching, and monitoring, so your team runs the analytics without managing the operations.
How is cost affected if I switch to a larger instance type later?
You run one instance type at a time and pay its hourly rate. Moving to a larger size changes your rate to that instance's hourly price going forward. You are billed only for the hours each instance type actually runs, so the change takes effect when you switch.
Tell us how we can improve this page, or report an issue with this product.
Give us feedbackReport a problem with this product or seller
Legal
Vendor terms and conditions
Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA).
Content disclaimer
Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.
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:
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.
Self-hosted web analytics suite 5.14.2 (GPL-3.0) with MariaDB 11.8 on Ubuntu 24.04: HTTPS, the installation wizard completed for you with a generated super user, archiving by cron. Premium plugins are not included.
Umami 3.4.1 (MIT) with PostgreSQL 17 on Ubuntu 24.04, with HTTPS and Umami's default admin login replaced by a generated password. Self-hosted, privacy-focused web analytics, ready after one SSH login.
Production-ready ClickHouse with full root access, automated backups, and security hardening - a high-performance columnar database for real-time analytics on AWS.
Open-source observability dashboards 12.4.14 (AGPL-3.0) on Ubuntu 24.04 with SQLite: charts and alerts over your metrics, logs and SQL data, behind HTTPS with a generated administrator password and sign-up closed.
Be the first to review this product. We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.