Self-host an Edge
A self-hosted Edge relays Dashboard traffic that stays encrypted end to end between browsers and your Pontia devices. Agents run on your devices, while Pontia Cloud provides login, device ownership, Edge registration, and connection authorization.
Requirements
Use a public Linux server with:
- x86_64 or ARM64 architecture;
- systemd as the system service manager;
- a public IPv4 or IPv6 address, with an optional domain name you control, such as
edge.example.com; - inbound TCP ports 80 and 443;
- outbound HTTPS and DNS access;
curl,grep,install,mktemp,mv,openssl,rm,sed,sha256sum, andtar;- OpenSSL with Ed25519 verification support.
Choose an address
You can deploy the Edge directly on its public IPv4 or IPv6 address. To use a domain or subdomain such as edge.example.com, create an A record, an AAAA record, or both that point it to the server’s public IP address.
The Edge serves HTTPS and WSS on port 443 and obtains its Let’s Encrypt certificate through HTTP-01 on port 80. IP address deployments use Let’s Encrypt’s short-lived certificate profile. Allow inbound TCP ports 80 and 443 in the host and provider firewalls. To serve on another browser-safe port, such as 8443, add --port 8443 to the pontia-edge init command and open that port; port 80 continues to handle certificate issuance and renewal.
Deploy from Cloud
Open Edge settings, signing in when prompted. Then:
- Select Deploy an edge.
- Enter the public IP address or domain name and select Generate deployment command.
- Copy the one-time command and run it on the public Linux server.
The command contains a short-lived deployment ticket bound to the address. Keep it private and run it before the expiry shown by Cloud. Initialization:
- downloads and verifies the signed
pontia-edgerelease; - checks the public IP address or your domain’s public DNS records;
- obtains a Let’s Encrypt certificate for the address;
- installs and starts
pontia-edge.service; - waits for Cloud to confirm over HTTPS that this server holds the Edge credential for the address;
- enables automatic stable-release checks.
A successful Edge appears under Your edges in Edge settings with a healthy status.
Resume an incomplete deployment
After fixing the reported problem, resume initialization on the same server:
sudo pontia-edge retry Initialization state is kept in /etc/pontia/edge/pending-init.json until setup succeeds. Retry can continue an enrolled Edge without creating a second registration.
Operate the Edge
Check the service and logs:
sudo systemctl status pontia-edge.service
sudo journalctl -u pontia-edge.service --no-pager -n 200 The public health endpoint at https://HOST[:PORT]/healthz returns ok. You can see the reported version in Edge settings.
Update manually:
sudo pontia-edge update Manage automatic stable updates:
sudo pontia-edge auto-update status
sudo pontia-edge auto-update enable
sudo pontia-edge auto-update disable With automatic updates enabled, an online Edge also checks for updates when Cloud announces a new stable release.
Automatic updates check every 10 minutes. An update already in progress continues when future checks are disabled.
The Edge checks its certificate every hour and renews it automatically once a third of its validity remains.
Stored files
The managed installation uses:
| Path | Purpose |
|---|---|
/usr/local/bin/pontia-edge | Edge executable |
/etc/pontia/edge/config.json | Endpoint configuration |
/etc/pontia/edge/credential | Edge service credential |
/etc/pontia/edge/tls.pem | TLS certificate and key material |
/etc/pontia/edge/acme-account.json | ACME account state |
/etc/systemd/system/pontia-edge.service | systemd service definition |
Keep /etc/pontia/edge private and backed up according to your server policy.
Delete an Edge
Deleting a self-hosted Edge in Cloud permanently removes its registration and associated devices. If you use a domain, its DNS records stay at your DNS provider, where you can update or remove them. The server installation is managed separately: move or disable the affected devices, then stop the service and remove its files from the server.
Before deleting an Edge, use pontia remote edit on each affected device to select another Edge.