Mattermost for critical infrastructure and energy

How utilities and critical infrastructure operators plan a self-hosted Mattermost for isolated networks, out-of-band incident channels, Calls and compliance evidence.

On this page

Mattermost for critical infrastructure and energy: where it fits and what changes

Control room and field crews need to keep coordinating during an incident, and the obligations that govern them, such as the NERC CIP Reliability Standards in the United States and NIS2 in the EU, shape where data and software are allowed to run. Mattermost can be self-hosted inside the operator's own networks, so the messaging service sits within the same boundary the operator already defends. The work is planning that boundary, the identity behind it, the retention rules around it and the evidence that a compliance team can review. Mattermost runs as a single Linux binary with PostgreSQL as its database, which keeps the footprint small enough to place in a segregated zone. Air-gapped deployment is a feature of the Enterprise Advanced plan, so an operator that needs disconnected operation should confirm the plan level and the deployment topology before choosing the platform.

The first decision is which network zone hosts the server, the database and the file storage, and how that zone relates to the Electronic Security Perimeter that CIP-005-7 defines for high and medium impact BES Cyber Systems. Messaging that is not itself a BES Cyber System still needs a documented position, so the compliance lead should confirm with the team that owns the CIP program whether the Mattermost servers fall inside or outside the perimeter and what access paths cross it. Identity is the second decision. Single sign-on and directory sync are available from the Professional plan according to Mattermost's pricing page, but the operator must decide whether the identity provider itself is reachable from the isolated zone. Retention and evidence come last. The team should define retention periods, export procedures and who can place legal holds before go-live, because those answers determine what an auditor or regulator will ask to see.

Which industry requirements shape the Mattermost build

This table maps each industry requirement to the decision it forces on a Mattermost build. Read each row as a question your team must answer before installation, not as a statement of what the law allows. The main takeaway is that impact classification and remote access rules often decide where Mattermost may run at all.

Requirement and sourceWhat the team must decideBuild consequence for Mattermost
CIP-002 impact classification (NERC CIP)Which BES Cyber Systems are high, medium or low impact, and which environments sit near themConfirm with compliance whether any Mattermost node, Calls relay or log forwarder would sit in or next to a high or medium impact environment before choosing a host location
CIP-005 Electronic Security Perimeter and Intermediate System (NERC CIP)Whether Mattermost traffic crosses the ESP boundary and how interactive remote access reaches itPlace the server outside the perimeter where possible, and route any remote user access through the required Intermediate System with encryption and multi-factor authentication
CIP-013 supply chain risk management (NERC CIP)Vendor incident notification, vulnerability disclosure and software integrity checks for Mattermost and its pluginsDocument how binaries, plugins and container images are verified before import, and how vendor remote support sessions are approved and disabled
CIP-011 information protection (NERC CIP)How BES Cyber System Information is classified and where it may be stored or sharedSet channel naming, file upload and retention rules so operational data does not spread into general channels, and confirm export and backup locations
NIS2 Annex I energy and water sectors (Directive (EU) 2022/2555)Whether your entity is in scope as an operator in electricity, oil, gas, district heating or drinking and waste waterMap which Mattermost users and incident workflows fall under your NIS2 obligations, then confirm incident reporting steps and log retention with your legal and security leads
Commission Delegated Regulation (EU) 2024/1366 cross-border electricity flowsWhether your electricity operations exchange data or control signals across borders under the network codeIf cross-border coordination is in scope, decide which partner channels are federated, which are separate instances, and how each partner keeps control of its own data

How Mattermost fits inside an operational technology boundary

Mattermost should normally sit outside the BES Cyber System and its Electronic Security Perimeter, and the operator's impact analysis under CIP-002 is the document that confirms or overturns that default. The question to settle with your architects is which network segment hosts the Mattermost server: a corporate zone, a dedicated IT zone, or a separate segment reached through controlled paths. Placing it inside the ESP would bring the messaging platform into the scope of CIP-005 and the controls around Interactive Remote Access, so any decision to host it there should be made deliberately, with the compliance lead in the room. Ask who owns the firewall rules between the Mattermost segment and operational zones, which ports are open, and whether operators in control rooms need any path into the platform at all.

High availability is the first architectural constraint to resolve. A Mattermost cluster needs shared file storage on Amazon S3, an S3-compatible service or NAS mounted on each node, because local file system storage will not work correctly and risks corrupting files (Mattermost high availability cluster-based deployment). Your team should confirm whether that storage can live inside the same boundary as the server, how it is backed up, and whether it creates a dependency that a grid event could take down with the messaging service. Read and search replicas also need placement decisions, since they add database hosts that must sit in the same trust zone as the primary. High availability is available only on the Enterprise and Enterprise Advanced plans, so confirm the licensed plan before the architecture is drawn, and ask Mattermost to confirm which features your plan includes.

Configuration that matters for utilities and critical infrastructure

Utilities and critical infrastructure operators tend to face the same questions before any Mattermost install: where the server runs, how people sign in, and what happens when the main network is down. The cards below cover the configuration decisions that shape those answers and the checks to run before go-live.

Isolated deployment and offline supply chain

Decide whether the Mattermost server, database and clients sit on a network with no internet path, and plan how every server image, package and plugin reaches that network. Air-gapped deployment is listed for the Enterprise Advanced plan, so confirm the plan level before design starts. Build a repeatable transfer process with hash checks and a record of each artifact, because CIP-013-2 expects software integrity and authenticity verification for vendor software and patches. Ask your vendor to confirm which offline install steps are supported for your version.

Deployment planning docs

Workforce SSO and AD/LDAP sync

Connect Mattermost to the identity provider your operators already use, through SAML, OIDC or AD/LDAP user sync, so access follows joiner and leaver processes. SSO and AD/LDAP sync are included from the Professional plan, according to Mattermost's pricing page. Confirm that accounts are removed when people leave the organization, and that MFA is enforced at the identity provider. Test sign-in from the isolated network, since a dependency on a directory outside the enclave can block access during an outage.

SAML SSO guide

Separate out-of-band instance for incidents

Run a second, independent Mattermost instance that stays available when the primary network, identity provider or domain is compromised or down. Pre-provision named accounts for control room staff, store recovery credentials offline, and rehearse logins on a schedule. Keep this instance off the primary directory where possible, and document who can invoke it. Review what this instance will hold, since incident channels often contain sensitive system details that need the same controls as the primary deployment.

Calls with self-hosted media and TURN

Calls media is the path most likely to leave the boundary by accident, so design it on purpose. Host the Calls media service inside your network and plan TURN servers that relay traffic only between endpoints you control. Map which subnets, ports and clients need access, and test calls from every site and device class you support. Confirm with your network team that no external STUN or TURN service is reachable by default. The Mattermost Calls guide covers network design, TURN and monitoring.

Retention, audit and records settings

Set message retention, file retention and audit logging to match your records schedule and the evidence your compliance team needs for NERC CIP and related reviews. Decide who can change these settings, and forward audit records to storage that operators cannot edit. Confirm whether legal hold and archiving features are available on your plan. Document which data types are excluded so that sensitive operational detail is not kept longer than your policy allows.

SIEM, Wazuh and Security Onion alert feeds

Route Mattermost audit events and selected alerts into the monitoring tools you already run, such as a SIEM, Wazuh or Security Onion, so detections on the chat platform sit alongside network and endpoint monitoring. Use webhooks and integrations documented for self-hosted servers, and keep alert content free of credentials and sensitive operational data. Before installing any plugin or integration, review its code and dependencies, then test it in a staging copy of the isolated network. Plugin code should not enter the isolated network without that review.

Rollout phases for an energy operator

The sequence moves from impact classification and architecture to a tested, out-of-band Mattermost instance that the operator can upgrade on a planned schedule. Each phase closes with a written output that compliance, OT and operations owners can review before the next phase starts.

  1. Confirm scope and impact classification

    Compliance and OT owners list the systems, sites and users that Mattermost will serve, and confirm whether any planned use touches BES Cyber Systems or their supporting assets. Your NERC CIP or compliance lead decides how the platform is categorized and whether it sits inside or outside any Electronic Security Perimeter. The step closes with a signed scope statement that names the in-scope networks, user groups and out-of-scope use cases.

  2. Select architecture and plan

    The architecture team maps the required deployment model to the Mattermost plan levels in the pricing documentation, including whether air-gapped deployment, high availability or FIPS 140-3 compliance are needed. They decide the placement of the database, file storage, proxy and any Calls components, and confirm which features need extra services. The output is a reviewed architecture diagram and a plan selection recorded in the statement of work, with licensing terms confirmed with Mattermost sales.

  3. Prepare and verify offline artifacts

    Because the target network may have no internet access, the team assembles every server binary, container image, package and plugin on a staging host outside the boundary. Each artifact is checked against the publisher's checksums and signatures before it crosses the boundary, and the transfer is logged under your supply chain procedure. The step closes with a manifest of artifacts, hashes and transfer records that the compliance team can audit.

  4. Build identity and access controls

    The identity team connects Mattermost to the organization's approved identity provider, sets MFA requirements, and defines how accounts are provisioned for control room, field and vendor users. Access groups, channel permissions and admin roles are mapped to job functions, and deprovisioning steps are tested with a sample account. The output is a tested access matrix and a sign-in test record showing that each role gets only the access it needs.

  5. Run a pilot with control room and field staff

    A limited group of control room operators and field staff uses the platform for normal shift communication, file sharing and any planned call workflows. The team tracks login failures, file transfer problems, notification delivery and client behavior on site connections, and records each issue with an owner and a fix. The pilot closes with a findings list, agreed changes and a sign-off from operations leadership before wider rollout.

  6. Exercise the out-of-band incident instance

    The team runs a tabletop or live exercise in which the primary network or identity provider is treated as unavailable, and responders use the separately hosted Mattermost instance to coordinate. The exercise checks pre-provisioned access, contact lists, runbook location, backup communication paths and the handling of records created during the outage. The output is an exercise report with timings, gaps, corrective actions and a retest date agreed with the incident response owner.

  7. Hand over with a tied upgrade plan

    Operations, security and compliance owners receive the runbooks, configuration baseline, artifact manifest, access matrix and exercise report. The handover includes an upgrade plan that places each server release against the monthly release cadence, and it treats the Extended Support Release track and its end-of-support dates as the fixed points for long-term change control. The step closes when the named owners accept the handover in writing and the first upgrade window is scheduled.

How the isolated Mattermost, identity and out-of-band layers connect

The diagram starts at the corporate network, where users and the primary identity provider sit, and shows that the Mattermost zone reaches them only through a controlled SSO path. Inside that zone, application servers use PostgreSQL and shared file storage, and Calls media stays on local paths. The out-of-band instance has its own identity path and no link to corporate identity. The OT boundary has no direct chat path, and signed packages and images cross only through the offline transfer point. Check each arrow against your own firewall and identity design.

Trust boundaries between corporate, Mattermost, out-of-band and OT zones, with the offline transfer point.

Compliance considerations for CIP, NIS2 and related frameworks

Can Mattermost logs and settings serve as evidence for CIP-005 access controls?

Mattermost settings and logs can supply evidence for some of the access control questions CIP-005-7 raises, but they do not satisfy the standard by themselves. CIP-005-7 requires high and medium impact BES Cyber Systems to sit inside an Electronic Security Perimeter, and it requires all Interactive Remote Access to pass through an Intermediate System with encryption and multi-factor authentication. Mattermost is a collaboration tool, so it is usually not the BES Cyber System itself. Where a Mattermost server is in scope, the useful evidence is the configuration showing SSO and MFA enforcement at the identity provider, the network placement of the server relative to the perimeter, and access logs. Confirm with your auditor and your CIP compliance team how they classify the server before you build the evidence pack. The NERC CIP-005-7 standard is the starting point for that classification.

How does CIP-011 information protection apply to Mattermost data?

CIP-011-3 governs how BES Cyber System Information is identified and protected, so any Mattermost channel, file or export that carries that information falls under its handling rules. The practical controls are to keep BCSI out of general channels, restrict who can join sensitive channels, set retention rules that match your records policy, and control file sharing and exports. Mattermost's compliance features, including retention and legal hold, can help you show how records were kept and deleted, but you need a written rule that says what counts as BCSI and where it may be posted. Ask your CIP team to define that rule first, then test it against a sample of channels. The NERC CIP-011-3 standard sets out the control IDs your evidence should map to.

What does CIP-013 vendor risk mean for a self-hosted Mattermost deployment?

CIP-013-2 requires a supply chain risk management plan that covers vendor incident notification, vulnerability disclosure, software integrity and authenticity verification, and coordination of vendor-initiated remote access. For Mattermost, that means documenting how you verify the server binaries and patches you install, which release channel you follow, how you track vendor security notices, and how Mattermost support access is granted and removed. Mattermost publishes server versions on a monthly schedule, so your plan should state which release and Extended Support Release you run and when each reaches end of support. The plan must be reviewed at least every 15 calendar months, so schedule that review as a recurring task rather than a one-time document.

When do CIP-015 and virtualization changes take effect for Mattermost hosting?

CIP-015-1 on internal network security monitoring is enforceable from 1 October 2028, and FERC Order No. 919 approved 11 revised CIP standards that accommodate virtualization, effective 1 July 2028. Those dates matter for planning because a Mattermost deployment built now may run in a virtualized or containerized environment that will fall under the revised standards during its service life. Design the logging and network monitoring for the server now so it can feed internal network monitoring later, including flow records from the Mattermost network segment and centralized server logs. Confirm the applicability and the required evidence with your compliance team, since the standards' scope depends on how your entity is registered and classified.

Does NIS2 require a specific incident reporting process from Mattermost?

NIS2 requires essential and important entities in high-criticality sectors, including energy and drinking water, to have incident handling processes, and Mattermost can support the communication part of those processes. The directive itself, Directive (EU) 2022/2555, sets the obligations, and your national transposition law sets the reporting deadlines, so confirm those with your national competent authority. In Mattermost, you can build a dedicated incident channel, define who joins it, keep a timestamped record of decisions, and export the conversation for the report. Pre-define the channel names, roles and escalation paths before an incident, and test them in a drill. Keep the reporting content itself out of general chat until it is approved.

Is FIPS 140-3 compliance included in Mattermost Enterprise?

FIPS 140-3 compliance is an Enterprise plan item, according to the Mattermost pricing page, and it is not part of the Professional plan. High availability clustering is also an Enterprise item, and air-gapped deployment is listed in Enterprise Advanced. If your operator's controls require FIPS-validated cryptography, confirm the plan, the image you deploy and the migration path to FIPS-compliant images before you commit to a design. Mattermost's documentation covers migration to FIPS-compliant images, so ask your vendor to confirm which image and which cryptographic modules apply to your version. Your auditor will also want to see the version and configuration you actually run.

Which standards does the auditor apply, and what does DeployOpen provide?

Confirm the standards your auditor applies before you design the evidence set, because CIP, NIS2, national rules, and your own internal policy each set different expectations. DeployOpen plans, implements, hardens, backs up and documents self-hosted platforms in your infrastructure, and it prepares the systems, controls and evidence that a compliance assessment will review. DeployOpen does not issue audit reports, attestations or certifications. Those come from independent auditors, certification bodies or the relevant regulator. A fixed-scope engagement can define which controls and evidence are delivered, and your auditor decides whether they meet the requirement.

What should a utility ask for in writing before engaging a partner?

Ask for a written scope that lists the Mattermost version, plan level, deployment location, network placement, identity provider, logging targets and the evidence artifacts to be delivered. Confirm which CIP standards and which NIS2 obligations the work is intended to support, and what the partner will not claim, including that it will not issue audit reports or certifications. Ask how controls will be tested, how changes are tracked, and who maintains the evidence after handover. DeployOpen's engagements are fixed-scope, so deliverables and timelines are agreed in writing before work starts, and any quote follows from that written scope.

What to ask a partner before a Mattermost energy project starts

Ask for a written scope that answers five questions before any build work begins. First, the impact classification inputs: which systems the operator considers BES Cyber Systems, and what evidence supports a high, medium or low classification under CIP-002-5.1a, since that decides which controls reach Mattermost at all. Second, the network and offline transfer design: where the Mattermost servers sit relative to the Electronic Security Perimeter, how Interactive Remote Access is routed, and exactly how packages and container images cross the isolation boundary. Ask the partner to name the controls it uses to verify software integrity and authenticity for each transfer, which maps to CIP-013-2.

Second, ask for the plugin and integration inventory with a review status for each item. Every plugin, webhook, bot and external service should appear with its version, its data flows, and whether it has been approved for use on an isolated network. Confirm whether the Mattermost Calls design avoids third-party media paths, and whether any AI features are in scope. Third, request the retention and evidence mapping: which Mattermost retention, audit and export settings support each control the operator must evidence, and who owns the records. Confirm with the vendor and your compliance team which settings apply to your plan level, since not every capability is available on every tier.

Finally, require a retest plan. It should state what is tested after go-live, after each upgrade, and after any plugin change, and who signs off the results. Cost follows from scope, not from a list price, because Mattermost publishes no public prices and sells prepaid annual subscriptions based on seat licenses. Ask the partner to price each driver separately: the plan level (high availability and FIPS 140-3 compliance sit in Enterprise, air-gapped deployment in Enterprise Advanced), the number of seats, the number of sites, and the isolated infrastructure you must buy or supply. Separate one-time build work from recurring subscription, upgrade and testing costs, so the quote can be compared with your own team's effort.

Questions utilities ask before hiring help with Mattermost

How much effort and cost should we expect for a Mattermost deployment?

Cost depends on scope more than on the software, which is open source. The main line items are the DeployOpen engagement, which is fixed-scope and quoted from a written scope, your infrastructure, and the Mattermost subscription if you need plan-level features such as high availability, FIPS 140-3 compliance or air-gapped deployment. Mattermost sells Professional, Enterprise and Enterprise Advanced plans as prepaid annual subscriptions based on seat licenses, and its pricing page lists no public prices, so ask Mattermost for a quote. Drivers include the number of nodes, the identity integration, the storage design, whether Calls is in scope and how much testing and documentation your compliance team requires. Ask for a quote that separates one-time build work from recurring support, upgrades and subscription fees.

How long does a Mattermost deployment take for a utility?

The timeline is set by the approval path inside your organization more than by the installation itself. The build depends on the target architecture, whether you need high availability, which requires redundant application servers, redundant database servers and redundant load balancers on Enterprise or Enterprise Advanced, and whether shared file storage on S3, an S3-compatible service or NAS is available on every node. Other gating items are change control for OT-adjacent networks, security review of each package carried across an isolated boundary, and any testing your asset owners require. A fixed-scope agreement fixes the timeline in writing before work starts, so ask for milestones tied to those gates.

What does our team need to provide before work starts?

Your team provides the environment and the decisions. Expect to supply network segment definitions and firewall change access, DNS and certificate authority details, identity provider configuration for SAML or OIDC, Active Directory or LDAP access for user sync where used, and storage for attachments. You also need named owners for approvals, a backup target, a secure path for moving packages and container images across the boundary, and a decision on which plan supports your required features. For a CIP-scoped environment, bring the asset classification and any Electronic Security Perimeter documentation that already exists, so the design can be checked against it.

Can a small utility team run Mattermost internally after go-live?

A small team can run a single-node or modest deployment if it has Linux, PostgreSQL and proxy skills, a tested backup routine and a documented upgrade process. It becomes harder when high availability, search replicas, air-gapped package flows and Calls are involved, because each adds components that must be monitored and patched. Decide early which tasks stay internal, such as user management and channel administration, and which need an outside partner, such as major upgrades, incident drills and compliance evidence. DeployOpen also offers ongoing support, upgrades and continuous testing as retainers, which you can compare with keeping the work in-house.

Can Mattermost run fully air-gapped, and which plan includes it?

Mattermost lists air-gapped deployment as an Enterprise Advanced plan feature on its pricing page, so confirm the plan with Mattermost before you design around it. Mattermost also documents a separate starting point for air-gapped, coalition network and compliance-framework deployments in its deployment planning docs. In an isolated network, plan how you will move the server binary or container images, the PostgreSQL packages, operating system updates and plugins across the boundary, and how each item will be verified for integrity and authenticity, which is the kind of control CIP-013-2 addresses for vendor software. Confirm with Mattermost which features need external services, since a feature that calls a cloud API may not work fully offline.

How do incident channels stay independent of the primary identity provider?

Keep a separate Mattermost instance, or at least a separate sign-in path, that does not depend on your primary identity provider, so responders can still reach each other during an identity outage. Pre-provision named responder accounts with credentials stored offline, keep the instance on its own network segment with reachable routes to the people who need it, and test the access path on a schedule. The SSO documentation covers SAML, which you can configure for normal use, but the break-glass path should not rely on the same provider. Document who can enable the path, how accounts are revoked after an incident, and how messages are preserved for review. This topic is covered in more depth in the out-of-band incident response guidance.

How do we plan upgrades around monthly releases and ESR end-of-support dates?

Mattermost releases a new server version in binary form on the 16th of each month, and an Extended Support Release is supported for a longer period. Mattermost v11.7 is an ESR, released on 2026-05-15 with support ending 2027-05-15, while v10.11 reached end of life on 2026-08-15. For a utility, the usual choice is to run an ESR and plan an upgrade before its end-of-support date, rather than follow every monthly release. Build a test environment that mirrors the isolated network, verify each package before import, and schedule upgrades outside peak operations. Check the server releases page for current support dates before you set the plan, since support windows can change.

How DeployOpen works on this

DeployOpen plans, implements, hardens, documents and supports self-hosted Mattermost inside the infrastructure you control, including isolated and air-gapped networks. For critical infrastructure and energy operators, the work starts with the network and compliance boundary, then moves through a tested build and a handover your operations and compliance teams can review.

How we scope

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • The written scope maps which networks, identity sources and Calls paths Mattermost will touch, and which stay out of bounds.
  • Confirm the air-gapped requirement early, since Mattermost lists air-gapped deployment only in its Enterprise Advanced plan.

How we build

  • Build the server, PostgreSQL database, file storage and proxy inside your own data center or isolated enclave.
  • Stage every server binary, container image and plugin on approved media and verify its integrity before it crosses the boundary.
  • Configure SSO, access control and audit logging so your compliance team can review each control in the deployed system.

How we hand over

  • Deliver architecture records, configuration baselines and an evidence pack mapped to the controls your assessor will ask about.
  • Document the offline upgrade procedure, including how monthly and Extended Support Releases are staged and tested before rollout.
  • Run a handover walkthrough with your operators, so on-call staff can restore service and run an out-of-band channel without us.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retesting covers configuration drift, new server releases and changes to identity or network boundaries.
  • Ask any partner to confirm in writing which support, upgrade and evidence tasks sit inside the quote and which recur.

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.