Get in Touch

Course Outline

Federated Messaging Sovereignty

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

Synapse Deployment

  • Setting up Docker Compose stacks including synapse, postgres, and element-web.
  • Native package installation and systemd service configuration.
  • Configuring Nginx reverse proxy with TLS.
  • Generating initial configuration files and performing database migrations.

Client Configuration

  • Deploying Element Web with custom branding options.
  • Setting custom homeserver URLs for desktop and mobile applications.
  • Managing user registration, login processes, and password resets.
  • Defining guest access rules and room discovery policies.

Encryption and Security

  • Implementing end-to-end encryption using Olm and Megolm protocols.
  • Performing device verification and cross-signing.
  • Setting up key backup and recovery mechanisms with passphrases.
  • Understanding limitations and mitigations regarding admin access to encrypted content.

Bridges and Integrations

  • Connecting with Slack, Discord, IRC, and WhatsApp via bridges.
  • Configuring email notifications and GitHub/GitLab webhooks.
  • Integrating Jitsi for encrypted video conferencing.
  • Developing custom bots using the matrix-nio SDK.

Federation and Governance

  • Managing federation whitelist and blacklist policies.
  • Upgrading room versions and handling state resolution.
  • Configuring media repository limits and retention policies.
  • Utilizing antispam and abuse reporting tools.

Maintenance and Scaling

  • Optimizing the database and using purge APIs to manage old data.
  • Cleaning media storage and offloading to S3.
  • Implementing worker mode for high-traffic deployment scenarios.
  • Establishing backup and disaster recovery plans for homeserver state.

Requirements

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

Audience

  • IT teams looking to replace Slack, Teams, or Discord with a sovereign alternative.
  • Organizations requiring on-premise messaging solutions with end-to-end encryption.
  • Government and defense teams needing federated, auditable chat capabilities.
 14 Hours

Number of participants


Price per participant

Upcoming Courses

Related Categories