Matrix for energy and utilities

Self-hosted Matrix gives energy and utility operators incident communication and federation under their own control. This page covers the requirements, build choices and what to ask a partner.

On this page

Matrix for energy and utilities: why operators plan incident chat around federation

Energy and utility operators need incident chat that keeps working when a control room, a field crew and a neighboring operator are all trying to coordinate during an outage. A self-hosted Matrix homeserver can keep that incident communication inside operator infrastructure and federate only with partners the operator has named. The design work is in choosing which domains may federate, not in the messaging features themselves. Element lists utilities among the sectors it serves, describing its offering as secure, resilient real-time communication for critical infrastructure, but that listing describes a vendor's market, not a compliance outcome.

Planning starts with four decisions. The first is the server name, which fixes how users and rooms are identified for the life of the deployment, so it should be settled before any user is created. The second is the federation policy: the Synapse federation_domain_whitelist setting restricts federation to listed domains, and an empty list disables federation entirely. The documentation also recommends firewalling the federation listener, so network policy and homeserver policy must agree. The third is identity, where operators decide whether accounts come from their existing identity provider through Matrix Authentication Service or Synapse's own single sign-on options. The fourth is resilience, including database, backup, worker and recovery planning for a service that must work during an incident.

The platform does not make an operator compliant with anything. NERC CIP obligations for US operators and NIS2 obligations for EU operators apply to the organization and its systems, and they are monitored through audits, inspections and information requests rather than a certificate. Ask your compliance lead which CIP or NIS2 requirements touch incident communications, such as how the chat system is classified, where it sits relative to the operator's perimeter and how vendor access is controlled. Confirm each answer against the applicable standard and your own environment before you treat the Matrix deployment as part of the evidence.

Which energy regulations shape a Matrix build and what each means for the design

This table maps the US and EU energy cybersecurity rules to specific Matrix design choices such as hosting, vendor access, logging and federation scope. Read each row as a question to answer before the build starts, not as a compliance finding. Note that NERC CIP has no certificate and NIS2 creates no certificate of compliance, so the design must be evidenced, not certified.

Regulation or requirementWhat it asks forDesign decision for Matrix
NERC CIP-005-7 (electronic security perimeter)Routable assets of high and medium impact BES Cyber Systems sit inside an Electronic Security Perimeter, and interactive remote access passes through an Intermediate System with encryption and multi-factor authenticationDecide whether the homeserver, MAS and database fall inside a defined perimeter, and route all operator access through a controlled intermediate host with MFA
NERC CIP-013-2 (supply chain risk)Supply chain risk management plans covering vendor incident notification, vulnerability disclosure, software integrity verification and vendor-initiated remote access, reviewed at least every 15 calendar monthsDocument who at Element, the implementer or any bridge vendor may access the deployment, verify release artifacts before install, and set notification terms in the contract
NERC CIP-011-3 (information protection)Protection of BES Cyber System Information through access controls and handling procedures for information stored, transit and disposed ofLimit message content and metadata held on the server, set retention and erasure rules, and decide whether operational data may be stored in rooms at all
NERC CIP-012-2 (real-time data availability)Protection of the availability of real-time data exchanged between Control Centers, enforceable from 1 July 2026Treat Matrix as an alerting path, not a control path, and design redundant homeservers and out-of-band paths so incident chat survives a single site loss
CIP-002-5.1a impact classificationSorts BES Cyber Systems into high, medium and low impact using bright-line criteria in Attachment 1Confirm with your compliance team which impact category the operating environment falls under before deciding whether Matrix may sit near those systems
NIS2 Annex I (energy)Electricity, district heating and cooling, oil, gas and hydrogen are high-criticality subsectors, with essential or important classification under Article 3Confirm your entity classification with the national authority, since it sets supervision intensity and the depth of evidence expected for the messaging service
Delegated Regulation (EU) 2024/1366 (cross-border electricity)Sector-specific cybersecurity rules for cross-border electricity flows, supplementing Regulation (EU) 2019/943If operators in different countries share incident chat, agree on a common federation policy, trusted server list and shared rules for who may join rooms
Federation scopeYour regulator does not dictate federation settings; the design choice is yours to documentUse federation_domain_whitelist to list only partner operators, and firewall the federation listener so unlisted domains cannot connect
Certification statusThere is no CIP certificate and no NIS2 certificate of compliance; evidence is assessed through audits, spot checks, inspections and information requestsPlan evidence collection (configs, access logs, change records, test results) rather than seeking a certificate for the Matrix deployment

Which Synapse, MAS and ESS settings matter for utility incident chat

Incident chat for an operator depends on a handful of decisions made early: how users and rooms are named, who can federate with the server, how staff sign in, and whether the service survives a component failure. The cards below cover those decisions in the order a platform team is likely to face them, with the checks to make before a utility relies on the system during an outage.

Server name and delegation

The server_name setting fixes how user IDs and room IDs are identified, so it cannot be treated as a temporary value. Federation runs on port 8448 by default, and delegation can serve an address such as @user:example.com from another host on port 443. Decide the naming scheme and the delegation path before the first user is created, and confirm with your network team which ports reach the federation listener from partner operators.

Synapse federation docs

Federation allow list and isolation

The federation_domain_whitelist setting limits federation to listed domains, and an empty list disables federation entirely. Operators that need only internal incident chat can start with an empty list and open specific partner domains later through a documented change. Pair the setting with firewall rules on the federation listener, because the Synapse documentation recommends both controls rather than relying on the setting alone.

Configuration manual

Operator identity provider sign-in

Staff should sign in with the identity provider the operator already audits, such as Keycloak, Microsoft Entra ID or Authentik. Matrix Authentication Service uses OpenID Connect upstream and does not support SAML directly, so a SAML-only directory needs a bridge such as Dex. Synapse itself can use oidc_providers, saml2_config or CAS. Confirm who can create accounts, how leavers are removed, and whether account deletion in the directory reaches Matrix.

MAS upstream providers

Workers and Redis for resilience

A single Synapse process is a single point of failure for incident chat. Worker processes split client, federation and event traffic, and all processes connect to Redis, which relays replication between them. Ask the vendor or your platform team to state which worker types run on separate hosts, how Redis is made highly available, and how traffic fails over during a node loss. Test these paths before an incident, not during one.

Synapse workers docs

PostgreSQL version floor

Synapse recommends PostgreSQL for production, and Synapse 1.143.0 and later require PostgreSQL 14 or newer. Upgrade notes also warn that rolling back can be difficult because of database schema changes. Before adopting a release, check the database version on every host, plan the database upgrade as its own change, and take a restore-tested backup first. Confirm the Python floor as well, since 1.142.0 and later require Python 3.10 or newer.

Synapse upgrade notes

ESS Pro for professional operation

Element Server Suite Pro is the professional route, deployed on Kubernetes with Helm charts and including Synapse Pro, MAS, LDAP and SCIM integration and auditing. Community editions are intended for non-professional use and evaluations. Ask whether the support model, upgrade cadence and audit output match the operator's change management and evidence requirements, and whether your Kubernetes team can run it inside your own networks.

Bridges as a policy decision

Bridges connect Matrix rooms to Signal, email, Slack and other networks. For utility incident chat, a bridge moves operational messages outside the operator's access and logging controls, so it should be approved as a policy decision rather than enabled by default. If a bridge is approved, document which rooms it touches, who administers it, and how its traffic is retained and monitored.

How federation between operators stays limited to named partners

Federation should be limited to a named list of partner domains before any operator account is created. On a self-hosted Synapse homeserver, the federation_domain_whitelist setting lists the domains allowed to federate with your server, and an empty list disables federation entirely. A utility that needs to talk only to its transmission operator, its regional coordinator and a mutual-aid partner would list those three domains and nothing else. Users are addressed by their full Matrix IDs, so an illustrative account such as @alice:energy.gov would be reachable from your server only if energy.gov is on that list. Element's government material uses this same kind of address pattern to show cross-organization federation, but the names in your list must come from your own partner agreements, not from examples. Confirm each domain with the partner's security owner and record the reason for it.

The allowlist is only half of the control. The Synapse documentation recommends also firewalling the federation listener, which uses port 8448 by default unless delegation moves it, so that only the approved partner networks can reach it. The two layers must describe the same set of domains. If the firewall admits a partner that the allowlist omits, the homeserver will still refuse the traffic, which is safe but generates confusing failures. If the allowlist names a partner whose hosts the firewall blocks, rooms will appear to stall. Build both from one source file, test each partner pair in a staging environment, and keep the change record that links the two.

Federation changes the trust boundary of the messaging system, so the list should be approved by the OT security owners and not only by the team that runs the homeserver. Any partner domain on the list can send events into rooms your staff use, and an operator's compromise becomes a path into your chat. Ask the OT owners to review the partner list against your Electronic Security Perimeter and incident communication plans, and to confirm whether any traffic through the federation listener is in scope for your NERC CIP or NIS2 obligations. Set a review date for the list and a removal procedure for partners who leave the arrangement.

How a utility rollout moves from design to tested incident drills

The sequence moves a Matrix deployment from asset scoping through a hardened, tested build to a pilot, a drill with partner domains and handover, so the operator ends with a server it can run and show to its auditors. Durations and staffing are set in the written scope, not here.

  1. Scope the communication needs and classify assets

    The operator and DeployOpen list which teams, sites and partner organizations need messaging during an incident, and which systems those messages could touch. Where the operator is subject to NERC CIP, the team records whether any Matrix component would sit near BES Cyber Systems, EACMS, PACS or PCA, since CIP-002-5.1a impact classification and the Applicable Systems tables in each CIP standard decide which controls apply. The output is a written scope with a system inventory and an impact determination reviewed by the compliance lead. Confirm the scope with your NERC Regional Entity contacts or counsel before design begins.

  2. Design the architecture inside your own network

    DeployOpen and the operator's architects choose the hosting location, the server name, the reverse proxy, the database and the network segment for the homeserver. Every component runs in the operator's data center or cloud accounts, and the design records where the federation listener is exposed and which firewall rules apply. Where CIP-005-7 applies, the team maps routable connectivity to an Electronic Security Perimeter and documents how interactive remote access passes through an intermediate system. The output is an approved architecture diagram and a network flow list.

  3. Set identity and federation policy

    The team connects Synapse or Matrix Authentication Service to the operator's identity provider, using OpenID Connect, SAML through a bridge where needed, or another supported method, and agrees which accounts are administrators and how they are approved. The federation policy is written next: the operator lists the partner domains it trusts, and the federation_domain_whitelist setting enforces that list, with an empty list disabling federation entirely. The output is an identity design, a role map and a signed-off federation list that the operator can change through its own change process.

  4. Build and harden the homeserver

    Engineers install the chosen homeserver release, configure PostgreSQL, set up delegation and TLS, and apply the hardening settings for registration, rate limits, admin and replication exposure, and outbound requests. Components are version-pinned and the build follows the platform floors in the upgrade notes. The output is a configuration record checked against the hardening baseline, and a list of any deviations with the reason and the approver for each. Confirm the vendor's current supported versions before the build starts.

  5. Test resilience and restore from backup

    The team tests failover for the database and the homeserver processes, runs a full backup and restore into an isolated environment, and measures how the system behaves when a dependency such as Redis or the identity provider is unavailable. Restore results are compared with the recovery targets the operator set during scoping. The output is a dated test report with each failure, its fix and a retest result. Rollback is also tested, because the Synapse upgrade notes warn that rolling back can be difficult after schema changes.

  6. Run a pilot with a small control group

    A limited set of operator staff uses the system for normal work, and administrators practice user lifecycle tasks, room creation, device verification and moderation actions. The pilot checks login reliability, message delivery, notification behavior on mobile clients and access logging. Feedback and defects are logged, and each change goes through the operator's approval process. The output is a pilot acceptance record signed by the business owner and the security lead.

  7. Rehearse an incident with partner domains

    The operator runs a scripted incident drill with the partner organizations that federate with it, using only the domains agreed in the federation policy. The drill covers creating an incident room, adding responders from each organization, sharing status updates, handling a simulated compromised account and confirming that messages stay within the trusted domains. Timings and gaps are recorded during the exercise. The output is a drill report with corrective actions assigned to named owners and a scheduled retest of any failed step.

  8. Hand over with runbooks and training

    DeployOpen delivers the architecture record, configuration baseline, backup and restore procedures, upgrade notes review process, federation change procedure and incident response runbooks, then trains the operator's administrators to use them. Support terms after handover are set separately in the written scope. The output is a handover package accepted by the operator's operations and security teams, with a named owner for each runbook.

What utilities ask before they hire a Matrix partner

What drives the cost of a self-hosted Matrix deployment for a utility?

The main cost drivers are the number of sites and regions the homeserver must serve, the number of federation partners and their trust rules, the identity integration with your existing provider, where and how the platform is hosted, and how much testing your security and compliance teams require. Each driver adds design, configuration and verification work. Your one-time costs include architecture, build, integration and testing. Recurring costs include hosting, upgrades, monitoring, backups and support time. Ask any partner for a quote that lists these items separately, with the assumptions behind each one, so you can see which costs move if federation scope or identity requirements change.

How long does a fixed-scope Matrix engagement usually take to agree?

Duration depends on what the written scope contains: the number of environments, whether federation goes to partner operators, how many identity providers must be connected, whether the work runs in an air-gapped or segmented network, and how much compliance evidence is expected. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so the timeline follows from that document rather than from a standard template. Ask for a schedule with dated milestones, the reviews and approvals built into it, and the dependencies on your network, identity and change-control teams. Any figure you are quoted should be traceable to a specific part of the scope.

What must the utility provide before a Matrix build can start?

Plan to supply four things. First, an asset and user inventory: the sites, operating groups, roles and the systems that will sit next to Matrix. Second, access to your identity provider, including a test tenant, client registration rights and group mappings. Third, the network rules that govern routing, DNS, certificates, firewall changes and the federation listener. Fourth, named owners for each decision: a business sponsor, a security approver, a platform owner, an operations contact and a person who can sign off on federation partners. Missing owners are one of the most common reasons schedules slip, so confirm them before the scope is signed.

Can an internal utility team run Matrix without an outside partner?

Yes, an internal team can run Matrix if it has the skills and time for the work. Synapse is documented in detail, with packaged installs, a Helm chart through Element Server Suite, and configuration references for federation, single sign-on and workers. The harder parts are the ones that recur: reading each set of upgrade notes, maintaining PostgreSQL and Python versions, handling identity integration, and keeping federation settings aligned with partner agreements. Assess your team against those tasks honestly. A common hybrid is to use a partner for design, initial build and documentation, then keep routine upgrades and monitoring in-house, or to contract ongoing support on a retainer.

How do Synapse upgrade and rollback limits affect ongoing support?

Synapse upgrades need a plan because rolling back can be difficult after database schema changes between releases. The upgrade notes also state that Synapse drops support for Python and PostgreSQL versions once they reach upstream end of life, and the current floors are PostgreSQL 14 or newer for Synapse 1.143.0 and later, and Python 3.10 or newer for 1.142.0 and later. Ongoing support must therefore include reading every set of upgrade notes, testing on a staging copy with a restorable database backup, scheduling platform upgrades ahead of Synapse floors, and recording the rollback position before each change. Ask any partner how they will handle these steps and who approves a go or no-go decision.

Does federation between utilities create compliance risk for NERC CIP or NIS2?

Federation itself is a configuration choice, and the risk depends on what traffic and which systems it touches. Synapse can restrict federation to listed domains through its federation_domain_whitelist setting, and the documentation recommends firewalling the federation listener as well. Under NERC CIP, the relevant question is whether any Matrix component falls within a BES Cyber System, Electronic Access Control or Monitoring System, or related asset category, which is determined by your own impact classification under CIP-002. Under NIS2, Matrix is one of several systems covered by your risk management and incident reporting measures. Confirm the classification with your compliance lead and your regulator before setting federation policy.

What should a utility check in a partner's Matrix proposal?

Check that the proposal names the homeserver implementation and license, the database and platform versions, the identity and federation design, and the hosting location. Look for a written list of deliverables such as architecture, configuration, runbooks, backup and restore tests, and handover sessions. Confirm how the partner would handle upgrades, what evidence it would provide to your auditors, and how it documents the controls that auditors would test. Ask who will do the work, whether any subcontractors are involved, and how they would be cleared for access to your environment. DeployOpen prepares systems, controls and evidence for compliance assessments but does not issue audit reports or certifications, so ask any firm to make that boundary clear.

Which Matrix licensing terms should a utility review before deploying?

Start with the license of the homeserver you select. Synapse is distributed under AGPL-3.0, and Element has stated that future Synapse contributions are licensed under AGPLv3 instead of Apache 2.0, with commercial exceptions sold separately and contributors signing a CLA. Other implementations, such as Conduit and its forks, use Apache-2.0, and Dendrite uses AGPL-3.0-or-later. Element's commercial Synapse Pro and Element Server Suite editions have their own terms. Ask your legal team to review how the AGPL applies to any modifications you make and whether you need a commercial exception, since that decision affects your support options and your ability to publish changes.

Compliance evidence a Matrix deployment can support for NERC CIP and NIS2

NERC CIP and NIS2 do not certify software, so a Matrix deployment cannot be declared compliant by itself. What it can do is produce the configuration records, access logs, retention settings and procedures that an auditor or national authority will ask to see. The cards below separate what DeployOpen prepares from what the auditor or authority decides.

Access control and ESP placement

Document which Matrix components sit inside the Electronic Security Perimeter and which reach the routable network. DeployOpen prepares network diagrams, firewall rules that limit the federation listener to approved domains, and records of which assets are in scope under CIP-005-7. The auditor decides whether the perimeter and its applicable systems are correctly classified. Confirm impact ratings with your CIP-002 analysis first, since they determine which requirements apply.

CIP-005-7 text

Interactive remote access through an intermediate system

Operator access to Synapse, MAS and admin consoles from outside the perimeter should pass through an intermediate system with encryption and multi-factor authentication. DeployOpen can configure MAS with an upstream identity provider that enforces MFA, restrict admin endpoints to the intermediate system, and capture the configuration as evidence. The auditor checks that all interactive remote access follows that path, so test it from outside the perimeter and keep the results.

MAS upstream providers

Vendor access and supply chain records

CIP-013-2 expects a supply chain risk management plan that covers vendor incident notification, vulnerability disclosure, software integrity verification and coordination of vendor-initiated remote access. For Matrix, that means recording the upstream Synapse, ESS or MAS release in use, how packages were verified, and how vendor support sessions are logged. DeployOpen can prepare the plan inputs and review cycle records. The plan must be reviewed at least every 15 calendar months, and the utility owns that review.

Plan review interval
15 months
CIP-013-2 text

Logging and monitoring

Synapse can write request and access logs, and those records should flow to a central system that the security team monitors. DeployOpen plans log destinations, retention periods, time synchronization and alert rules for failed logins, admin actions and federation traffic from unexpected domains. Monitoring design is evidence only if someone reviews alerts and records the outcome. The auditor will ask for samples, so confirm which events your team must keep and for how long.

Information protection for retained chat

CIP-011-3 covers protecting BES Cyber System Information, and chat rooms can easily hold such information. DeployOpen can set retention and media policies, restrict who can read archived rooms, document disposal steps, and show how backups are encrypted. Encryption choices affect what operators can review, so record the decision on end-to-end encryption for operational rooms. The auditor decides whether the protection is adequate for your information classification.

CIP-011-3 text

Incident notification procedures

NIS2 Article 23 requires reporting of significant incidents within set deadlines, and the CIP-008 incident response plan needs a tested reporting path. For Matrix, DeployOpen can help build incident rooms, escalation roles, contact lists that work when the primary identity provider is down, and tabletop exercise records. National authorities oversee these procedures through inspections and audits, not through a certificate. Confirm the reporting deadlines that apply in your member state with the national competent authority.

NIS2 national application
18 October 2024
NIS2 Directive text

What to confirm with your regulator and vendors before scoping

Before you scope a Matrix deployment, confirm which NERC CIP standards apply to each of your registered entities and their impact categories. Under CIP-002-5.1a, a BES Cyber System is sorted as high, medium or low impact using bright-line criteria in its Attachment 1, and that sorting decides which requirement tables reach your messaging servers. A chat service that sits near a medium impact system with External Routable Connectivity can pull the homeserver, its reverse proxy and its identity provider into scope under CIP-005-7 and CIP-007-6. Ask your Compliance Enforcement Authority, which is a Regional Entity or NERC, to confirm the classification in writing, and check the current status on the NERC CIP standards page, because several 2026 versions carry different effective dates.

Ask the same authority whether it will accept chat logs, retention records and access records from a Matrix server as evidence under CIP-008 incident reporting or CIP-011 information protection. Compliance monitoring under NERC Rules of Procedure Appendix 4C runs through audits, spot checks, self-reports and periodic data submittals, so the format and retention period of your logs matter as much as their content. For EU operators, confirm with your national competent authority how the NIS2 transposition law in your Member State adds to the directive, because Article 5 allows stricter national rules. Read the current text in EUR-Lex and your national gazette, not a secondary summary. Finally, confirm whether the January 2026 proposal COM(2026) 13 would change your essential or important classification, since it is still a proposal that needs Parliament and Council approval.

How operator Matrix servers, identity and partner federation fit together

The diagram starts with control room, field and corporate users reaching the operator network through a reverse proxy in front of Synapse and MAS. Synapse keeps its state in PostgreSQL and relays replication through Redis, while MAS hands sign-in to the operator's upstream identity provider. The federation listener sits in its own trust zone and should accept only the partner domains on the allow list. Check that the federation boundary is firewalled and that no path from outside reaches the admin or replication listeners.

Trust zones for operator Matrix services, identity and partner federation.

How DeployOpen works on this

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure, so Matrix for energy and utilities runs in cloud accounts, data centers or air-gapped networks the operator controls. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • Map which operator sites, control rooms and partner organizations need Matrix, and which of them are in scope for NERC CIP or NIS2.
  • Confirm the server name, federation policy, identity provider and network zones before any build work begins.
  • Agree in writing which systems, deliverables and evidence are covered, and what the operator's own team must provide.

How we build

  • Install the chosen homeserver, PostgreSQL, reverse proxy and federation listener inside the operator's network segments.
  • Configure SSO against the operator's identity provider, restrict federation to agreed partner domains and set retention controls.
  • Test incident room workflows, failover behavior and access controls, then record the results for the operator's compliance reviewers.

How we hand over

  • Document the configuration, network boundaries, backup and restore steps, and the federation allowlist for the operator's team.
  • Deliver runbooks for user lifecycle, moderation, upgrades and incident response, written for the operator's own staff.
  • Walk the operator's engineers through administration and verify that they can perform the documented recovery steps unaided.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer, sized to the operator's change and maintenance calendar.
  • Plan Synapse upgrades from the upstream upgrade notes, including database checks and rollback limits, before each change window.
  • Retest federation settings and access controls after changes, and update evidence so the operator can answer assessor questions.

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.