Skip to content

CortexOne Engine: CortexUEE + IA

CortexOne Self-Hosted Installer


Overview

Installing the CortexUEE (Unified Execution Engine) and the Inventory Agent on your server.


Requirements

RequirementMinimum
Operating SystemUbuntu 22.04+
CPU2 cores
RAM4 GB
Disk40 GB free
NetworkOutbound HTTPS access

Opening Port 50051

Google Cloud Platform

Navigate to VPC Network → Firewall → Create Firewall Rule → allow TCP 50051 inbound.

Amazon Web Services

Navigate to EC2 → Security Groups → Edit Inbound Rules → add TCP port 50051.

Microsoft Azure

Navigate to Networking → Add Inbound Port Rule → TCP 50051.

Ubuntu (UFW)

Terminal window
sudo ufw allow 50051/tcp
sudo ufw reload

Installation Command

Run the following command on your server as root or with sudo:

Terminal window
curl -fsSL https://download.cortexone.rival.io/uee-install.sh -o /tmp/uee-install.sh && sudo bash /tmp/uee-install.sh

When the menu appears, select 1) Install CortexUEE + Inventory Agent


Installation Flow

StepWhat HappensAction Required
1Installation guide promptPress Enter to continue
2Server metadata collectionEnter company name, city, state, postal code
3Cloud ProviderEnter the desired cloud
4Public IP detectionNone - detected and saved automatically
5Proceed confirmationPress Y to confirm
6Installation summary displayedReview and note the Node ID

Server Metadata

The installer will ask for the following information to identify your server on the CortexOne dashboard:

FieldDescriptionRequired
Company nameName of your organizationYes
CityCity where the server is physically locatedYes
State / ProvinceState or provinceYes
Postal codePostal / ZIP codeYes
Public IPAuto-detected and saved to /etc/cortexone/server-metadata.confAutomatic

What Gets Installed

ComponentDetails
CortexUEE binaryInstalled at /opt/cortexUEE
Inventory Agent binaryInstalled at /opt/cortexUEE/cortexIA
Engine config/opt/cortexUEE/configs/engine.yaml
Inventory Agent config/opt/cortexUEE/cortexIA/config.json
systemd service - enginecortex-engine
systemd service - agentcortexIA
Installation log/var/log/cortexone-install.log
Server metadata/etc/cortexone/server-metadata.conf

Configuration Reference

The Inventory Agent config is written automatically at /opt/cortexUEE/cortexIA/config.json.

No manual configuration is required.


Post-Installation

Once installation completes, verify the services are running:

Terminal window
systemctl status cortex-engine
systemctl status cortexIA

View the Inventory Agent configuration:

Terminal window
sudo cat /opt/cortexUEE/cortexIA/config.json

Day-to-Day Commands

ActionCommand
Check engine statussystemctl status cortex-engine
Check agent statussystemctl status cortexIA
View engine logsjournalctl -u cortex-engine -f
View agent logsjournalctl -u cortexIA -f
Stop enginesystemctl stop cortex-engine
Restart enginesystemctl restart cortex-engine
Stop agentsystemctl stop cortexIA
Restart agentsystemctl restart cortexIA
View configcat /opt/cortexUEE/cortexIA/config.json
View install logcat /var/log/cortexone-install.log

Cleanup

To completely remove installation from your server, run the installer and select the cleanup option.

Run the Installer

Terminal window
curl -fsSL https://download.cortexone.rival.io/uee-install.sh -o /tmp/uee-install.sh && sudo bash /tmp/uee-install.sh

Select 2) Cleanup

The following will be removed:

ItemPath
systemd servicecortex-engine, cortexIA
Unit files/etc/systemd/system/cortex-engine.service, /etc/systemd/system/cortexIA.service
Install directory/opt/cortexUEE
cortex-pool containersAll containers matching cortex-pool*
Docker imagescortex-python:latest, cortex-python-gpu:latest
Installation log/var/log/cortexone-install.log

Troubleshooting

For common issues and solutions, refer to the CortexOne support documentation.


Next Steps

Port Forwarding Setup