Host Mattermost on VeloxaHost
Mattermost is a team messaging platform with channels, threads, file sharing, integrations and playbooks, built as a self-hostable alternative to Slack. Engineering teams and organisations with data-residency or compliance needs run it on their own server so message history stays under their control.
The one-click install sets up PostgreSQL on Ubuntu 24.04, creates a mattermost database and an mmuser role with a generated password (shown on the server's page in the console), and unpacks the Mattermost 12.0.0 server into /opt/mattermost. It runs as the mattermost systemd service under its own user and listens on port 8065.
Documentation is at docs.mattermost.com.
Prefer to set it up yourself? The Mattermost self-host guide covers the manual route on Ubuntu 24.04: install, first login, HTTPS, backups and updates.
What it needs
Mattermost's own requirements page sizes the application at 1 vCPU and 2 GB of RAM for up to 1,000 users, and 2 vCPU and 4 GB for 1,000 to 2,000, and asks for load testing above that. On one server, PostgreSQL shares that machine. The recommended 2 vCPU, 4 GB of RAM and 40 GB of disk fit the Veloxa 2 size: 2 vCPU, 4 GB RAM and 80 GB of disk for $15 a month, billed at $0.03 an hour and capped at the monthly price. Uploaded files are stored locally in /opt/mattermost/data by default, so disk is what grows over time.
First steps after deploy
- Every server gets a block of ports on the region's shared IPv4 address. Under How to connect on the server's page, forward a port of the block to 8065.
- Open
http://<shared-ip>:<port>and create the first account, which becomes the system admin. - Set Site URL in the System Console (Environment, Web Server) to the exact address users will type, including the port if it is not 80 or 443. Mattermost's docs mark this field as required: without it, links in email notifications break and OAuth logins fail.
- Configure SMTP for notifications and invitations. VeloxaHost blocks outbound TCP port 25 by default, so use your email provider's port 587 or 465.
For a domain with HTTPS on port 443, use a dedicated IPv4 address (a paid add-on with limited availability) and put Nginx or Caddy in front of port 8065. Caddy passes the WebSocket connections Mattermost needs by default. IPv6 is not available in US East yet.
Backups and updates
Mattermost's upgrade guide asks for two things before any change: a database backup and a copy of the install directory, which holds config/config.json, the data folder and plugins. On VeloxaHost, take a snapshot from the server page, and turn on automatic snapshots (hourly up to weekly, kept for 1 to 30 days) or scheduled backups (every 6 hours up to weekly, keeping 1 to 10). Keep pg_dump exports as well for restoring the database on its own.
To upgrade, follow the official guide: stop the service, replace the application files with the new release while keeping config, data, logs and plugins, and start again. The one-click version is 12.0.0, which needs PostgreSQL 15 or newer (Ubuntu 24.04 ships 16); read the important upgrade notes for each version you move to.
FAQ
How much RAM does Mattermost need?
Mattermost's guide gives 2 GB for the application with up to 1,000 users. With PostgreSQL on the same server, 4 GB (Veloxa 2) is a comfortable start for a team; the 2 GB minimum here suits a trial. Memory can be raised from the console without a restart.
Can I import my Slack workspace?
Yes. Export the workspace from Slack, convert it with Mattermost's mmetl transform slack, then validate, upload and process it with mmctl import. Integrations, workflows, canvases and profile pictures do not come across, and the guide suggests free disk of about three times the export size.
Can I use my own domain?
Yes. Point a DNS record at a dedicated IPv4 address, proxy to port 8065 with a certificate, and set Site URL to https:// plus your domain. On the shared address you can use your domain with the forwarded port in the URL.
Which edition and license is this?
The release from Mattermost, Inc. is a single binary. Mattermost publishes its compiled binaries under the MIT license and its source code under AGPL-3.0 or a commercial license. Paid Enterprise features unlock with a license key; the free tiers have limits described on the editions page.
Where is my data?
Messages, users and channels are in the PostgreSQL mattermost database. Uploaded files are in /opt/mattermost/data unless you point file storage at S3-compatible object storage, such as VeloxaHost Object Storage, in the System Console.
Which VeloxaHost size fits Mattermost?
The recommended 2 vCPU and 4 GB of RAM is a Veloxa 2: 2 vCPU, 4 GB RAM and 80 GB of disk for $15 a month, billed at $0.03 an hour and capped at that price.