Forecasting Mattermost file storage growth

A practical method for estimating how much file storage a self-hosted Mattermost server will need over time, using the documented formula inputs, storage backend choice and a safety factor.

On this page

How to forecast Mattermost file storage growth before it fills the disk

Start with the question the forecast must answer: how much file storage the deployment will need over the next one to three years, and on which backend. Mattermost's documented method combines four inputs: a base server size, megabytes per user per month for each usage profile, projected user counts over time, and a safety factor applied to the total. The result is only as good as the coefficients behind it, so confirm each one against Mattermost's sizing guidance for the exact server version you plan to run, since the company ships a new server version every month. Teams usually need this forecast at three points: a new deployment with no usage history, an expansion from pilot to company-wide rollout, and the moment a high availability design is under consideration, because that decision changes where files can live.

The storage backend changes both the number and the architecture. Files on local disk are the simplest to size, but they cannot be shared across nodes. The Mattermost high availability cluster documentation states that a cluster needs shared file storage on Amazon S3, an S3-compatible service or NAS mounted on each node, and that local file system storage will not work correctly and risks corrupting files. If a cluster is possible within your forecast window, model the shared backend from day one so you do not size a local disk now only to migrate later. Each backend also has different performance and cost behavior, including throughput limits, latency and request or transfer charges. Ask your provider or storage team to confirm those terms, and benchmark a representative upload and download load in your own environment before you commit.

Turn the method into a worksheet that both the platform and finance teams can read. Record every input with its source, run low, expected and high user scenarios, and show the safety factor as its own line so reviewers can challenge it. After go-live, compare actual monthly growth in the file store with the forecast, and recalculate at each Mattermost upgrade and each significant change in user count. The server deployment planning guide is the natural starting point for confirming the server and storage assumptions behind the worksheet. Storage is a recurring cost, so confirm the pricing model, including any object storage request or egress charges, before you place a figure in the budget.

How the storage forecast inputs combine into a capacity number

The forecast starts with four inputs: the base server size, the usage profile, the user count for each year and a safety factor. Each year's user count is multiplied by the per-user growth for the chosen usage profile, added to the base size and then padded by the safety factor, which produces a per-year storage estimate. That estimate is the number to check against the storage backend. Local disk, EFS or S3-compatible storage each have different performance and sharing limits, so the backend decision follows the capacity number rather than preceding it. Confirm each input with the team that owns the figure before relying on the result.

Forecast inputs feed a yearly estimate, which then selects a storage backend.

What the forecast formula takes as inputs and where each input comes from

The forecast combines four inputs: a base server size, a megabytes per user per month figure for each usage profile, a projected user count for each year, and a safety factor. The base server size is the storage the installation needs before any user uploads a file, covering the operating system, the Mattermost binary, the config directory and logs. You can measure it on a fresh install in your own environment. The per-user figures are the other side of the calculation, and they change the answer far more than the base size does, so treat each one as an assumption you have to defend rather than a fixed value.

Each usage profile (light, moderate and heavy file sharing) assigns a monthly upload volume to a typical user. These profiles are your own assumption about how your staff will behave. Mattermost does not know your teams, and a finance group sharing spreadsheets differs from an engineering group sharing build artifacts. The best check is a pilot: run a representative group for several weeks, then measure the uploads per user from the file storage location and the server's own data. Ask Mattermost for the current per-user coefficients for the version you plan to run. Older guides and forum posts may use figures from earlier releases, and the formula should be applied with the numbers Mattermost publishes for your version.

The user count needs two numbers per year: total users, who hold an account and can be added to channels, and concurrent users, who are active at the same time. Storage tracks the people who upload, so projecting total users per year is usually the more useful input for disk planning, while concurrency matters more for server sizing. The safety factor multiplies the result to cover upload spikes, a larger than expected rollout, and retention settings that keep files longer than planned. Confirm with your records and compliance owners how long files must be kept, because retention policy can change the forecast more than any single usage assumption.

Storage backend options and when each one fits the forecast

This table compares local disk, Amazon EFS or other mounted network file systems, Amazon S3 or S3-compatible services, and NAS for Mattermost file storage. Read each row against your planned cluster design, since the high availability requirement removes local disk from any clustered forecast. Your growth estimate sets the capacity to buy, but the backend choice decides how that capacity is billed, shared and performance-tested.

BackendWhere files live and HA fitCost drivers and what to confirm
Local file systemFiles sit on the disk of one application server. Not suitable for a high availability cluster: the documentation says it will not work correctly and risks corrupting files.Low setup complexity for a single server. Confirm disk capacity against your growth forecast and plan how you will expand or migrate the volume later.
Amazon EFS or other mounted network file systemFiles live on a shared network file system mounted on each application node. Usable for clustering when mounted on every node, subject to the documented shared storage requirement.Usage-based storage and throughput charges from the provider. Confirm throughput and latency under peak upload and download load, and how the file system grows with your forecast.
Amazon S3Files live as objects in an S3 bucket that all nodes reach over the network. Meets the documented shared storage requirement for high availability.Storage, request and data transfer charges, which recur as files accumulate. Confirm bucket configuration, encryption, lifecycle rules and how retention affects object counts.
S3-compatible serviceFiles live as objects in a self-hosted or third-party S3 API endpoint reachable by every node. Meets the documented requirement when the API behaves as expected.Hardware, licensing or hosting costs for self-hosted stores, plus staff time to operate them. Confirm S3 API compatibility with Mattermost and capacity headroom.
NASFiles live on a network-attached storage appliance mounted on each node. Meets the documented shared storage requirement when mounted consistently.Appliance purchase or lease, support contracts and expansion costs, usually one-time plus recurring support. Confirm IOPS, latency and whether the vendor supports the mount options you need.
Growth headroomAny shared backend must hold the forecast plus the safety factor, since expansion may need downtime or a migration of existing files.Expansion is easiest to plan before go-live. Ask each option's provider how capacity grows and whether growth needs a maintenance window.

How local, EFS and S3 storage differ on performance under file load

Local file storage keeps attachments on the disk of the application server. It is the simplest backend to reason about because reads and writes never leave the host, so latency is governed by the local disk, the file system and the server's memory cache. That simplicity has a limit: Mattermost's high availability documentation states that a cluster requires shared storage on each node and that local file system storage will not work correctly there and risks corrupting files. Local storage therefore fits single-node deployments, and its performance headroom is capped by one machine's disk.

  • Upload and download latency: Measure attachment round trips from a client on the same network as the server and from a remote site, since local storage gives the lowest server-side latency but says nothing about the user's path.
  • Metadata operations: Time file listing, deletion and export jobs against a full directory tree, because large numbers of small files can slow operations even when raw throughput looks fine.
  • Throughput under concurrent users: Run parallel uploads at your forecast peak and watch disk queue depth and I/O wait on the server.
  • Capacity ceiling: Compare the peak write rate you measure with the free space and disk bandwidth you have, since local storage gives no way to add capacity without a migration.

Confirm with your server vendor and file system documentation how the disk handles sustained writes, and record the results so the forecast headroom reflects measured numbers rather than assumptions.

How to build a storage forecast from your own usage data

This sequence turns the documented sizing formula into a forecast built on your own measurements, so the capacity you buy for each storage backend rests on observed file volume rather than assumptions. Each step closes with a check you can run before the numbers go into a budget or a quote.

  1. Confirm the Mattermost version and sizing guidance

    Record the exact Mattermost server version you run or plan to run, and confirm which release line it belongs to, since monthly releases and Extended Support Releases have different support windows. Pull the sizing guidance published for that version from the server deployment planning documentation, and note the base server size and the per-user storage figures it uses. Check that the version is still supported for the period you are forecasting. The step is done when you have a written version, its support end date and the formula inputs in one document.

  2. Measure file volume and activity during a pilot

    Run a pilot with a representative group of users and record how many files are uploaded, their average size and how many messages carry attachments, using server metrics, your file store reports and a sample of channels. Measure over a period long enough to show normal work, such as a full business cycle, and state that period in the notes. Record active users, not only accounts, because the forecast depends on how many people actually post. The step is done when you have measured megabytes per active user for the pilot population.

  3. Assign each group to a usage profile

    Divide the expected user base into groups that share a work pattern, such as support staff who share screenshots, engineers who share logs and build artifacts, and office teams who mostly send text. Assign each group to the usage profile that matches its measured behavior, and use the pilot numbers to justify each assignment. Where a group does not fit a profile, record it as a separate line with its own assumption and mark it for review. The step is done when every planned user falls into exactly one group with a stated profile.

  4. Project user counts by year

    Build a yearly table of user counts for each group, starting from the current headcount and the rollout plan, and state which numbers come from HR or planning records and which are estimates. Keep the active user share separate from total accounts so the storage model uses the population that generates files. Ask the business owner to confirm the growth assumption in writing. The step is done when the table has one row per year and group, with sources marked for each figure.

  5. Apply the safety factor and calculate total volume

    Multiply the projected active users by the megabytes per user per month from each profile, sum the months across the retention period, add the base server size, and then apply your chosen safety factor. Record the safety factor and why you picked it, because reviewers will ask how it was set. Keep the arithmetic in a spreadsheet with each input in its own cell so that a change in one assumption updates the result. The step is done when you have a total volume per year with the safety factor shown separately.

  6. Convert volume to capacity for each backend

    Translate the total volume into capacity for each file storage option you are considering, such as local disk, a network file system like EFS, or Amazon S3. Local storage is not an option for a high availability cluster, which requires shared storage on Amazon S3, an S3-compatible service or NAS mounted on each node, so exclude local disk from clustered designs. Ask your storage team to confirm the performance characteristics of each shared option against your expected read and write patterns, since capacity and performance are separate checks. The step is done when each viable backend has a capacity figure and a performance note.

  7. Check the result against retention and backup copies

    Compare the capacity figure with your retention policy and with the number of backup copies of the file store, because every copy and every retained version adds to the storage bill. Confirm with your compliance owner which files must be kept and for how long, and whether legal hold changes the period. Add the backup copy count and its growth to the forecast, and note any object lifecycle rules you rely on. The step is done when the forecast shows primary and backup capacity separately.

  8. Compare forecast with measured growth

    After an agreed period of operation, compare the measured file volume with the forecast for the same period and record the variance for each usage profile. If a profile runs well above its assumption, revise its megabytes per user figure and recalculate the later years. Repeat the comparison on a schedule your team agrees, and keep the record with the sizing decision so that future planning starts from measured data. The step is done when the variance is documented and the forecast has a named owner who updates it.

Security and operational controls that change how much storage you keep

Retention, encryption, backups, deletion, capacity monitoring and approvals all change how many files Mattermost keeps and how long they stay. Each control shifts the forecast, so review them together before you fix a storage number.

Retention settings and stored files

Message and file retention policies decide how long attachments remain on the file store after their posts age out. A short retention window lowers the growth rate, while a long or unset window keeps every upload indefinitely. Confirm in the System Console which retention policies apply to your teams, and whether file deletion runs with post deletion. Then check whether your forecast assumes the same retention period.

Mattermost docs

Encryption and access on the file store

Files live on Amazon S3, an S3-compatible service, NAS or local disk, and each option carries its own encryption and access model. Encryption settings and bucket or share permissions do not change volume, but they determine who can read, copy or replicate the stored objects. Confirm encryption at rest, key ownership, and which service accounts can list or delete objects before you size replicas or snapshots.

Backups of the file store

Backups of the file store must match the database backup point, or attachments will reference files that no longer exist after a restore. Versioning or snapshots on the file store multiply the stored volume beyond the live file count. Ask your team to confirm the backup frequency, retention of old versions, and the storage cost of each copy, then add that multiplier to the forecast.

Deletion and legal hold effects

Legal hold and deletion behavior determine whether removed content actually leaves the file store. A hold can block deletion of posts and files for named users or channels, so storage keeps growing even when retention would otherwise purge them. Confirm how holds are applied, who can place them, and whether deleted files are removed from the file store or only hidden in the application. Record these results in the forecast as a separate line.

Monitoring of free capacity

Track free space on each file store and the growth rate of uploads over time, not only the total size. Set alert thresholds early enough to order and provision new capacity, and monitor the database and file store together so a stalled cleanup job does not go unnoticed. Confirm which metrics your monitoring stack already collects from the server and the storage platform, and who receives the alerts.

Who approves capacity changes

Assign one owner to approve storage increases, with a documented path for emergency requests. The approver should compare the current growth rate with the forecast, check retention and backup multipliers, and confirm budget ownership for the storage platform. Ask your team to define the review cadence and the evidence required for each request, so capacity changes follow a repeatable record that auditors can review.

When the storage forecast should trigger a high availability decision

A storage forecast should trigger a high availability decision as soon as the numbers show you will need more than one Mattermost application server. A high availability cluster runs redundant application servers, redundant database servers and redundant load balancers, and every application node must read and write the same files. Mattermost documents that this shared storage must be Amazon S3, an S3-compatible service or a NAS mounted on each node, and that local file system storage will not work correctly and risks corrupting files. So the moment the forecast points to a second node, the storage backend choice moves from a later tuning question to a day-one architecture decision. Confirm with your storage team which of those three options they can run, how they will meet your retention window, and what throughput and latency they can guarantee for uploads and downloads.

High availability is available only on the Enterprise and Enterprise Advanced plans, according to the Mattermost pricing page, so the forecast and the licensing discussion belong in the same review. Mattermost sells prepaid annual subscriptions based on seat licenses and does not publish prices, so ask sales for a written quote that states the seat count, the plan tier and any term conditions before you commit to a multi-node design. Ask the vendor to confirm that the plan you are quoting includes clustering for your exact deployment model. The storage forecast then becomes an input to two costs at once: the object or NAS capacity you provision, and the subscription tier that makes the second node lawful to run.

Revisit the forecast after each major plan change and after each step change in user count, such as a merger, a new business unit or a rollout to contractors. Record the date, the active user count, the average megabytes per user per month for your usage profile and the storage you actually consumed, then compare that against the projection. When the projected curve crosses the capacity you planned for, or when a new user group changes the usage profile, reopen the high availability question. The same review should check the Mattermost release schedule and the support dates for your current server version, since a planned upgrade can change how you stage the cluster.

Limits to confirm in your environment before you commit to a number

A storage forecast is only as good as the assumptions behind it. The cards below cover the places where those assumptions tend to break: version changes, migrated attachments, provider terms, growth that departs from the pilot, and where the data is allowed to live. Each one names who to ask before the number goes into a budget.

Coefficients change between versions

The megabytes per user per month figures in the formula are an estimate for a given usage profile and are not fixed across Mattermost releases. Changes to how files, previews, thumbnails or retained data are stored can shift the result after an upgrade. Ask Mattermost which coefficients apply to the exact server version you plan to run, and re-check them before each ESR or major version move.

Current ESR
v11.7
Server releases

Attachments from chat migrations

When you move history from Slack or another chat tool, attachments are handled through the import process, not copied in the background. The Slack export does not carry integrations, and the attachment volume can be far larger than the active user count implies. Ask your migration team how much file data the source export contains and whether it is counted in your baseline before you add migrated history to the forecast.

Slack migration docs

Object storage limits and pricing

Object storage and file service providers set their own request limits, lifecycle rules, egress charges and minimum storage durations. These terms change the real cost of a forecast even when the volume is correct. Ask your storage provider for current pricing for the region you use, any request or egress limits that could affect uploads and downloads, and whether versioning or replication multiplies the stored bytes.

Growth that departs from the pilot

A pilot with a small group rarely reflects how a company adopts a tool once it is announced. Adding a new team, a customer-facing channel or a file-heavy integration can change the per-user rate in a few months. Ask your data team to track actual monthly uploads per user from the pilot, split by team, and to model the top quartile of users as well as the average before you choose a safety factor.

Regional and residency constraints

Where files are stored determines which providers, regions and backup copies you may use. Data residency rules, sovereignty requirements and cross-border backup restrictions can rule out the cheapest storage tier or force a second copy in a different location. Ask your legal, privacy and security teams which jurisdictions apply to file content, whether backups count as storage for those rules, and which regions your provider offers for that content.

Shared storage for clustered nodes

A high availability cluster needs shared file storage that every application node can mount, and local disks do not meet that requirement. The storage type you choose affects latency, throughput and cost in ways the per-user formula does not capture. Ask your platform team to benchmark the candidate option (S3, an S3-compatible service or NAS) under your expected concurrent load, and confirm the setup against the Mattermost high availability documentation.

High availability docs

Questions buyers ask about forecasting Mattermost storage

How much effort does a Mattermost storage forecast take, and who should own it?

The effort depends on how much usage data you already have and how many environments you need to forecast. The forecast needs one accountable owner who can supply user counts, planned growth and retention rules. In most organizations that is a platform or IT operations lead, with a storage engineer checking the arithmetic against the file store you will actually run. Ownership should sit with the team that pays for the storage and gets alerted when it fills. Plan to revisit the forecast after each major onboarding wave or retention policy change, because the inputs drift. Ask any partner to state the expected effort and the inputs you must provide in writing before work starts.

Can our own team forecast Mattermost storage without outside help?

Yes, a team with PostgreSQL and storage administration experience can build the forecast internally. The method is a formula over a few inputs: a base server size, a megabytes per user per month figure for each usage profile, user counts, and a safety factor. The hard part is getting defensible inputs. Your team must decide which usage profile fits each user group, measure how many files people actually upload, and confirm how long files are kept. Outside help is most useful for validating assumptions against a pilot, testing the chosen storage backend under load, and documenting the result for an architecture or risk review. Confirm with Mattermost which figures apply to your release before relying on any value you find elsewhere.

How long does a pilot need to produce usable Mattermost storage data?

A pilot needs to cover a full cycle of your real work, not a short test window. Upload activity varies with the calendar, project launches, month-end reporting and new team onboarding, so a pilot that misses these peaks will understate growth. Start by agreeing with the business which groups join the pilot and when. Then measure file counts and sizes per user and per usage profile, and compare the results with the formula. The duration belongs in the written scope, tied to the business cycles you need to capture, along with a clear list of the data the pilot will return. Ask for the pilot length before you accept any quote.

What usage data and storage access does a Mattermost forecast need from us?

The forecast needs four groups of input:

  • Active user counts by group, plus expected hiring and onboarding growth.
  • Upload activity per user, from server metrics or database queries your team approves.
  • Storage access: the file backend, bucket or mount path, and read permissions to report on usage.
  • Retention and deletion rules, including any legal hold or compliance requirement.

If you plan a high availability cluster, every node must reach shared file storage such as Amazon S3, an S3-compatible service or NAS, because local file storage will not work correctly in a cluster. Review the Mattermost high availability cluster docs before choosing the backend.

What drives Mattermost storage costs up or down over time?

Three levers matter most. Retention sets how fast the file store grows, because every file kept for longer adds to the total. The backend determines the cost model: local disk, network file storage, and object storage each differ in price, performance and day-to-day operations, so compare them with your own latency and throughput needs. Copies multiply capacity, since backups of files and database snapshots, plus replicas used for high availability, each consume storage. The safety factor adds headroom at a cost you pay recurrently. Setup work is mostly one-time, while storage, backup capacity and monitoring recur every month. Ask which of these levers the forecast models and which it leaves to you.

What should we ask for in a quote for a Mattermost storage forecast?

Ask for a written scope that lists the inputs you must supply, the environments covered, the pilot length and the data the pilot returns. The deliverables should be named: the forecast model, a usage profile mapping, the backend comparison, and a review session. Confirm whether backend performance testing is included, who performs the work, and what is excluded, such as storage implementation or Mattermost licensing. Ask whether the engagement is fixed scope and how changed inputs are handled. Separately, ask what recurring work costs, such as periodic re-forecasting. Mattermost sells subscriptions based on seat licenses and publishes no public prices, so licensing will be quoted separately from the forecast.

How DeployOpen scopes and delivers a Mattermost storage forecast

DeployOpen treats a storage forecast for Mattermost as a written, fixed-scope piece of work. We confirm your server size, usage profile, user counts and storage backend, then deliver a forecast your infrastructure and finance teams can review and maintain. The method and deliverables are agreed before any work starts.

How we scope

  • Confirm current user counts, growth expectations and the usage profile each user group follows.
  • Record the storage backend in use, whether local disk, Amazon EFS or Amazon S3, and its performance limits.
  • Agree in writing which time horizons, safety factor and scenarios the forecast will cover.

How we build

  • Build the forecast model from the documented formula using your inputs, with each assumption recorded.
  • Check the model against your current file storage footprint and flag any gap between estimate and reality.
  • Test storage throughput on the chosen backend so capacity limits are identified alongside size limits.

How we hand over

  • Deliver the forecast workbook, assumptions log and a short written explanation for your infrastructure team.
  • Document the review trigger points, such as user growth or a change in usage profile, that require a new forecast.
  • Walk your engineers through how to update inputs and rerun the model without DeployOpen involvement.

How we support

  • Offer ongoing support and periodic forecast refreshes as a retainer, scoped in writing.
  • Review the forecast when Mattermost upgrades, backend changes or major user onboarding are planned.
  • Confirm with your Mattermost plan and vendor documentation any feature or limit that affects the forecast.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.