Get in Touch

Course Outline

Federated Messaging Sovereignty

  • Understanding why Slack and Teams create data silos and expose organisations to foreign jurisdiction.
  • Matrix protocol architecture: homeservers, rooms, events, and federation.
  • Synapse as the reference server: features and resource requirements.
  • Comparison with Mattermost, Rocket.Chat, and Zulip.

Synapse Deployment

  • Docker Compose stack setup: synapse, postgres, and element-web.
  • Native package installation and systemd service configuration.
  • Reverse proxy configuration using Nginx and TLS.
  • Initial configuration generation and database migration.

Client Configuration

  • Element Web deployment and custom branding.
  • Configuring desktop and mobile apps with a custom homeserver URL.
  • User registration, login procedures, and password resets.
  • Policies for guest access and room discovery.

Encryption and Security

  • End-to-end encryption using Olm and Megolm protocols.
  • Device verification and cross-signing mechanisms.
  • Key backup and recovery using passphrases.
  • Understanding limitations and mitigations for admin access to encrypted content.

Bridges and Integrations

  • Setting up bridges for Slack, Discord, IRC, and WhatsApp.
  • Email notifications and GitHub/GitLab webhook integration.
  • Jitsi integration for encrypted video conferencing.
  • Developing custom bots using the matrix-nio SDK.

Federation and Governance

  • Federation whitelist and blacklist policies.
  • Room version upgrades and state resolution.
  • Media repository limits and retention policies.
  • Antispam measures and abuse reporting tools.

Maintenance and Scaling

  • Database optimization and using purge APIs to remove old data.
  • Media storage cleanup and offloading to S3.
  • Utilising worker mode for high-traffic deployments.
  • Backup and disaster recovery strategies for homeserver state.

Requirements

  • Intermediate knowledge of Linux and Docker administration.
  • Understanding of instant messaging protocols and federation.
  • Familiarity with PostgreSQL and Python application deployment.

Audience

  • IT teams seeking to replace Slack, Teams, or Discord with a sovereign alternative.
  • Organisations requiring on-premise messaging with end-to-end encryption.
  • Government and defence units needing federated, auditable chat solutions.
 14 Hours

Upcoming Courses

Related Categories