Overview
This is a repackaged software product wherein additional charges apply for hardening, security configuration, and support.
WHAT IS MATRIX SYNAPSE
Matrix Synapse is the reference server implementation of Matrix, an open standard for secure, decentralised real-time communication. It is a Python service built on Twisted with a Rust extension module, and it hosts your own user accounts, rooms and message history for any standard Matrix client such as Element on desktop, web and mobile. Synapse supports end-to-end encrypted rooms, spaces, threads, read receipts, file and media sharing, and push notifications. It persists accounts, rooms, events and media metadata in PostgreSQL, which this AMI bundles and pre-configures. Because Matrix is an open protocol rather than a product, you are never tied to one vendor's client, and the same account works across every conforming app. AGPL-3.0-or-later license, no vendor lock-in.
WHAT THIS AMI ADDS
Security hardening:
- Registration closed by default - strangers cannot create accounts on your server
- Administrator account created at first launch with a password unique to your instance, written to /root/synapse-credentials.txt
- Homeserver signing key generated on your instance at first launch and never shipped inside the AMI, so no two deployments share a cryptographic identity
- Federation not enabled - port 8448 closed and no delegation published, so the server does not join the wider Matrix network until you choose to enable it
- Usage statistics reporting disabled; URL previews and presence off by default
- Bundled PostgreSQL 17 bound to 127.0.0.1 only, with scram-sha-256 authentication and no trust entries
- Synapse itself bound to 127.0.0.1 only; nginx terminates TLS on 443 as the sole public entry point
- UFW firewall pre-configured - only ports 22, 80 and 443 reachable; 8008, 5432 and 8448 blocked
- fail2ban and AppArmor pre-configured
- CVE scan - every image is scanned for vulnerabilities before release
OS hardening (CIS Level 1):
- CIS Ubuntu 24.04 LTS Level 1 benchmark applied via ansible-lockdown
- auditd, SSH hardening, Kernel hardening, IMDSv2 enforced
Included components:
- PostgreSQL 17, created with the UTF8/C collation Synapse requires
- Certbot with the nginx plugin, so a trusted certificate is one command away
- A helper for moving the homeserver onto your own domain
Compliance artifacts:
- SBOM - CycloneDX 1.6 at /etc/lynxroute/sbom.json
- CIS Conformance Report at /etc/lynxroute/cis-report.html
- CIS Tailored Profile at /usr/share/doc/lynxroute/CIS_TAILORED_PROFILE.md
- Written source offer for the AGPL-3.0 code at /usr/share/doc/lynxroute/LICENSES.txt
IMPORTANT - CHOOSE YOUR SERVER NAME BEFORE CREATING USERS
In Matrix the server name becomes part of every user ID and room ID, and the protocol provides no way to rename it afterwards. This AMI derives it from the instance address at first launch; to use your own domain instead, set it before you create any users. No mail server is included, so create users and reset passwords from the command line, or configure your own SMTP.
Highlights
- Matrix Synapse security baked in: registration closed by default, administrator password unique to each instance, homeserver signing key generated on your instance and never shipped in the AMI, federation not enabled with port 8448 closed, bundled PostgreSQL bound to 127.0.0.1 only, UFW firewall pre-configured.
- CIS Level 1 hardened Ubuntu 24.04 LTS: auditd, fail2ban, AppArmor, SSH key-only, IMDSv2 enforced. CVE-scanned before every release. SBOM (CycloneDX) and CIS Conformance Report included.
- Own your messaging: self-hosted Matrix homeserver with end-to-end encrypted rooms, spaces and media sharing, reachable from any standard Matrix client. AGPL-3.0-or-later license - fully auditable, no vendor lock-in.
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
Dimension | Cost/hour |
|---|---|
t3.large Recommended | $0.05 |
m6i.large | $0.05 |
t3.medium | $0.05 |
Vendor refund policy
We do not offer refunds for this product. AWS infrastructure charges (EC2, EBS, data transfer) are billed separately by AWS and are not refundable by us.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Matrix Synapse 1.157.2 - Initial release (July 2026)
- Matrix Synapse 1.157.2 on Ubuntu 24.04 LTS
- CIS Level 1 hardening applied (ansible-lockdown/UBUNTU24-CIS)
- CVE-scanned before every release
- Bundled PostgreSQL 17, created with the UTF8/C collation Synapse requires and bound to 127.0.0.1 only
- Registration closed by default; the administrator account is created at first launch with a password unique to your instance
- Homeserver signing key generated on your instance at first launch, never shipped inside the AMI
- Federation not enabled: port 8448 closed and no delegation published, so the server does not join the wider Matrix network until you enable it
- Usage statistics reporting disabled; URL previews and presence off by default
- Nginx HTTPS perimeter on 443 with a per-instance certificate; Synapse and PostgreSQL on loopback only
- Certbot with the nginx plugin pre-installed for a trusted certificate in one command
- Helper for moving the homeserver onto your own domain, because a Matrix server name is permanent and must be chosen before users are created
- UFW firewall pre-configured (ports 22, 80, 443 only)
- fail2ban, auditd, AppArmor pre-configured
- SBOM (CycloneDX 1.6) at /etc/lynxroute/sbom.json
- CIS Conformance Report (OpenSCAP) at /etc/lynxroute/cis-report.html
- IMDSv2 enforced
- AGPL-3.0-or-later, shipped unmodified from the vendor's own signed Debian package; written source offer included in the image
Additional details
Usage instructions
- Launch instance (t3.large recommended, t3.medium minimum)
- Open Security Group - allow TCP 22 and TCP 443 from your IP
- SSH: ssh -i key.pem ubuntu@<PUBLIC_IP>
- Read credentials: sudo cat /root/synapse-credentials.txt
- Install a trusted TLS certificate before rollout: sudo certbot --nginx -d yourdomain.com Most Matrix clients refuse to connect to a homeserver with an untrusted certificate.
- Open https://<PUBLIC_IP>/ for the server landing page, then sign in from a Matrix client such as Element using the administrator credentials from step 4
- Add more users from the instance: sudo register_new_matrix_user -c /etc/matrix-synapse/conf.d/10-lynxroute.yaml http://localhost:8008
IMPORTANT - your server name is permanent. In Matrix the server name becomes part of every user ID and room ID, and the protocol provides no way to rename it afterwards. This AMI derives it from the instance address at first launch. If you intend to use your own domain, run "sudo synapse-set-server-name yourdomain.com" BEFORE you create any users - it resets the homeserver, which is safe while it is still empty and destructive once it is not.
Registration is closed by default, so strangers cannot create accounts. No mail server is included: create users and reset passwords from the command line as shown above, or add your own SMTP settings to /etc/matrix-synapse/conf.d/10-lynxroute.yaml.
Federation is not enabled. Port 8448 is closed and no delegation is published, so this server does not join the wider Matrix network until you choose to enable it. Local users can message each other immediately.
Credentials, endpoints, backup guidance and the federation opt-in procedure are all written to /root/synapse-credentials.txt at first launch.
Resources
Vendor resources
Support
Vendor support
Visit us online: https://lynxroute.com
For Matrix Synapse documentation:
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Similar products
