Overview
This AMI runs a self-hosted coordination server for a private mesh VPN, version 0.29.7, paired with its vendor-recommended web UI, version 0.8.2, on Ubuntu 24.04 LTS. It connects your own devices into a private encrypted network and manages machines, users, auth keys and access control from a browser. Both applications are pinned and pre-installed in the AMI.
What Perimattic adds
A one-time sign-in key is generated through the coordination server's own command line and used to sign in to the web UI before the site is published; there is no username or password for this product. The web UI has no access to the coordination server's config file and no Docker socket mounted into any container. Apache provides HTTPS with a free Let's Encrypt certificate for your domain.
Limits you should know
The web UI cannot edit DNS settings or sign-in restrictions, because that needs direct access to the coordination server's config file, which is deliberately not shared; change those in /opt/app/docker-compose.yml instead. MagicDNS is off by default, since it needs a second domain name you own. The coordination server's own project documentation states it does not support or encourage running in a container or behind a reverse proxy; this is nonetheless its officially published Docker distribution, and our tests found it stable across repeated reboots. In our tests it used about 53 to 55 MB and the web UI about 188 to 217 MB, so a t3.small (2 GB) is sufficient.
Licence and attribution
The coordination server is released under the BSD 3-Clause Licence and its web UI under the MIT Licence. Built on the open-source Headscale (BSD-3-Clause) and Headplane (MIT). Not affiliated with, endorsed by, or sponsored by either project; the names are trademarks of their owners.
Getting Started Launch the AMI and open ports 22, 80 and 443 in the security group SSH in and answer the setup prompts (domain and admin email) Open https://your-domain/admin/ and sign in with the key printed at the end of setup
A domain name with an A record pointing at the instance is required, because the site is served over HTTPS.
This AMI is built and supported by Perimattic.
Book a free setup consultation at https://cal.com/gaurav-pareek-perimattic/marketplace-setup-consultations or email us at aws-support@perimattic.com .
Support Managed and supported by Perimattic, a cloud infrastructure company with 13+ years of experience serving global clients. We offer free setup assistance, custom integrations, infrastructure consulting, and 24/7 support.
Highlights
- Self-hosted private mesh VPN coordination server 0.29.7 (BSD-3-Clause) with its vendor-recommended web UI 0.8.2 (MIT), both pinned and pre-installed: device management, access control, users and auth keys.
- Secure first login: a one-time sign-in key is generated through the coordination server's own command line before the site is published; the web UI never gets Docker socket access; HTTPS through Apache and Let's Encrypt.
- Built on patched Ubuntu 24.04 LTS and supported by Perimattic: free setup assistance at aws-support@perimattic.com.
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
- ...
Dimension | Cost/hour |
|---|---|
t3.small Recommended | $0.03 |
t3.micro | $0.03 |
c3.2xlarge | $0.03 |
c3.4xlarge | $0.03 |
c3.8xlarge | $0.03 |
c3.large | $0.03 |
c3.xlarge | $0.03 |
c4.2xlarge | $0.03 |
c4.4xlarge | $0.03 |
c4.8xlarge | $0.03 |
Vendor refund policy
For any questions or concerns, please contact: Perimattic.com Email: aws-support@perimattic.com
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
Initial release.
- Application: Private Mesh VPN Platform 0.29.7 (container image pinned, baked into the AMI).
- Base: Ubuntu 24.04 LTS, fully patched at build time, built by an automated EC2 Image Builder pipeline.
- TLS: Apache reverse proxy with a Let's Encrypt certificate requested by certbot at first login.
- Credentials are generated on the instance at first login; none are present in the image.
- A one-time sign-in key is generated through the coordination server's own command line at first login and used to sign in to the web UI before the site is published; there is no username or password for this product, and the web UI never has Docker socket access. Setup verifies that the key signs in, that a wrong key and an anonymous session are both refused, and that the coordination server's own health endpoint answers.
- Coordination server: release 0.29.7 from the project's own vendor image (BSD-3-Clause, unmodified); web UI: release 0.8.2 from its own vendor image (MIT, unmodified).
- The web UI's optional Docker-integration feature is never enabled; no container on this AMI is ever given access to the Docker socket.
- Storage uses the coordination server's own embedded SQLite database; no separate database container.
Additional details
Usage instructions
-
Launch an Instance
From AWS Marketplace, click Continue to Subscribe and then Continue to Configuration to launch the AMI.
-
Choose the Recommended Instance Type
t3.small (2 GB of memory) is a sufficient starting size: in our tests the coordination server used about 53 to 55 MB and the web UI about 188 to 217 MB, leaving comfortable headroom.
-
Configure Security Group
Allow inbound traffic on the following ports:
- 22 (SSH) - terminal access for setup
- 80 (HTTP) - needed to validate your domain for the TLS certificate
- 443 (HTTPS) - access to Private Mesh VPN Platform
-
Point a domain at the instance
Create a DNS A record (for example meshvpn.example.com) pointing to the instance's public IP before you log in.
-
Connect to the Instance
ssh -i <your-key.pem> ubuntu@<public-ip>
-
First-Login Setup
The first SSH login runs a guided setup:
- Prompts for your domain and admin email and checks the DNS A record
- Generates a 32-character cookie secret for the web UI on your server
- Starts both containers, creates one coordination-server user and a one-time sign-in key through the coordination server's own command line, then checks that the key signs in, that a wrong key and an anonymous session are both refused, and that the coordination server's own health endpoint answers
- Configures Apache as an HTTPS reverse proxy and requests a Let's Encrypt certificate
- Prints the URL and the sign-in key; they are also stored in /opt/app/access.txt (root only)
If a step fails, fix the problem shown and log in again: the setup resumes where it stopped.
-
Access Private Mesh VPN Platform
Open https://<your-domain>/admin/ and sign in with the generated key (view it again with: sudo cat /opt/app/access.txt). Create a device auth key from Users in the web UI.
-
Credentials
Generated on your server, never shared between customers. View them again with:
sudo cat /opt/app/access.txt
-
Manage the Services
cd /opt/app sudo docker compose ps sudo docker compose restart
All data (the device database, keys) is in /opt/app/headscale-data and /opt/app/headplane-data: back up all of /opt/app or snapshot the volume before upgrades. The web UI cannot edit DNS or sign-in restrictions (no access to the coordination server's config file by design); change HEADSCALE_* variables in /opt/app/docker-compose.yml directly for those. MagicDNS is off until you configure a second domain for it.
Thank you for subscribing.
Need Support or Customization? Perimattic's team can help with setup issues, custom features and integrations:
Email us: aws-support@perimattic.com WhatsApp: +91-92142 66896 Learn more: <www.perimattic.com >
We offer free setup assistance, custom development and integrations, and infrastructure consulting.
Resources
Vendor resources
Support
Vendor support
Support by Perimattic
Perimattic provides 24/7 support for all AWS Marketplace products. Our team has 13+ years of cloud infrastructure expertise serving global clients.
Contact Channels: Email: aws-support@perimattic.com WhatsApp: +91-92142 66896 Website: <www.perimattic.com >
What We Help With: Initial setup and configuration assistance (free) Troubleshooting connectivity, performance, and backup issues Custom development and integrations Infrastructure consulting and architecture review Migration planning from other solutions Automation solutions and scaling guidance
Instance Sizing Guidance: t2.medium or t3.medium: Development environments, small applications m5.large: Production workloads with moderate traffic m5.xlarge: High-traffic production deployments and larger datasets
For workload-specific sizing recommendations, contact our team for a free consultation.
Refunds and Issues: If you experience any issues or need to request a refund, contact us at aws-support@perimattic.com and we will respond promptly.
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.