Get in Touch
 Duration 14 hours

Course Outline

Messaging Sovereignty and Federation

  • How Slack and Teams can lead to data silos and exposure to foreign jurisdictions.
  • Matrix protocol architecture: examining homeservers, rooms, events, and federation.
  • Synapse as the reference server: analyzing features and resource consumption.
  • Comparative analysis with Mattermost, Rocket.Chat, and Zulip.

Deploying Synapse

  • Setting up a Docker Compose stack including synapse, postgres, and element-web.
  • Installing via native packages and configuring systemd services.
  • Implementing a reverse proxy using Nginx and TLS.
  • Generating initial configurations and managing database migrations.

Configuring Clients

  • Deploying Element Web and applying custom branding.
  • Configuring desktop and mobile apps with a custom homeserver URL.
  • Managing user registration, login, and password reset processes.
  • Defining guest access and room discovery policies.

Encryption and Security

  • Implementing end-to-end encryption using Olm and Megolm.
  • Performing device verification and cross-signing.
  • Managing key backup and recovery via passphrases.
  • Understanding admin access limitations to encrypted content and mitigation strategies.

Bridges and Integrations

  • Connecting Slack, Discord, IRC, and WhatsApp through bridges.
  • Setting up 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.
  • Handling room version upgrades and state resolution.
  • Configuring media repository limits and data retention.
  • Utilizing antispam and abuse reporting tools.

Maintenance and Scaling

  • Optimizing the database and using purge APIs for old data.
  • Cleaning up media storage and offloading to S3.
  • Utilizing worker mode for high-traffic deployments.
  • Establishing backup and disaster recovery procedures for homeserver state.

Requirements

  • Intermediate proficiency in Linux and Docker administration.
  • A solid understanding of instant messaging protocols and federation mechanisms.
  • Familiarity with PostgreSQL and Python application deployment.

Target Audience

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

Number of participants


Price per participant (excl. VAT)

Upcoming Courses

Related Categories