Skip to content

Supported Installation Methods

The Workbench is supported on x86_64 (amd64) and arm64 when installed with RPM packages from the pgEdge repository, or binary files or source code from the pgEdge GitHub repository. Additionally, macOS installations on x86_64 or arm64 are supported from GitHub.

  • Installing from RPM or DEB packages in the pgEdge Enterprise Repository sets up the Workbench components as systemd services that run as the pgedge user.
  • Building from binary files is the easiest method to use to deploy the Workbench.
  • Building from source code ensures you have the latest Workbench features available.
  • The Docker guide walks you through a Workbench deployment via Docker, using container images that pgEdge builds from source and publishes to the GitHub Container Registry as ghcr.io/pgedge/ai-dba-*.

Each installation method places files in different locations. The following table summarizes the locations for each deployment method.

Resource GitHub Release Docker RPM/DEB Package
Binaries /opt/ai-workbench/ /usr/local/bin/ /usr/bin/
Config /etc/pgedge/ /etc/pgedge/ (mounted) /etc/pgedge/
Data user-chosen /data/ /var/lib/pgedge/<service>/
Logs stderr stderr /var/log/pgedge/<service>/
Client files /opt/ai-workbench/client/ container-served /usr/share/pgedge/ai-dba-client/
systemd units pgedge-ai-dba-*.service N/A pgedge-ai-dba-*.service
Run-as user user-chosen container user pgedge

Note

RPM and DEB packages are available from the pgEdge Enterprise Repository. If you're using pgEdge packages for deployment, note that the packages create and use the pgedge user automatically, and you do not need to manually adjust your systemd files to manage the service. The Docker deployment does not use the packages.

Contact pgEdge for information about accessing the enterprise packages.

System Requirements

The following minimum requirements apply to all deployment environments. The collector, server, and alerter components share the following hardware requirements:

  • A minimum of 4 CPU cores is required.
  • The system requires at least 16 GB of RAM.
  • The installation requires 120 GB of disk space for binaries and the datastore.

Before installing the Workbench with binary files or building the project from source, install the following software:

  • Go 1.26.11 or a later 1.26 release, or Go 1.27.4 or later, is required for building server-side components.
  • Node.js 22.12 or later is required for building the web client.
  • PostgreSQL 15 or later is required for the datastore; each monitored server must also run PostgreSQL 15 or later.
  • Make is required for build automation.
  • nginx is required to serve the client.

Each component requires specific network access to operate correctly:

  • The collector requires network access to each monitored PostgreSQL server.
  • The alerter requires network access to the datastore.
  • The server requires network access to the datastore and must be reachable by web client users.
  • Database credentials for the datastore and each monitored PostgreSQL server are required.

Customizing Configuration Files

The installation guides linked above share the details required to get a minimal deployment of the Workbench installed and serving content. Additional configuration options are extensive; for details about options available in each configuration file, see:

  • The server guide covers TLS, authentication, and LLM integration.
  • The collector guide covers tuned connection pools and SSL.
  • The alerter guide covers anomaly detection and notification channels.
  • The web client guide covers proxy settings and build options.