Get in Touch

Course Outline

Federated Messaging Sovereignty

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

Synapse Deployment

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

Client Configuration

  • Deploying Element Web with custom branding options.
  • Configuring desktop and mobile apps to point to a custom homeserver URL.
  • Managing user registration, login processes, and password resets.
  • Establishing guest access policies and room discovery settings.

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 with a passphrase.
  • Understanding admin access limitations regarding encrypted content and associated mitigations.

Bridges and Integrations

  • Connecting Slack, Discord, IRC, and WhatsApp via bridges.
  • Configuring email notifications and webhooks for GitHub/GitLab.
  • 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 retention policies.
  • Utilizing tools for antispam and abuse reporting.

Maintenance and Scaling

  • Optimizing databases and using purge APIs for historical data.
  • Cleaning up media storage and offloading to S3.
  • Implementing worker mode for high-traffic deployments.
  • Establishing backup and disaster recovery procedures 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.

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

Upcoming Courses

Related Categories