Managed Element hosting
Pilae installs, patches, backs up and monitors Element for you, on your own servers or in any of 10+ Pilae Cloud regions, six of them in Switzerland and the EU.
From CHF 449EUR 479USD 559 a month on Starter, hosting and onboarding included.
- Collaboration and identity
- Open source
- Replaces Microsoft Teams chat
- Runs on
- Your own hardware, or a Pilae Cloud region
- Replaces
- Microsoft Teams chat, Slack, WhatsApp
- Licence
- AGPL-3.0-or-later
Element among the collaboration and identity apps
Files, documents, chat, and the single sign-on underneath them. One directory, one place to revoke an account. Element carries the chat.
Element system requirements
Before anything is deployed, this is what has to exist. We size it with you in the first session, and we say so when your own hardware is already enough.
All 5 requirements, and why each is there
- CPU and memory4 vCPU · 8 GBOur starting size for a few hundred people on a closed or allow-listed server. Joining large public rooms costs more than local users do, and Synapse can refuse rooms above a complexity limit.
- DatabasePostgreSQLSynapse and the Matrix Authentication Service each get their own database. The Synapse one is created UTF8 with the C locale, which Synapse checks at start. SQLite is for testing only.
- Media storePersistent volumeUploads and avatars. Local uploads may be the only copy anywhere in the federation, so they are backed up with the database. Media cached from other servers is not.
- Sign-inOIDC via MASThe Matrix Authentication Service signs people in against Keycloak or Entra ID. It does not speak SAML or LDAP, so a directory that only offers those goes through Keycloak.
- DNS and TLS/.well-known/matrixUser IDs end in your own domain, such as @anna:acme.ch, so your main website serves two small files that point clients and other servers at the homeserver. That domain cannot be changed later.
Running Element in production: what it takes
Settle domain and federation, then deploy
Before the first room exists we fix the domain that ends every user ID, which cannot change later, and whether federation is closed, allow-listed or open. Then Synapse, the Matrix Authentication Service and Element Web go in on PostgreSQL, each pinned to a version we have run.
Put sign-in behind your identity provider
Accounts come from Keycloak or Entra ID through the Matrix Authentication Service, so nobody gets a new password. Leavers are locked or deactivated through its admin API as part of offboarding, not left to expire.
Set up key recovery at rollout
The server holds a backup of each person's message keys that it cannot open. A lost recovery key and a lost phone together mean lost history, so recovery is set up with everyone at rollout, not after the first phone goes missing.
Back up both databases and the signing key
A daily, encrypted copy of both databases, local media, the signing key and the configuration goes offsite. On the Enterprise plan, a monthly drill restores the set into a scratch environment and reads an encrypted room there with a test account.
Upgrade once background updates finish
Synapse migrates its database schema on start, and rolling back past a schema change is not always possible. The Pilae Agent tests each upgrade on a copy, lets background updates finish, waits for your approval and applies it in your window with the pre-upgrade backup ready.
From our runbook
What a Synapse restore needs
postgres/synapsepg_dump -Fc, 38 GB
- events, event_jsonroom history, ciphertext in encrypted rooms
- e2e_room_keyskey backup, encrypted on the device
- e2e_one_time_keys_jsonexcluded from the dump
- postgres/masaccounts, sessions, IdP links, 0.3 GB
media_storeuploads and avatars
- local_content540 GB, may be the only copy
- local_thumbnailsbacked up, no tool rebuilds them
- remote_contentcache from other servers, skipped
confighomeserver.yaml, log config, MAS config
- acme.ch.signing.keysigns events and federation requests
- mas secretsencryption key, must not change
- offsite copyencrypted, daily, in Switzerland
Migrating from Microsoft Teams chat to Element
Teams chat history does not move. Synapse and Element have no importer for it, so it stays in Microsoft 365 under your retention policy, or is exported with Microsoft's own tools and kept as an archive. What moves is the structure and the people: each team becomes a space, each channel a room, and people sign in with the account they already use. Bots and connectors are rebuilt as Hookshot webhooks. Webinars and town halls, telephony and co-editing inside a chat are not part of Element, and we say up front which of them you will still need elsewhere. The effort goes into encryption: every person sets up recovery and verifies their devices in the first week, because a lost key cannot be recovered by anyone, us included.
- AlternativesA Slack alternative you ownOne of 2 apps for teams leaving Slack.
- ServiceSaaS migrationA fixed-scope migration off Google Workspace, Microsoft 365, Zapier, Airtable and ChatGPT to open-source apps, with a parallel run and a cutover plan.
Moving from Microsoft Teams chat to Element, step by step
- Decide where the Teams history lives: Retention in Microsoft 365, or an export kept for the record. We agree which, and the cut-off date, before anything is built.
- Rebuild the structure: Spaces and rooms are created from an inventory of your teams and channels, with encryption set per room and membership taken from your directory groups. Each bot and connector on the inventory is rebuilt as its own webhook.
- Sign in and set up recovery: People sign in with the directory account they use today. At first sign-in each person saves a recovery key and verifies a second device, with a short guide and a named contact for that week.
- Switch team by team: The desktop and mobile apps are installed ahead of the switch. Each team stops posting in Teams on an agreed day, and partner organisations are added to the federation allow-list as they come on.
What Element is, and who runs it
Encrypted team messaging on the Matrix protocol: the Element apps on a Synapse homeserver you own, run in Switzerland, the EU or your own datacentre.
Element and Synapse: self-hosted Matrix messaging
Element is the set of apps people use: Element Web in the browser, Element Desktop, and Element X on iOS and Android. Behind them sits Synapse, the homeserver that stores rooms and relays messages, and the Matrix Authentication Service, which handles sign-in. All of it speaks Matrix, an open standard for chat, and when we say we operate Element we mean that whole stack. Private conversations are encrypted end to end by default, and Element Call adds encrypted voice and video with a LiveKit media server beside the homeserver. For meetings with guests who have no account, Jitsi Meet runs beside it, and Element Web can start a Jitsi call from a room.
Matrix is chosen where chat has to stay inside the organisation and still reach other organisations. Each runs its own server, and federation connects them. The French state’s Tchap, operated by DINUM for public servants, runs on Matrix, as does the Bundeswehr’s BwMessenger, built by its IT company BWI. NATO’s Allied Command Transformation uses NI2CE, a Matrix messenger that began as an experimental project led by its Innovation Hub. That is why Matrix comes up in the public sector and in international organisations.
Read the full briefFold the brief
Element in production: federation, keys and schema upgrades
Two things are decided before the first room exists: the domain at the end of every user ID, which cannot be changed later, and whether federation is closed, limited to an allow-list of partner domains, or open. Synapse and the Matrix Authentication Service run on PostgreSQL, in the Pilae Cloud region you choose or on your own hardware, and answer only on your private network. One hardened gate on port 443 carries what you choose to publish, such as mobile clients and allow-listed partners. Sign-in goes through Keycloak or Entra ID. When one Synapse process is no longer enough, it is split into workers coordinated through Redis.
Encryption moves the risk from the server to the people. The server cannot read an encrypted room and cannot give back a key someone has lost, so recovery is part of the rollout, not a helpdesk ticket later. Backups cover both databases, the local media, the signing key and the configuration, daily, encrypted, to an offsite location in the country your contract names, and on the Enterprise plan a monthly drill reads an encrypted room from the restored copy. Probes check the client and federation endpoints every 60 seconds and alert an engineer. Synapse migrates its schema on start and cannot always roll back, so every upgrade is rehearsed on a copy by the Pilae Agent and applied in your window once you approve it.
Element licence and editions
Sign-in through Keycloak or Entra ID works on the open-source components as they are, because the Matrix Authentication Service speaks OpenID Connect. AuditBot, for archiving encrypted rooms, is part of Element Server Suite Pro (see the licence note below). Whether you need Pro is settled in the proposal, before a server exists. Our operation follows the published plans. Talk to us about the chat you want to bring in-house.
What Pilae is responsible for
The same commitments on every app we run, Element included, and what stays yours. How the platform does it.
Ours
- A pinned version: A version we have run, not whatever latest resolves to that day.
- A runbook: What it depends on, how it fails, what to do about it. In your repository.
- Daily backups: Encrypted and offsite, and on Enterprise restored every month. A backup nobody has restored is a file.
- A patch window: Security updates in a window you agreed, with a rollback ready.
- Someone watching: Every endpoint probed on the minute. An alert reaches a person, not a dashboard nobody opens.
Yours
- The credentials: You hold them. Ours are separate, named, logged and revocable with one command.
- The approval: We ask before anything changes outside an agreed window.
- The exit: The machine, the data, the compose files and the runbook are already yours. Nothing stops when our access does.
Who runs it
Engineers who answer for it
Our engineers review every plan the Pilae Agent prepares and answer for the result.
Your data stays where the contract says
On your own servers or in Pilae Cloud. On Business and Enterprise you choose the region, and your contract names each location.
A Swiss company, a Swiss contract
Pilae is a Swiss company, and your contract with it is governed by Swiss law.
Element runs on Starter from CHF 449EUR 479USD 559 a month in Pilae Cloud, or on Business with up to three apps on your own servers.
Compare the plansElement: common questions
Is Element open source?
Where are our messages stored?
Can we import our Teams chat history?
Can our compliance team search encrypted conversations?
Do we have to federate with the public Matrix network?
Ask the engineers who would run your Element
Thirty minutes on the deployment you already have, or the one you are about to start.
- Go deeperOpen-source alternative to Microsoft 365 and Google WorkspaceAn open-source Microsoft 365 and Google Workspace alternative: Nextcloud, Mattermost, Outline, Keycloak and Vaultwarden, operated for you.
- CompareA Microsoft 365 alternative you ownOne of 7 apps for teams leaving Microsoft 365.
- CheckCLOUD Act and your data location: what a foreign authority can reachA deployment designed so that the data sits where you choose and US-controlled services stay outside your data path.
