Get in Touch

Course Outline

Federated Messaging Sovereignty

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

Synapse Deployment

  • Docker Compose stack setup including synapse, postgres, and element-web.
  • Native package installation and systemd service configuration.
  • Setting up a reverse proxy with Nginx and TLS.
  • Initial configuration generation and database migration.

Client Configuration

  • Deployment of Element Web and customization of branding.
  • Configuring custom homeserver URLs for desktop and mobile apps.
  • Managing user registration, login, and password reset processes.
  • Establishing guest access and room discovery policies.

Encryption and Security

  • Implementing end-to-end encryption using Olm and Megolm.
  • Device verification and cross-signing procedures.
  • Key backup and recovery using passphrases.
  • Admin access to encrypted content: limitations and mitigation strategies.

Bridges and Integrations

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

Federation and Governance

  • Implementing federation whitelist and blacklist policies.
  • Managing room version upgrades and state resolution.
  • Setting limits and retention policies for the media repository.
  • Utilizing antispam and abuse reporting tools.

Maintenance and Scaling

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

Requirements

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

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 services.
 14 Hours

Testimonials (3)

Related Categories