- The AI Security Platform: Self-Hosted/Air-Gapped can also be deployed on a Bring Your Own Kubernetes cluster using Helm.
Before You Begin
Before deploying the AI Security Platform: Self-Hosted/Air-Gapped, make sure you understand the Prerequisites.Prepare the Hosts
Do the following on the controller and on every worker, including the GPU worker. This section provides guidelines:- This section provides information gathered from verified installations.
- This section does not provide guidance for every operating system.
- Some information in this section is for specific operating systems. When applicable, those operating systems are identified.
Baseline
Run the following command to check that the disk is 200 GB provisioned. The command also checks the kernel and OS. Run this on every node.Hostname
Set a Kubernetes hostname before joining any nodes. Changing the hostname afterward means rebuilding the node. The hostname must be 55 characters or less.Clock
Run the following command.System clock synchronized: yesNTP service: active
Prepare the GPU Node for RHEL
The following commands are for RHEL 9 / Rocky 9. This is to install the driver before joining any nodes.The following is for specific Linux distributions (as noted) and do not apply to all Linux distributions.
- Do not update the kernel first. The driver install pulls the matching kernel.
-
Do not create
/etc/k0s/containerd.d/nri.tomlorcdi.toml. -
For Deep Learning AMI, no modifications are required. The driver is pre-baked. Choose the Base variant.
-
Reboot
-
Verify
Install Admin Console
The Admin Console allows you to manage your controller and worker nodes used by the platform. The Admin Console is not the HiddenLayer Console UI (Platform Console). When the Admin Console is deployed, the following are created:- Admin Console
- A controller node
- Add new nodes
- Edit the platform configuration
- Use the troubleshooting feature to collect logs, resources, and other data to send to HiddenLayer for support
- Every command runs as root
sudo -ifirst, or prefix each command. - Anything in
<angle brackets>is a value you must supply. Pasting commands as-is, the shell treats it as a redirect.
Step 1: Download and Extract the Bundle
Download and extract the AI Security Platform bundle to the system where the platform will be deployed.For Air-Gapped deployments
- After downloading, transfer the bundle to the system where the AI Security Platform will be deployed.
- Then extract the bundle and follow the rest of the instructions.
-
Open a terminal and download the bundle.
- Replace
<License ID>with your HiddenLayer AI Security Platform License.
- Replace
-
Extract the bundle contents.
- The following command yields the
aisec-platformbinary, theaisec-platform.airgapbundle, and thelicense.yaml. Neither command needssudo.
- The following command yields the
Step 2: Install the Admin Console
The Self-Hosted deployment includes an Admin Console that provides commands for adding nodes and cluster status.-
Install the Self-Hosted Admin Console and follow the on-screen instructions.
- This command runs as root
sudo -ifirst, or prefix the command.
- This command runs as root
-
Set the Admin Console password. This password will be used to login to the Admin Console in the next step.
- After you set the password, an IP address displays; this is for the Admin Console and is used in the next section.
- This password is for the Admin Console login, not the AI Security Platform Console login.
- You will create the AI Security Platform Console login later in this configuration.
-
Navigate to the outputted URL for the Admin Console.
Example URL:
http://10.2.151.147:30000 - Log in to the Admin Console using the password you created.
-
Choose what certificate to use, then click Continue.
-
Self-signed: The installer will create a private key and SSL certificate. Can be used for testing.
- Note: Using a self-signed certificate may result in a web browser warning message when going to the Admin Console URL. You must select to proceed to the Admin Console. This process will vary by web browser.
- Upload your own: You need to upload a private key and an SSL certificate. Recommended for production.
- Hostname (optional)

-
Self-signed: The installer will create a private key and SSL certificate. Can be used for testing.
-
Log in to the Admin Console using the password you created.

Step 3: Configure the Nodes
In this step, you will add all of your nodes to the cluster. Be aware of the following:- The initial deployment of the Admin Console includes one controller node. This was done when you deployed the Admin Console in the previous step.
- A GPU worker is required for production environments. A CPU-only option is possible, but not recommended for production environments due to significantly slower performance. Please contact your HiddenLayer representative for more information.
For RHEL and Rocky, expect an initial failure when joining a node.
- SELinux is set to Enforcing on this OS. See the steps below for more information and a resolution.
- Make sure you are logged in to the Admin Console.
-
Add more controller, worker, and GPU worker nodes to meet your organization’s requirements.
- Do this before configuring the AI Security Platform (which is the next step).
Install only one role on each system.- A node joined under the wrong role cannot be relabeled. Run
aisec-platform reseton the node, then join again with the correct role.
-
To add a controller, select controller and deselect all other options.
- Use the commands on the systems to join the controller nodes.
-
To add a worker node, select worker and deselect all other options.
- Use the commands on the systems to join the worker nodes.
-
To add a GPU worker node, select gpu and deselect all other options.
- Use the commands on the systems to join the GPU worker nodes.
-
As nodes are added, they should appear in the nodes table, under the commands.

-
For RHEL and Rocky, expect an initial failure when joining a node.
- This is because SELinux is set to Enforcing by default on RHEL and Rocky.
- Note: The install must fail before running the fix commands.
-
The error message looks like the following:
-
The fix is to run the following commands after you receive the error.
- These commands run as root
sudo -ifirst, or prefix the command.
- These commands run as root
-
Then join the node by running the join command supplied in the Admin Console.

-
You will receive a
Node is readymessage when the node has successfully joined. - When you are done adding nodes, click Continue in the Admin Console.
Step 4: Configure the AI Security Platform
Configure the AI Security Platform. The following steps describe each configuration field.Notes
- Some fields appear when a value is entered into the parent field, such as Database Host or OpenSearch URL.
-
Leaving the fields blank for Database Host, Kafka Brokers, and OpenSearch URL will cause the installer to enter “Sandbox Mode” and use embedded services.
- Sandbox Mode is for testing and POC purposes only, it is not supported for production environments. Sandbox Mode may not have all features available.
-
Make sure you are logged in to the Admin Console and you are on the Configuration page.
- Enter your configuration and service information in the following steps.
-
Hostname
- This the DNS hostname will be used to login to the Platform Console.

-
Disable TLS verification
- Enable this option if using a self-signed certificate.
- This option should not be enabled if using your own certificate.
-
Email
- This email will be the user name to login to the Platform Console.
- The initial user created is an Administrator for the Platform Console.
-
Password
- This password is for the initial user login.
- The password must be a minimum of 8 characters and a maximum of 256.
-
Database Host
-
Example:
your.database.hostname.com -
When you enter a hostname, other database fields display. Enter the required information.
-
Database Port
- Example:
5432
- Example:
- Database User
- Database Password
-
Database Port

-
Example:
-
Kafka Brokers
- The broker entries can be entered as comma separated values.
-
Example:
-
Redis Host
- Primary endpoint address, port
-
FusionAuth OpenSearch URL
-
Example:
https://your.opensearch.hostname.com:443 -
When you enter a URL, other OpenSearch fields display. Enter the required information.
- OpenSearch User
- OpenSearch Password
-
Example:
-
Reporting OpenSearch URL
The Enable GPU acceleration for Runtime Security checkbox is selected by default and is intended for production deployments.

-
Attack Simulation OpenAI API Key
- An OpenAI key, required for Attack Simulation evaluations.
- The evaluation service calls
api.openai.comdirectly. - Leave this blank on an isolated network (air-gapped).
-
Runtime Security GPU Replicas
- Each replica claims a whole GPU device on its own node, so a second replica on a single-GPU install stays
Pending. - Defaults to 1.
- Each replica claims a whole GPU device on its own node, so a second replica on a single-GPU install stays
- Click Continue.
Step 5: Validate the environment & deploy HiddenLayer Platform
After the initial setup is complete, you will be re-directed to the Admin Console.- The Self-Hosted AI Security Platform will take time to complete installation after the package is deployed.
- The Platform Console will be accessible when the status changes to “Ready” as seen in the Admin Console.


