SafeAI documentation

Zero-touch deployment

Fill in one setup file and SafeAI sets itself up, on VMware, Hyper-V, Proxmox, KVM, Linux, Ansible, Terraform or containers.

Fill in one small setup file, deploy SafeAI the way you deploy everything else, and it sets itself up: it creates the administrator, saves the read-only device account, scans your management ranges, adds every device it can log in to and starts reading them. No setup wizard, no device list.

Deciding where the server goes, which sites need a collector and which firewall rules to request comes first: see the design guide (Design guide (SRND)), which ends with a worksheet of everything the setup file asks for.

1. Prepare (10 minutes, once)

  1. A read-only account on your devices. One username and password that every router, switch and firewall accepts, with read-only rights. Copy-paste configurations for each vendor are in accounts/.
  2. The setup file. Copy safeai.conf.example to safeai.conf and fill in: the administrator password, your management ranges, the read-only account. Everything else is optional. It holds passwords: keep it private and delete it after deploying.
  3. What to download from SafeCadence: the bundle (safeai-observe-X.Y.Z.tar) for servers and clouds, or the appliance image for your hypervisor; and the release-key fingerprint, which SafeCadence gives you separately (put it in the setup file as RELEASE_FINGERPRINT so the install runs unattended).

2. Deploy: pick one

Where What to download How Time
VMware vSphere safeai-observe-X.Y.Z.ova vSphere: Deploy OVF Template, fill in the Customize template page (the same values as the setup file). Or unattended: vmware/deploy-ova.sh (govc), vmware/Deploy-SafeAI.ps1 (PowerCLI) or terraform/vsphere 5 min
Microsoft Hyper-V safeai-observe-X.Y.Z-appliance.vhdx hyperv/Deploy-SafeAI.ps1 -Vhdx ... -Conf safeai.conf -Switch ... 5 min
Proxmox VE safeai-observe-X.Y.Z-appliance.qcow2 proxmox/deploy-proxmox.sh appliance.qcow2 safeai.conf 5 min
KVM / libvirt, Nutanix AHV ...-appliance.qcow2 kvm/deploy-kvm.sh appliance.qcow2 safeai.conf (Nutanix: upload the qcow2 to Image Service, attach the seed ISO from make-seed-iso.sh) 5 min
Any other hypervisor ...-appliance.qcow2 or .vhdx Create a VM (2 CPUs, 4 GB, the disk), attach the ISO from make-seed-iso.sh safeai.conf (Windows: Make-SeedIso.ps1) 10 min
A Linux server you already have (Ubuntu 22.04/24.04, RHEL 9) the bundle tar -xf safeai-observe-X.Y.Z.tar && cd safeai-observe-X.Y.Z && sudo ./install.sh --seed ../safeai.conf 5 min
Many servers / your automation the bundle Ansible: ansible/site.yml (role safeai) 5 min
AWS, Azure, Google Cloud the bundle, in your own bucket terraform/aws, terraform/azure, terraform/gcp: an Ubuntu VM that installs the bundle with cloud-init. Or any cloud-init platform: cloud-init/user-data.yaml 10 min
Containers the bundle (its image) docker/docker-compose.yml 5 min

3. What happens next

  • First minute: SafeAI starts, applies the setup file and deletes it (passwords are kept only encrypted inside SafeAI).
  • Next few minutes: it scans the ranges, logs in to each device that answers on SSH with the read-only account, works out its platform and name, adds it and reads it. Devices appear under Devices as they are found; the audit log lists each one.
  • Then: open https://<address>/, sign in with the administrator from the setup file, and check Coverage for addresses that answered but couldn't be added (with the reason: wrong password, not a platform SafeAI reads, and so on).
  • Device logs: point your devices' syslog at SafeAI's address (the account files in accounts/ include those lines), so changes are seen within seconds rather than at the next scheduled read.

If the setup file has a problem (a short password, a public range, a misspelt setting), SafeAI applies nothing, says why on the console and in seed.error.json, and the browser setup with the setup code still works. Fix the file and run sudo safeaictl seed safeai.conf (Linux) or sudo safeai-seed safeai.conf (appliance).

Large or segmented networks: site collectors

One SafeAI on the minimum server (2 CPUs, 4 GB) is sized for up to about 1,000 devices without log storage (4 CPUs and 8 GB for up to 2,000), measured on a simulated fleet and on the 61-device lab (Architecture, Sizing). For larger estates, or when one server can't reach every site's management network, add a site collector per site or region: the same bundle installed with sudo ./install.sh --collector --seed site.conf, where site.conf holds that site's ranges, read-only accounts and SNMP settings. In the central console, Agents, Site collectors, create an enrollment command for the site and run it on the collector (sudo safeaictl collector-enroll ...).

  • The collector discovers and reads its site's devices with its own accounts; those passwords never leave the site.
  • Every secret in a configuration is replaced at the site, before anything is sent.
  • It connects out to the central SafeAI on TCP 8444 with mutual TLS (the same enrollment and revocation as agents); nothing connects to it, and it listens on no port.
  • Configurations that didn't change since the last report are sent as "unchanged" (no text).
  • Lab test (2 Nov 2026): a collector enrolled with a fresh central SafeAI and, about a minute later, the central had all 44 of the site's routers and switches read, plus the 6 Cisco addresses its SNMP scan identified.

Safeguards in automatic discovery

  • Only the private ranges you list are scanned (at most 4,096 addresses); public addresses are refused.
  • SafeAI tries the read-only account once per address per scan. A refused password stops there: no other usernames, no retries.
  • Each device's SSH identity (host key) is remembered from the first login and pinned: a different machine at that address later is refused before any password is sent. An address that shows a known device's identity and host name is that device's second address and is skipped (cloned devices can share an SSH key, so the key alone doesn't decide).
  • Palo Alto firewalls (HTTPS API), servers, VMware and clouds are added in the console or by CSV, not by the scan.
  • Turn automatic adding off at any time: Settings, Discovery (auto_add). Remove any device it added under Devices.

List only management subnets in DEVICE_RANGES: any machine in those ranges that answers SSH sees one login attempt with the read-only account.

What has been tested

Format Status
The appliance (qcow2) with a setup disk, discovery adding devices tested on the SafeCadence lab (1 Nov 2026): power-on to 44 routers and switches added and read in about 2 minutes, with no wizard. 508 addresses scanned in 70 s; the 12 addresses that refused both accounts (other accounts, Linux servers) are listed with the reason
Linux installer with --seed, upgrades with safeaictl automated tests pass; upgrade tested on the lab appliance
OVA with deployment properties (vSphere) built; the properties are read with VMware Tools at first boot. Not yet run on a customer vCenter
Hyper-V VHDX, Proxmox, Nutanix built from the same disk; not yet run on those hypervisors
Terraform (AWS, Azure, Google Cloud, vSphere), Ansible, Docker Compose written to each tool's documentation; not yet run in those clouds

(This table is updated as each one is run end to end.)

These pages are the documentation that ships inside SafeAI 2.9.85.1, the version you download. Something unclear or wrong? Tell us.