Software and hardware requirements

plans-img Available on all plans

deployment-img self-hosted deployments

This guide outlines minimum software and hardware requirements for deploying Mattermost. Requirements may vary based on utilization and observing performance of pilot projects is recommended prior to scale out.

Deployment overview

Please see the Mattermost Deployment Overview documentation for a summary of software systems whose requirements are described in this document.

Mattermost network diagram shows how the components can be deployed. Includes optional configurations for scaling for larger enterprise organizations.

Software requirements

Client software

Desktop apps

Operating System

Self-Hosted Technical Requirement

Cloud Technical Requirement

Windows

Windows 8.1+

Windows 8.1+

Mac

macOS 11+

macOS 11+

Linux

Ubuntu LTS releases 18.04 or later

Ubuntu LTS releases 18.04 or later

Though not officially supported, the Linux desktop app also runs on RHEL/CentOS 7+.

* Integrated Windows Authentication is not supported by Mattermost desktop apps. If you use ADFS we recommend configuring intranet forms-based authentication for devices that do not support WIA.

PC web

Browser

Self-Hosted Technical Requirement

Cloud Technical Requirement

Chrome

v106+

v106+

Firefox

v91+

v91+

Safari

v14.1+

v14.1+

Edge

v106+

v106+

* Support for Internet Explorer (IE11) has been removed in Mattermost v5.16. We recommend using the Mattermost desktop app or another supported browser. See this forum post to learn more.

Mobile apps

Operating System

Technical Requirement

iOS

iPhone 5s devices and later with iOS 12.1+

Android

Android devices with Android 7+

* Integrated Windows Authentication is not supported by Mattermost mobile apps. If you use ADFS we recommend configuring intranet forms-based authentication for devices that do not support WIA.

Mobile web

Browser

Technical Requirement

iOS

iOS 12.1+ with Safari 14.1+ or Chrome 106+

Android

Android 7+ with Chrome 106+

Email client

  • Desktop clients: Outlook 2010+, Apple Mail version 7+, Thunderbird 38.2+

  • Web based clients: Office 365, Outlook, Gmail, Yahoo, AOL

  • Mobile clients: iOS Mail App (iOS 7+), Gmail Mobile App (Android, iOS)

Server software

Mattermost server operating system

  • Ubuntu 18.04, Debian Buster, CentOS 6+, CentOS 7+, RedHat Enterprise Linux 7+, Oracle Linux 6+, Oracle Linux 7+.

  • Using the Mattermost Docker deployment on a Docker-compatible operating system (Linux-based OS) is still recommended.

While community support exists for Fedora, FreeBSD, and Arch Linux, Mattermost does not currently include production support for these platforms.

Database software

For Mattermost v6.0 and later:

  • MySQL 5.7.12, 8.0.12+ (see note below on MySQL 8 support)

  • PostgreSQL 10.0+

For Mattermost v5.39 and previous releases:

  • MySQL 5.6, 5.7, 8.0.12+ (see note below on MySQL 8 support)

  • PostgreSQL 10.0+

Amazon Aurora equivalents of both MySQL and PostgreSQL are also supported.

MariaDB v10+ no longer functions as a MySQL drop-in replacement, and it’s not supported for Mattermost due to the requirement of MySQL 5.7.12. Prior versions of MariaDB were not officially supported but may have functioned in older Mattermost releases. If you are running MariaDB now, migrating from MariaDB to the MySQL equivalent is recommended.

Deployments requiring searching in Chinese, Japanese, and Korean languages require MySQL 5.7.6+ and the configuration of ngram Full-Text parser. For searching two characters, you will also need to set ft_min_word_len and innodb_ft_min_token_size to 2 and restart MySQL. See CJK discussion for details.

Search limitations on PostgreSQL:

  • Email addresses do not return results.

  • Hashtags or recent mentions of usernames containing a dash do not return search results.

  • Terms containing a dash return incorrect results as dashes are ignored in the search query.

  • If any of the above is an issue, you can either enable the Elasticsearch feature or install MySQL instead.

Search limitations on MySQL:

  • Hashtags or recent mentions of usernames containing a dot do not return search results.

  • From Mattermost v6.4, the new migration system requires the MySQL database user to have additional EXECUTE, CREATE ROUTINE, ALTER ROUTINE and REFERENCES privileges to run schema migrations.

MySQL 8 Support:

In MySQL 8.0.4, the default authentication plugin was changed from mysql_native_password to caching_sha2_password (https://mysqlserverteam.com/mysql-8-0-4-new-default-authentication-plugin-caching_sha2_password/). Therefore, you will need to enable mysql_native_password by adding the following entry in your MySQL configuration file:

[mysqld]
default-authentication-plugin=mysql_native_password

In MySQL 8, the default collation changed to utf8mb4_0900_ai_ci (https://dev.mysql.com/doc/mysqld-version-reference/en/optvar-changes-8-0.html). Therefore, if you update your MySQL installation to version 8, you’ll need to convert your database tables to use the new default collation:

ALTER TABLE table_name CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;

If this change isn’t made, tables in the database may end up having different collations which will cause errors when executing queries.

In MySQL versions 8.0.0 - 8.0.11 ADMIN is a reserved keyword, which is why our requirement for MySQL is version 8.0.12.

MySQL 8.0.22 contains an issue with JSON column types changing string values to integers which is preventing Mattermost from working properly. Users are advised to avoid this database version.

Hardware requirements

Usage of CPU, RAM, and storage space can vary significantly based on user behavior. These hardware recommendations are based on traditional deployments and may grow or shrink depending on how active your users are.

Moreover, memory requirements can be driven by peak file sharing activity. Recommendation is based on default 50 MB maximum file size, which can be adjusted from the System Console. Changing this number may change memory requirements.

For deployments larger than 2,000 users, it is recommended to use the Mattermost open source load testing framework to simulate usage of your system at full scale: https://github.com/mattermost/mattermost-load-test.

Mattermost supports any 64-bit x86 processor architecture.

Hardware requirements for team deployments

Most small to medium Mattermost team deployments can be supported on a single server with the following specifications based on registered users:

  • 1 - 1,000 users - 1 vCPU/cores, 2 GB RAM

  • 1,000 - 2,000 users - 2 vCPUs/cores, 4 GB RAM

Hardware requirements for enterprise deployments (multi-server)

Scale requirements

For Enterprise Edition deployments with a multi-server setup, see our scaling guide.

It is highly recommended that pilots are run before enterprise-wide deployments in order to estimate full scale usage based on your specific organizational needs. You can use the Mattermost open source load testing framework to simulate usage of your system: https://github.com/mattermost/mattermost-load-test.

Mattermost’s performance monitoring tools can be used for detailed performance measurements and to inspect the running system to ensure sizing and installation is correct.

System requirements

For Enterprise Edition deployments with a multi-server setup, we highly recommend the following systems to support your Mattermost deployment:

  • Prometheus to track system health of your Mattermost deployment, through performance monitoring feature available in Mattermost Enterprise.

  • Grafana to visualize the system health metrics collected by Prometheus with the performance monitoring feature. Grafana 5.0.0 and later is recommended.

  • Elasticsearch to support highly efficient database searches in a cluster environment. Elasticsearch 7.x is supported in Mattermost v6.0. Previous Mattermost versions of Mattermost, including v5.39 and earlier releases, support Elasticsearch v5.x, v6.x, and v7.x. Learn more here.

  • MinIO or AWS S3. Mattermost is compatible with object storage systems which implement the S3 API. Other S3-compatible systems may work, but are not officially supported. Learn more about file storage configuration options in our documentation.

Alternate storage calculations

As an alternative to recommended storage sizing above, you can forecast your own storage usage. Begin with a Mattermost server approximately 600 MB to 800 MB in size including operating system and database, then add the multiplied product of:

  • Estimated storage per user per month (see below), multiplied by 12 months in a year

  • Estimated mean average number of users in a year

  • A 1-2x safety factor

Estimated storage per user per month

File usage per user varies significantly across industries. The below benchmarks are recommended:

  • Low usage teams (1-5 MB/user/month)
    • Primarily use text messages and links to communicate. Examples would include software development teams that heavily use web-based document creation and management tools, and therefore rarely upload files to the server.

  • Medium usage teams (5-25 MB/user/month)
    • Use a mix of text messages as well as shared documents and images to communicate. Examples might include business teams that may commonly drag and drop screenshots, PDFs and Microsoft Office documents into Mattermost for sharing and review.

  • High usage teams (25-100 MB/user/month)
    • Heaviest utilization comes from teams uploading a high number of large files into Mattermost on a regular basis. Examples include creative teams who share and store artwork and media with tags and commentary in a pipeline production process.

Example: A 30-person team with medium usage (5-25 MB/user/month) with a safety factor of 2x would require between 3.5 GB (30 users * 5 MB * 12 months * 2x safety factor) and 17.6 GB (30 users * 25 MB * 12 months * 2x safety factor) of free space in the next year.

It’s recommended that you review storage utilization at least quarterly to ensure adequate free space is available.