Install the Agent
The HostAtlas agent is a small Go binary that runs as a systemd service. It is open-source and self-contained — no runtime dependencies beyond standard system tools.
Supported distributions
Section titled “Supported distributions”- Ubuntu 20.04, 22.04, 24.04
- Debian 11, 12
- CentOS Stream 9
- RHEL 8, 9
- Fedora 39+
Both amd64 and arm64 architectures are supported.
One-liner install
Section titled “One-liner install”Grab your install key from Settings → Install Keys in the platform, then run:
curl -sSL https://install.hostatlas.app | sudo bash -s -- --key=YOUR_INSTALL_KEYThe installer will:
- Detect your OS and architecture
- Download the matching agent binary to
/opt/hostatlas/hostatlas-agent - Write a config file at
/etc/hostatlas/agent.yamlcontaining your install key and the platform endpoint - Register and start a systemd unit (
hostatlas-agent.service) - Trigger the first discovery pass
Install keys
Section titled “Install keys”Install keys are rotating credentials scoped to your organization. Create multiple keys if you want to revoke one later without re-installing everywhere (e.g. one per environment, one per team).
Find them at Settings → Install Keys. Each key shows the number of active agents using it and the last-seen timestamp.
Verification
Section titled “Verification”After the installer finishes, confirm the agent is running:
systemctl status hostatlas-agentExpected output:
● hostatlas-agent.service - HostAtlas Agent Loaded: loaded (/etc/systemd/system/hostatlas-agent.service; enabled) Active: active (running)Live logs:
journalctl -u hostatlas-agent -fWithin about 30 seconds the host should appear in the dashboard under Servers.
Common operations
Section titled “Common operations”sudo systemctl restart hostatlas-agentsudo systemctl stop hostatlas-agentsystemctl status hostatlas-agentjournalctl -u hostatlas-agent -fUninstall
Section titled “Uninstall”The installer ships an uninstall script alongside the binary:
sudo /opt/hostatlas/uninstall.shThis stops and disables the systemd service, removes /opt/hostatlas/ and /etc/hostatlas/, and sends a final deregistration event so the server disappears cleanly from the dashboard.
Troubleshooting
Section titled “Troubleshooting”If the server does not show up within a minute:
- Check outbound HTTPS reachability:
curl -I https://api.hostatlas.app - Confirm the install key in
/etc/hostatlas/agent.yamlmatches what you see in the dashboard - Look for auth errors in
journalctl -u hostatlas-agent
Need more help? Email support or run hostatlas doctor from the CLI against the same host.