> For the complete documentation index, see [llms.txt](https://knowledgebase.autorabit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.autorabit.com/product-guides/integral-zone/iz-suite/installation/proof-of-concept-installation.md).

# Proof of Concept Installation

Run IZ Suite on a single VM with Docker Compose for a proof of concept or trial.

A proof of concept runs every IZ Suite component on one VM with Docker Compose: PostgreSQL, the server, a worker and an agent. A start script generates the secrets, downloads the images and starts everything.

{% hint style="warning" %}
Before you start, make sure you have:

* A licence key from AutoRABIT.
* An x86-64 VM sized with AutoRABIT; see [Requirements & Sizing](https://knowledgebase.autorabit.com/product-guides/integral-zone/iz-suite/installation/requirements-and-sizing.md).
* Outbound HTTPS from the VM to `public.ecr.aws`, `artifacts.integralzone.com`, `license.integralzone.com` and the platforms you want to assess.
  {% endhint %}

## Install Docker

On Ubuntu 24.04 or Debian 12, install Docker Engine and the Compose plugin from Docker's repository (see the [Docker documentation](https://docs.docker.com/engine/install/)), then add your user to the `docker` group and sign in again:

```sh
sudo usermod -aG docker "$USER"
```

Check the installation with `docker compose version`.

## Get the Installation Files

Create a folder, for example `~/izsuite`, with two files:

{% code title="docker-compose.yml" %}

```yaml
# IZ Suite on a single VM: postgres, iz-suite-server, iz-suite-worker and iz-suite-agent.
# Start it with ./up.sh <version>, which also creates .env with the generated secrets.

x-logging: &logging
  driver: json-file
  options: { max-size: "50m", max-file: "5" }

x-server-env: &server-env
  DATABASE_URL: postgres://izsuite:${POSTGRES_PASSWORD:?run ./up.sh}@postgres:5432/izsuite
  # Never change once data exists: stored credentials can no longer be decrypted.
  SECRETS_ENCRYPTION_KEY: ${SECRETS_ENCRYPTION_KEY:?run ./up.sh}
  # Version of the agent and job-type components. Set by up.sh.
  AGENT_JOB_TYPE_VERSION: ${AGENT_JOB_TYPE_VERSION:?run ./up.sh <version>}
  # Key pair that signs user sessions. Generated once by up.sh; replacing it signs everyone out.
  SESSION_JWT_PRIVATE_KEY: ${SESSION_JWT_PRIVATE_KEY:?run ./up.sh}
  SESSION_JWT_PUBLIC_KEY: ${SESSION_JWT_PUBLIC_KEY:?run ./up.sh}
  # Database connections per server and worker process. Keep the total under Postgres's limit of 100.
  IZ_LOCAL_PG_POOL_MAX: ${IZ_LOCAL_PG_POOL_MAX:-25}

services:
  postgres:
    image: public.ecr.aws/docker/library/postgres:16
    restart: unless-stopped
    logging: *logging
    environment:
      POSTGRES_DB: izsuite
      POSTGRES_USER: izsuite
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?run ./up.sh}
    volumes:
      - pgdata:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U izsuite -d izsuite"]
      interval: 10s
      timeout: 5s
      retries: 10

  # Applies database updates at start; the worker and agent wait until it is healthy.
  iz-suite-server:
    image: ${IMAGE_REGISTRY:-public.ecr.aws/h0h7r7j4}/iz-suite-server:${IZ_VERSION:?run ./up.sh <version>}
    restart: unless-stopped
    logging: *logging
    depends_on:
      postgres: { condition: service_healthy }
    ports:
      - "${HTTP_PORT:-80}:80"
    environment:
      <<: *server-env
      FALCON_MODE: api
      AGENT_WRAPPER_SECRET: ${AGENT_WRAPPER_SECRET:?run ./up.sh}
    healthcheck:
      test: ["CMD-SHELL", "curl -fsS http://localhost/api/graphql/health || exit 1"]
      interval: 15s
      timeout: 10s
      retries: 5
      start_period: 600s   # the first start applies every database update

  iz-suite-worker:
    image: ${IMAGE_REGISTRY:-public.ecr.aws/h0h7r7j4}/iz-suite-server:${IZ_VERSION:?run ./up.sh <version>}
    restart: unless-stopped
    logging: *logging
    stop_grace_period: 120s
    depends_on:
      iz-suite-server: { condition: service_healthy }
    environment:
      <<: *server-env
      FALCON_MODE: worker
      NODE_OPTIONS: --max-old-space-size=${WORKER_NODE_HEAP_MB:-3072}

  iz-suite-agent:
    image: ${IMAGE_REGISTRY:-public.ecr.aws/h0h7r7j4}/iz-suite-agent:${IZ_VERSION:?run ./up.sh <version>}
    restart: unless-stopped
    logging: *logging
    stop_grace_period: 120s
    depends_on:
      iz-suite-server: { condition: service_healthy }
    environment:
      FALCON_AGENT_OPTS: --serviceUrl http://iz-suite-server
      # Must match the server's value. Generated by up.sh.
      AGENT_WRAPPER_SECRET: ${AGENT_WRAPPER_SECRET:?run ./up.sh}

volumes:
  pgdata:
```

{% endcode %}

{% code title="up.sh" %}

```sh
#!/bin/sh
# Usage: ./up.sh <version> [agent-job-type-version]    e.g. ./up.sh 26.4.2
# The agent and job-type version defaults to <version>; pass a second value only if AutoRABIT asks you to.
# Optional env (read from .env or the shell): HTTP_PORT (80), IMAGE_REGISTRY.
#
# First run writes .env with generated secrets; later runs keep them and only change
# IZ_VERSION and AGENT_JOB_TYPE_VERSION, and add the session JWT keys if missing. Keep
# .env backed up: SECRETS_ENCRYPTION_KEY decrypts data in the database, and losing it
# makes stored credentials unreadable.
# Never touches the database volume: an upgrade keeps all data and the server applies
# the new release's migrations at boot.
set -eu
cd "$(dirname "$0")"

VERSION="${1:?usage: ./up.sh <version> [agent-job-type-version]   e.g. ./up.sh 26.4.2}"
AGENT_JOB_TYPE_VERSION="${2:-$VERSION}"

if [ ! -f .env ]; then
  umask 077
  hex() { openssl rand -hex 32; }
  {
    echo "POSTGRES_PASSWORD=$(hex)"
    echo "SECRETS_ENCRYPTION_KEY=$(hex)"
    echo "AGENT_WRAPPER_SECRET=$(hex)"
  } > .env
  echo "created .env (back it up)"
fi

# Set KEY=VALUE in .env (drop any old line, append the new one); safe for base64 values.
set_env() {
  sed -i.bak "/^$1=/d" .env && rm -f .env.bak
  echo "$1=$2" >> .env
}
# The server refuses to boot a version older than the one the database last recorded,
# so only move forward.
set_env IZ_VERSION "$VERSION"
set_env AGENT_JOB_TYPE_VERSION "$AGENT_JOB_TYPE_VERSION"

# Session JWT RSA pair: generated only when .env has none, then reused on every run.
if ! grep -q '^SESSION_JWT_PRIVATE_KEY=.' .env; then
  umask 077
  openssl genrsa -out .session.pem 2048 2>/dev/null
  set_env SESSION_JWT_PRIVATE_KEY "$(base64 < .session.pem | tr -d '\n')"
  set_env SESSION_JWT_PUBLIC_KEY "$(openssl rsa -in .session.pem -pubout 2>/dev/null | base64 | tr -d '\n')"
  rm -f .session.pem
  echo "generated session JWT keys in .env (back it up)"
fi

docker compose pull
docker compose up -d
docker compose ps
```

{% endcode %}

Make the script executable: `chmod +x up.sh`.

## Start IZ Suite

1. In the folder, run the script with the release to install:

   ```sh
   ./up.sh 26.4.2
   ```

   On the first run it creates `.env` with a generated database password, secrets encryption key, agent secret and session signing keys, downloads the images and starts the stack.
2. Wait for the server to become healthy. The first start applies every database update and takes a few minutes:

   ```sh
   docker compose ps
   docker compose logs -f iz-suite-server
   ```
3. Open `http://<VM address>` in a browser and continue with [First Start](https://knowledgebase.autorabit.com/product-guides/integral-zone/iz-suite/installation/first-start.md).

{% hint style="danger" %}
Back up `.env` outside the VM. It holds the database password, the secrets encryption key and the session signing keys (replacing them signs everyone out). Without the encryption key, the credentials stored in IZ Suite cannot be read again, even from a database backup.
{% endhint %}

{% hint style="info" %}
Until the licence is applied, the agent restarts repeatedly and logs an error when it tries to register. This is expected: applying the licence creates the agent's registration, and its next restart succeeds.
{% endhint %}

## Add HTTPS

The server listens on plain HTTP on port 80 (change it with `HTTP_PORT` in `.env`). For anything beyond a local trial, put HTTPS in front of it: a cloud load balancer with your certificate, or a reverse proxy such as nginx or Caddy on the VM that forwards to port 80. Point your IZ Suite hostname at it and use that address as the **Base URL** when you apply the licence.

## Operate the Stack

Run these from the installation folder:

| To                                           | Run                                                                                           |
| -------------------------------------------- | --------------------------------------------------------------------------------------------- |
| See status and health                        | `docker compose ps`                                                                           |
| Follow logs                                  | `docker compose logs -f iz-suite-server` (or `iz-suite-worker`, `iz-suite-agent`, `postgres`) |
| Stop everything (containers are kept)        | `docker compose stop`                                                                         |
| Start again after a stop                     | `docker compose start`                                                                        |
| Remove the containers (the database is kept) | `docker compose down`                                                                         |
| Start again after `down`                     | `./up.sh <release>`                                                                           |
| Restart one component                        | `docker compose restart iz-suite-agent`                                                       |
| Back up the database                         | `docker compose exec -T postgres pg_dump -U izsuite -Fc izsuite > izsuite.dump`               |

Every container restarts by itself after a VM reboot unless you stopped it.

{% hint style="danger" %}
Never run `docker compose down -v`. The `-v` option deletes the database volume and every IZ Suite record with it.
{% endhint %}

Schedule a daily snapshot of the VM disk, or a daily `pg_dump`, and keep a copy of `.env` with it.

## Next Steps

* [First Start](https://knowledgebase.autorabit.com/product-guides/integral-zone/iz-suite/installation/first-start.md): apply the licence and sign in.
* [Upgrades](https://knowledgebase.autorabit.com/product-guides/integral-zone/iz-suite/installation/upgrades.md): move the proof of concept to a newer release.
* [Production Deployment](https://knowledgebase.autorabit.com/product-guides/integral-zone/iz-suite/installation/production-deployment.md): the recommended setup once the proof of concept succeeds.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://knowledgebase.autorabit.com/product-guides/integral-zone/iz-suite/installation/proof-of-concept-installation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
