Get in Touch

Course Outline

Federated Messaging Sovereignty

  • Why Slack and Teams create data silos and expose users to foreign jurisdiction.
  • Matrix protocol architecture: homeservers, rooms, events, and federation.
  • Synapse as the reference server: features and resource profiling.
  • 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.
  • Setting up a reverse proxy with Nginx and TLS.
  • Initial configuration generation and database migration.

Client Configuration

  • Deploying Element Web with custom branding.
  • Configuring custom homeserver URLs for desktop and mobile apps.
  • 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 protocols.
  • Device verification and cross-signing procedures.
  • Key backup and recovery using passphrases.
  • Understanding admin access to encrypted content: limitations and mitigations.

Bridges and Integrations

  • Connecting via Slack, Discord, IRC, and WhatsApp 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

  • Implementing federation whitelist and blacklist policies.
  • Managing room version upgrades and state resolution.
  • Defining media repository limits and retention policies.
  • 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.
  • Using worker mode for high-traffic deployments.
  • Ensuring backup and disaster recovery for homeserver state.

Requirements

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

Target Audience

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

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories