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: 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 setup with Nginx and TLS.
  • Initial configuration generation and database migration.

Client Configuration

  • Element Web deployment and custom branding implementation.
  • Configuring desktop and mobile apps with custom homeserver URLs.
  • User registration, login, and password reset procedures.
  • Guest access and room discovery policies.

Encryption and Security

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

Bridges and Integrations

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

Federation and Governance

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

Maintenance and Scaling

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

Requirements

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

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

Testimonials (2)

Related Categories