Get in Touch

Course Outline

Federated Messaging Sovereignty

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

Synapse Deployment

  • Docker Compose stack comprising Synapse, Postgres, and Element-Web.
  • Native package installation and systemd service configuration.
  • Reverse proxy setup with Nginx and TLS.
  • Initial configuration generation and database migration processes.

Client Configuration

  • Element Web deployment and custom branding implementation.
  • Configuration of desktop and mobile app homeserver URLs.
  • User registration, login procedures, and password reset functionalities.
  • Policies for guest access and room discovery.

Encryption and Security

  • End-to-end encryption utilizing Olm and Megolm protocols.
  • Device verification and cross-signing processes.
  • Key backup and recovery mechanisms using passphrases.
  • Limitations and mitigations regarding administrative access to encrypted content.

Bridges and Integrations

  • Implementation of Slack, Discord, IRC, and WhatsApp bridges.
  • Email notifications and GitHub/GitLab webhook integrations.
  • Jitsi integration for encrypted video conferencing.
  • Custom bot development using the matrix-nio SDK.

Federation and Governance

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

Maintenance and Scaling

  • Database optimization and purge APIs for historical data management.
  • Media storage cleanup and S3 offloading techniques.
  • Worker mode configuration for high-traffic deployments.
  • Backup and disaster recovery strategies for homeserver state.

Requirements

  • Intermediate proficiency in Linux and Docker administration.
  • Understanding of instant messaging protocols and federation concepts.
  • 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 solutions with end-to-end encryption.
  • Government and defence teams needing federated, auditable chat systems.
 14 Hours

Related Categories