Skip to main content

Matomo Cluster Overview

Diagram of the Matomo Cluster​

Loadbalancer​

This is a PaaS service that provides a loadbalancer for the frontend servers.

  • When creating a new LB that instance will get an IP address. And that is the IP address that we want to connect the matomo public domain to.
    • ex: matomo.<customerdomain>.se

Frontend servers​

CPU: 2 RAM: 2GB Disk: 20 GB

Small frontend server that handles the traffic. The frontend servers are using Nginx and PHP-FPM. We usually have 2 of these. But if the platform has higher requirements we can add more.

Matomo Admin Server​

CPU: 4 RAM: 8GB Disk: 40 GB

Recommended domainname: analys.<customer-domain>.se or analytics.<customerdomain>.se

Used for the Matomo web interface.

  • When using the Queued Tracker plugin we also have Redis installed on this server.
    • And the frontend servers are sending traffic data to redis instead of directly to the database.
    • This also offloads some of the cpu requirements from the frontend servers (with the added bonus that they can handle even more traffic)

Database Server​

Two urls for different things​

For our customers with multi server installations we need two urls:

  • analys.<customer-domain>.se use to login to Matomo
  • matomo.<customer-domain>.se use to track data to Matomo