Salesforce

Port settings for installation

« Go Back
Information
Port settings for installation
000004240
Public
Product Selection
aiWare - aiWare
Article Details

As part of the installation and deployment of an aiWARE instance, you will need to ensure that certain nodes and services can communicate via port settings. 

Ports required by aiWARE run modes

If you have a firewall, open the ports listed in the following table for each aiWARE node.

Setting the run mode on an aiWARE node determines which services run on that node, and therefore which ports must be open for those services to run. If a node has multiple run modes, then you must open all the ports for all the run modes on that node.

Run ModePortProtocolDescription
agent (all modes)8000HTTPPrometheus metrics collection.
services (app, api)8443HTTPSLoad balancer (LB) manages the communication to applications and APIs.
automate (automatestudio)5000-6000HTTPProxies connections to Automate Studio. Ports randomly generated.
controller9000HTTPThe API that nodes use for status, monitoring, alerting, and updates.
controller8001HTTPPrometheus metrics and performance collection.
db5432TCPPostgreSQL database for AI Data and AI Processing persistent data.
db9187HTTPPrometheus metrics collection.
es9200HTTPElastic search (ES) index of persistent data. Application search indexes.
engine9580HTTPProgress updates from engines to the agent proxy.
lb8443HTTPSLoad balancer that manages communication with applications and APIs
lb8080HTTPLoad balancer for applications and APIs that do not require SSL
minio10000HTTPPersistent storage of imported and processed content. Application object storage.
nfs2049TCPShared storage via NFS. Particularly /cache and /cache/N where N is a NFS partition number.
nsq4150, 4151, 4160, 4161HTTP, TCPMessage queuing for AI Data and AI Processing services and Applications.
prometheus9090TCPPrometheus metrics collection.
prometheus9091HTTPPushgateway for metrics collection.
prometheus9093HTTPAlert Manager.
redis6379TCPCaching and other temporary data storage of sessions, and searches. Application data storage.
registry443HTTPDocker registry server hosting Docker engine and service images.
registry9111HTTPPrometheus metrics collection.
storage30051, 30551HTTPSecure file storage for engine and agent I/O, logging, and caching.

 

Ports required between aiWARE services

This section provides information about which services need to communicate with each other and over which ports that communication happens.

Connections from the aiware-agent

The aiware-agent is installed on every node (computer, vm) in the aiWARE instance. It connects to the following services over these ports.

ComponentTarget run modePortProtocol and use
AgentController9000HTTP: Agent also communicates with controller to handle specific tasks for that instance such as launching engine containers.
AgentRegistry443HTTP: Used for pulling Docker images. The agent attempts the following registry servers: Registry nodes, registry central, specified registry on the service or engine.
AgentNFS2049TCP: Shared storage via NFS. Particularly /cache and /cache/N where 'N' is a NFS partition number.
AgentStorage Server30051, 30551HTTP: Used for file storage

Connections to controller

Target run modePortProtocol and use
LB (agent)8443HTTPS: If aiWARE instance has an LB/Services run mode, then all connections to controller are through LB

Connections from run modes

Source run modeTarget run modePortProtocol and use
Controller (aiware-controller)Automate5000-6000HTTP: Used for proxying HTTP connections to Automate Studio.
Controller (aiware-controller)Redis6379TCP: Used for Redis.
Controller (aiware-controller)NSQ4150, 4151, 4160, 4161HTTP, TCP Used for queuing
Controller (aiware-controller)Prometheus9090TCP
Controller (aiware-controller)Minio10000HTTP: Access to stored content
Engine (engine-instance)Controller (Specific Instance)9000HTTP: If the controller websocket is listening for a task update, the engine instance POSTs the job and task status along with engine output to the controller that is listening for that task.
Engine (engine-instance)Minio10000HTTP, TCP: Used for uploading processed content.
Prometheus (aiware-prometheus)all agents8000HTTP: Used for agent /metrics.
Prometheus (agent)Controller9000HTTP: Used for node discovery and alerting.
Services (core-*)Redis6379TCP: aiWARE Data uses redis to store sessions, in progress searches and other items. Services/applications may use Redis as well in separate databases.
Services (core-*)Elastic Search9200HTTP: aiWARE Data persists index data in elastic search. Services/applications can use ES indices as well.
Services (core-*)DB5432TCP: aiWARE Data uses separate databases to persist information. Services/applications can use DB as well.
Services (core-*)NSQ4150, 4151, 4160, 4161HTTP, TCP: aiWARE Data uses NSQ for eventing messages. Services/applications may use NSQ as well
Services (core-*)Minio10000HTTP: aiWARE Data uses Min.io for Object Storage.
Services (core-*)Services (Data)8443HTTPS: aiWARE Data uses LB for API access to aiWARE Data and other services.
PrometheusPrometheus9093HTTP: Alert Manager
EnginePrometheus9091HTTP: Pushgateway for Prometheus for Engine Toolkit metrics
EngineStorage Server30051, 30551HTTP: File storage and logging
EngineAgent Proxy9580HTTP: Progress updates
PrometheusDB9187HTTP: metrics
PrometheusRegistry9111HTTP: metrics
PrometheusController8001HTTP: metrics, pprof

Exposed ports outside of the aiWARE instance

Run ModePortProtocolDescription
LB8443HTTPSThis is the external port that exposes the controller, and any services that are hosted. You can put this into a Load Balancer for HA. Expose this port to all networks that can have access to aiWARE
LB8080HTTPHTTP variant of port 8443. This port does not work with applications that require secure cookies
Controller9000HTTPIf no LB node is in the cluster, expose this to the networks you want to have access to aiWARE
Additional Technical Documentation Information
Properties
2/16/2024 5:15 PM
2/16/2024 5:16 PM
2/16/2024 5:16 PM
Documentation
Documentation
000004240
Translation Information
English

Powered by