Host Directories
PrivX can be configured to fetch cloud instances or hosts through cloud APIs. For cloud hosts, PrivX will also show instance status and cloud region in the administrator user interface.
PrivX supports the following cloud environments as host directories:
- Amazon AWS
- Google Cloud Platform
- Microsoft Azure
- OpenStack
- Oracle Cloud
- Proxmox VE
- VMWare vSphere
PrivX can also use Universal SSH Key Manager as Host Directory.
Types of Host States Imported to PrivX
After a host directory is configured, only hosts that are in usable state are imported to PrivX. This means cloud hosts in states like 'Stopped', 'Terminated' and so on are not imported to PrivX. Different clouds have different terminologies for the host states. The host states specific to each cloud host directory that are filtered for import are as follows.
AWS
Only ec2 instances in states "running" and "pending" states are imported to PrivX.
Azure
VM instances in the states "Failed" and "Deleting" are filtered out during host import to PrivX
Google Cloud
Google Compute Instances in the states "STOPPED", "STOPPING" and "TERMINATED" are filtered out during host import to PrivX.
OpenStack
Openstack Instances in the states "DELETED" and "SHUTOFF" are filtered out during host import to PrivX.
Configuring Cleanup of Deleted Hosts
When PrivX detects that non-local hosts were deleted from the source directory, it marks the corresponding host entries as deleted. After the configured retention period expires, PrivX permanently removes these entries during the next housekeeping run.
To configure this cleanup, go to Administration → Settings → Host Store, under Host Housekeeping:
- Housekeeping Interval: The interval at which PrivX checks for and removes old deleted-host entries. By default, 168 hours (1 week). Changes apply when you save the settings, without restarting PrivX. Set the interval to
0to disable automatic removal of deleted-host entries. - Deleted Host Expunction Delay: The duration for which deleted-host entries are preserved. By default, 168 hours (1 week).
For information about how interval changes affect task execution, see Configuring Housekeeping Tasks.