Skip to main content

Size your deployment

Pick your scale tier, deployment type, and hosting provider. The builder below renders a target architecture and a bill of materials sized to those choices. Sizing follows the Mattermost scaling guide; provider SKUs are illustrative — verify against current pricing and regional / compliance constraints before committing to a procurement decision.

Scale tier
Deployment type
Hosting
Optional services
Clients
Web & Desktop
Channels web app · Windows · macOS · Linux
Mobile
iOS · Android
AWS Application Load Balancer
TLS termination
Mattermost×2
8 vCPU · 32 GB RAM · HA cluster
Push Proxy
self-hosted
Amazon RDS (PostgreSQL)
primary + 1 replica
Amazon OpenSearch
1 node · message search
Amazon S3
S3-compatible · uploads + plugins

Bill of materials

ComponentQuantityRecommended size / SKUNotes
Load balancer1AWS Application Load BalancerTLS terminated at the proxy. Mattermost behind, listening on HTTP/8065.
Mattermost app server2 nodesm5.2xlarge (8 vCPU / 32 GB RAM)High availability — restarts and upgrades are non-disruptive.
PostgreSQL (primary)1Amazon RDS (PostgreSQL) — db.m5.xlargeSeparate host. PostgreSQL 14 minimum. App connects on TCP/5432.
PostgreSQL read replicas1Amazon RDS (PostgreSQL) read replicaRead queries (search, dashboards) offloaded from the primary.
Search index1 nodeAmazon OpenSearchRecommended — message search performance degrades on the DB alone at this scale. App connects on HTTPS/9200.
File storageAmazon S3S3-compatible bucket. App connects on HTTPS/443. Backup + versioning recommended.
Push notification proxy1Mattermost Push Proxy (open source) — small single host (1 vCPU / 2 GB) or containerMediates APNs (api.push.apple.com) and FCM (fcm.googleapis.com) on HTTPS/443. Use HPNS instead if you can reach Mattermost-managed; self-host for air-gapped / sovereign deployments.

Network flows

Every connection in the architecture above — useful when configuring firewall rules, security groups, or a CAP. Inbound = from clients; internal = within the deployment boundary; egress = out to external services.

FromToDirectionProtocolPortPurpose
Web / Desktop / Mobile clientsLoad balancerinboundHTTPS + WSSTCP/443Channels API, WebSocket events, file uploads
Load balancerMattermostinternalHTTPTCP/8065TLS-terminated app traffic
MattermostPostgreSQL (Amazon RDS (PostgreSQL))internalTCP5432Database queries
MattermostOpenSearch (Amazon OpenSearch)internalHTTPS9200Message search index reads + writes
MattermostObject storage (Amazon S3)internalHTTPSTCP/443File uploads, plugin assets, compliance exports
MattermostMattermost Push Proxy (self-hosted)internalHTTPSTCP/443Push notification submission
Mattermost Push ProxyApple APNs (api.push.apple.com)egressHTTPSTCP/443iOS push fan-out
Mattermost Push ProxyGoogle FCM (fcm.googleapis.com)egressHTTPSTCP/443Android push fan-out

Sizing follows the Mattermost scaling guide; provider SKUs are illustrative starting points. Verify against current pricing, regional availability, and any compliance constraints before procurement.

How to use this page

  1. Pick the scale tier that fits your expected concurrent user count. Tiers correspond to the named bands in the scaling guide (Trial / Small / Medium / Large / Extra Large / Mega / Hyperscale).
  2. Pick a deployment type:
    • Virtual machines — Mattermost installed via the Linux install paths, with a separate VM per role (app, database, cache, search). Most common for self-hosted and private-cloud deployments.
    • Kubernetes — Mattermost deployed via the Mattermost Operator. The diagram and bill of materials swap the load balancer for an ingress controller and the app row for the Operator pattern.
  3. Pick a hosting provider to see provider-specific SKU recommendations. On-prem / Other swaps managed services for self-managed equivalents (PostgreSQL on a VM, Redis on a VM, OpenSearch / Elasticsearch on a VM cluster, MinIO or NFS for object storage).

What's next

Once you've sized the architecture:

Where this page sits

This is the second step in Plan, after Application architecture. If you haven't picked the shape of the deployment yet, Deployment Scenarios covers which operational pattern fits (air-gapped, mission partner, DDIL, sovereign-Microsoft, out-of-band); this page sizes the components of whichever shape you pick.