Overview
This is a repackaged software product wherein additional charges apply for hardening, security configuration, and support.
WHAT IS MATOMO
Matomo is the leading open-source web analytics platform and a privacy-friendly alternative to Google Analytics, used on over one million websites. It is a PHP application backed by a MySQL/MariaDB database and served by nginx with PHP-FPM. Matomo gives you visits and pageview reporting, visitor logs and profiles, real-time analytics, acquisition and campaign tracking, goals and e-commerce conversion, custom segments and dimensions, heatmaps and session-recording add-ons, a JavaScript tracker (matomo.js) and a server-side tracking API (matomo.php), an HTTP Reporting API, and a built-in Tag Manager. Because you self-host it, all visitor data stays inside your own AWS account, which makes GDPR, CCPA, and data-residency compliance straightforward. Matomo is GPL-3.0 licensed with no vendor lock-in; premium features are optional separate plugins and are not required to run it.
WHAT THIS AMI ADDS
Security hardening:
- Unique MariaDB password generated at first boot (no shipped default credential)
- No analytics admin account is baked into the image - the first super user you create during the install wizard owns the instance
- TLS enabled on port 443 with a self-signed certificate (replace with your own CA/Let's Encrypt certificate for production)
- MariaDB and PHP-FPM bound to 127.0.0.1 only - never exposed to the network
- Hourly report archiving runs as a scheduled background task; browser-triggered archiving is disabled for predictable performance
- UFW firewall pre-configured (ports 22, 80, 443 only)
- fail2ban, auditd, and AppArmor pre-configured
- CVE scan - every image is scanned for vulnerabilities before release
OS hardening (CIS Level 1):
- CIS Ubuntu 24.04 LTS Level 1 benchmark applied via ansible-lockdown
- auditd, SSH key-only access, kernel hardening, IMDSv2 enforced
Compliance artifacts:
- SBOM - CycloneDX 1.6 at /etc/lynxroute/sbom.json
- CIS Conformance Report at /etc/lynxroute/cis-report.html
- CIS Tailored Profile at /usr/share/doc/lynxroute/CIS_TAILORED_PROFILE.md
Highlights
- Matomo security baked in: unique database password at first boot, TLS on 443, database bound to localhost, hourly archiving as a scheduled task - unlike bare Matomo AMIs that ship with a default database password, no TLS, and the analytics host left wide open.
- CIS Level 1 hardened Ubuntu 24.04 LTS: auditd, fail2ban, AppArmor, SSH key-only, IMDSv2 enforced. CVE-scanned before every release. SBOM (CycloneDX) and CIS Conformance Report included.
- Own 100% of your analytics data: self-hosted Google Analytics alternative with visitor logs, goals, e-commerce, segments, and a Tag Manager - data never leaves your AWS account. GPL-3.0 license - fully auditable, no vendor lock-in.
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 | Cost/hour |
|---|---|
t3.medium Recommended | $0.02 |
t3.large | $0.03 |
t3.small | $0.02 |
m6i.large | $0.03 |
Vendor refund policy
We do not offer refunds for this product. AWS infrastructure charges (EC2, EBS, data transfer) are billed separately by AWS and are not refundable by us.
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
Matomo 5.11.0 - Initial release (June 2026)
- Matomo 5.11.0 on Ubuntu 24.04 LTS
- CIS Level 1 hardening applied (ansible-lockdown/UBUNTU24-CIS)
- CVE-scanned before every release
- Unique MariaDB password generated at first boot; no admin pre-seeded
- TLS on port 443; database and PHP-FPM bound to localhost only
- Hourly report archiving as a scheduled task; browser archiving disabled
- UFW firewall pre-configured (ports 22, 80, 443 only)
- fail2ban, auditd, AppArmor pre-configured
- SBOM (CycloneDX 1.6) at /etc/lynxroute/sbom.json
- CIS Conformance Report (OpenSCAP) at /etc/lynxroute/cis-report.html
- IMDSv2 enforced
Additional details
Usage instructions
- Launch instance (t3.medium recommended)
- Open Security Group - allow TCP 443 (and 80 for HTTP-to-HTTPS redirect) from your IP only
- SSH: ssh -i key.pem ubuntu@<PUBLIC_IP>
- Read credentials: sudo cat /root/matomo-credentials.txt
- Open https://<PUBLIC_IP>/ in your browser - accept the self-signed certificate warning
- Complete the Matomo install wizard:
- Click through Welcome and System Check
- At the Database step, enter the pre-provisioned values from the credentials file (Server 127.0.0.1, Login matomo, Database matomo, and the generated password)
- Create YOUR OWN super user (real email + strong password) - no admin is pre-seeded
- Set up your first website to get its tracking code
The credentials file at /root/matomo-credentials.txt contains the database password you paste once at the Database step. No analytics admin account exists until you create one - whoever completes the wizard first becomes the owner, so keep port 443 restricted to your IP until you have registered.
Matomo records the hostname you install from as a trusted host. If you later reach Matomo on a different domain, add it under Administration > General Settings, or set up your own domain with HTTPS: sudo apt install certbot python3-certbot-nginx sudo certbot --nginx -d your.domain.com
Report archiving runs hourly in the background, so reports stay up to date without slowing down page loads.
Resources
Vendor resources
Support
Vendor support
Visit us online: https://lynxroute.com
For Matomo documentation: https://matomo.org/docs/ For Matomo upstream issues:
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.