Skip to content

Usage Instructions

ClairAI Observability Platform: AWS Marketplace Usage Instructions

Field Value
Document AWS Marketplace Usage Instructions
Version 1.1.1
Publisher Info Services
Delivery Type Helm-based container product for Amazon EKS
Target Platform Amazon EKS 1.30 or later on Graviton (arm64) nodes
Chart Version 1.1.1

Topics

1. Purpose and AWS Marketplace Coverage

This document provides buyer-facing instructions to deploy, configure, validate, monitor, upgrade, and uninstall ClairAI 1.1.1 as an AWS Marketplace Helm-based container product on Amazon EKS. The AWS Marketplace listing shows a short Quick Start; this page is the full reference behind it.

2. Product Overview

ClairAI is an observability layer for data and ML platforms on AWS. It runs inside your own EKS cluster on Graviton (arm64) nodes and keeps every log line and metric in your account: logs in Grafana Loki or ClickHouse, metrics in your Amazon Managed Service for Prometheus workspace, dashboards in your Amazon Managed Grafana workspace.

What it does:

  • Automatic discovery every 5 minutes of AWS pipelines (Glue, Step Functions and the Lambda functions they invoke, EMR, MWAA), Databricks jobs and registered models
  • One Alerts page for pipelines, jobs, models, applications and the platform: recipes, a composer with a backtest, store-agnostic suggestions, and alerts tied to the pipeline, job or model they came from
  • Auto-RCA: when an alert fires, ClairAI gathers the logs, metrics, run history and Databricks system-table evidence around it, groups re-fires into one incident episode, proposes a root cause with the evidence it used, and recommends a fix
  • Copilot: ask questions about your estate in plain language and get answers grounded in retrieved evidence, with every source listed
  • Model quality monitoring: training and production metrics, feedback on model-generated issues published as alertable series, version comparison
  • Cost monitor: the AWS cost of the monitored estate by account, in one place

ClairAI recommends and confirms. It surfaces root causes, drafts remediation and asks a human to approve; it does not change your infrastructure on its own.

Components

  • Backend: discovery, alerting, incidents, logs, models and cost APIs
  • Frontend: React dashboard with Cognito SSO
  • Copilot Agent: Copilot and Auto-RCA powered by Amazon Bedrock
  • Prometheus MCP Server: queries Amazon Managed Service for Prometheus via Model Context Protocol
  • Loki MCP Server: queries Grafana Loki logs via Model Context Protocol
  • ClickHouse MCP Server: queries ClickHouse logs and metrics via Model Context Protocol
  • Billing MCP Server: AWS Cost Explorer analysis via Model Context Protocol
  • YACE: Yet Another CloudWatch Exporter, collecting AWS CloudWatch metrics
  • OpenTelemetry Collector: receives and scrapes platform and Databricks metrics and logs and writes them to your metrics workspace and log store
  • kube-state-metrics: Kubernetes object metrics for the platform
  • Fluent Bit: ships cluster logs to the log store
  • Loki (Grafana Loki 3.7.10) or ClickHouse (ClickHouse 24.8): the log store you choose at install
  • AWS Load Balancer Controller: a prerequisite you install in the cluster before ClairAI (not part of the Marketplace repository)

Tiers

Starter Standard Enterprise
Logs 500 GB/month 1 TB/month 5 TB/month
Hosts 25 50 200
Users 10 20 50
Retention 30 days 30 days 90 days
Amazon Managed Grafana seats (editors + viewers) 2 + 8 5 + 15 10 + 40
Also included Custom integrations, dedicated support

Tiers are annual contracts; AWS infrastructure is billed separately by AWS. Every tier includes discovery every 5 minutes, alert pipeline links, Auto-RCA, the Copilot, model quality monitoring, Databricks job and model monitoring and the cost monitor. Tier caps are contractual and reported by the product; they are not enforced by throttling in this release.

Not included: the Databricks DBUs your own jobs, clusters and SQL warehouses consume, Amazon Bedrock usage for the Copilot and Auto-RCA, and Amazon Managed Grafana seats beyond the tier allowance.

3. AWS Marketplace Delivery Information

One Marketplace repository holds every image under a 1.1.1-<component> tag.

Component Image Tag Origin
Backend 1.1.1-backend ClairAI build
Frontend 1.1.1-frontend ClairAI build
Copilot Agent 1.1.1-agent ClairAI build
Prometheus MCP 1.1.1-prometheus-mcp ClairAI build
Loki MCP 1.1.1-loki-mcp ClairAI build
Billing MCP 1.1.1-billing-mcp ClairAI build
ClickHouse MCP 1.1.1-clickhouse-mcp ClairAI build
YACE 1.1.1-yace ClairAI build
OpenTelemetry Collector 1.1.1-otel-collector ClairAI build
kube-state-metrics 1.1.1-kube-state-metrics ClairAI build
Fluent Bit 1.1.1-fluent-bit ClairAI build
Loki 1.1.1-loki Mirrored Grafana Loki 3.7.10
Loki gateway 1.1.1-loki-gateway nginx-unprivileged 1.31-alpine with Alpine security fixes applied
ClickHouse 1.1.1-clickhouse Mirrored ClickHouse 24.8
Artifact URI
Helm Chart oci://709825985650.dkr.ecr.us-east-1.amazonaws.com/info-services/clairai
Chart Version 1.1.1
ECR Registry 709825985650.dkr.ecr.us-east-1.amazonaws.com
Repository info-services/clairai
Image URI pattern 709825985650.dkr.ecr.us-east-1.amazonaws.com/info-services/clairai:1.1.1-<component>

All images are linux/arm64 (Graviton). No amd64 images are published. The chart pulls nothing from outside this repository; one log store is installed, so a given install pulls either the Loki and Loki gateway images or the ClickHouse image.

4. Prerequisites

AWS Prerequisites

  • Active AWS account with an AWS Marketplace subscription for ClairAI
  • Amazon EKS cluster, Kubernetes 1.30 or later (tested on 1.30 to 1.33), with Graviton (arm64) capacity: Karpenter 1.0 or later, or EKS managed node groups
  • AWS CLI v2 configured for the account that holds the subscription
  • kubectl configured for the EKS cluster
  • Helm 3.15 or later with OCI registry support
  • envsubst (GNU gettext)
  • eksctl only for the managed node group path (without Karpenter)
  • A DNS name for the UI and an ACM certificate in the cluster's region covering it and the three direct hosts (backend., assistant. and agent-backend. under the UI name by default)
  • An Amazon Cognito user pool and app client for the UI and API (a trial may run with AUTH_ENABLED=false instead; see section 13)
  • The IRSA roles in section 8, created before the install
  • The installer, value templates, tier overlays, node pool manifests and the DynamoDB template. They ship inside the chart (helm pull ... --untar puts them in clairai/marketplace/, section 6) and as a tarball at https://clairai-marketplace-assets.s3.us-east-1.amazonaws.com/installer/1.1.1/clairai-marketplace-installer-1.1.1.tgz
  • Optional: a Databricks service principal per monitored workspace (CAN USE on the SQL warehouse, SELECT on the model feedback table) with its credentials in AWS Secrets Manager, if you want model feedback

AWS Services Required

Service Purpose
Amazon EKS Container orchestration on Graviton (arm64) node pools
Amazon Managed Service for Prometheus Metrics storage (one workspace)
Amazon Managed Grafana Dashboards and alert rules (one workspace)
Amazon S3 Loki chunks and index, log archive, RCA knowledge base
Amazon DynamoDB 22 tables for configuration, connectors, alerts, inventories, RCA reports, scopes and sessions, created by the CloudFormation stack in section 9
Amazon Cognito User pool for the UI and API (optional for a trial with AUTH_ENABLED=false)
AWS Secrets Manager Application secrets, connector credentials
Amazon Bedrock Claude model family for the Copilot and Auto-RCA
Amazon CloudWatch Metrics read by YACE, log groups onboarded as log sources
AWS Cost Explorer Cost monitor
Elastic Load Balancing ALB for the UI and API; NLB for log ingest (optional)

DynamoDB tables and S3 buckets follow the clairai-<ENV_NAME>-<purpose>-<REGION_SHORT> naming in customer.env.example; the tables are created by the CloudFormation stack described in section 9.

Item Value
Kubernetes version 1.30 to 1.33
Architecture arm64 (Graviton); linux/arm64 images only
Stateful node pool (on-demand) 3 x r6g.large (Starter, Standard); 4 x r6g.xlarge (Enterprise)
Stateless node pool (Spot with on-demand fallback) Every tier; Spot purchasing is optional at Starter, where the pool may run on-demand only
Node pool manifests clairai/marketplace/node-pools/ (inside the pulled chart): Karpenter v1 NodePool and EC2NodeClass per tier, or eksctl managed node group equivalents
AWS Load Balancer Controller Required for the ALB ingress; install it in the cluster before running the installer (upstream Helm chart with its IRSA role). INSTALL_ALB_CONTROLLER=true still lets the installer add it from the public EKS registry, outside the Marketplace repository and outside the release scan

5. Subscribe to ClairAI

  1. Open AWS Marketplace and search for ClairAI
  2. Subscribe to the product
  3. Wait until the subscription is active before proceeding

6. Authenticate Helm to AWS Marketplace ECR

aws ecr get-login-password --region us-east-1 | \
  helm registry login --username AWS --password-stdin \
  709825985650.dkr.ecr.us-east-1.amazonaws.com

Validate chart access:

helm pull oci://709825985650.dkr.ecr.us-east-1.amazonaws.com/info-services/clairai --version 1.1.1 --untar

The same aws ecr get-login-password command works for docker login if you mirror the images into a private registry; point CLAIRAI_ECR_REGISTRY in customer.env at the mirror.

7. Kubernetes Namespaces

The installer creates every namespace it needs (--create-namespace), so there is no manual step. The releases land here:

Namespace Helm releases
clairai-core clairai-backend, clairai-frontend
clairai-agent clairai-assistant
clairai-mcp prometheus-mcp, loki-mcp or clickhouse-mcp, billing-mcp
clairai-metrics-manager clairai-otel, clairai-yace
clairai-logs-manager loki or clairai-clickhouse
clairai-logging clairai-fluentbit
kube-system clairai-kube-state-metrics, aws-load-balancer-controller (optional)

8. IAM Roles for Service Accounts (IRSA)

8.1 Associate OIDC Provider

eksctl utils associate-iam-oidc-provider \
  --cluster <CLUSTER_NAME> --region <REGION> --approve

8.2 Create the IAM Roles

Create one IAM role per row before the install. Each role trusts the cluster's OIDC provider for the service account named, and customer.env carries the role names; the values build arn:aws:iam::<AWS_ACCOUNT_ID>:role/<name>. The Helm releases create the service accounts and annotate them with the role.

customer.env variable Service account (namespace) Grants
IRSA_ROLE_BACKEND k8s-config-service-sa (clairai-core) DynamoDB tables, S3 buckets, Secrets Manager, SNS publish, Amazon Managed Service for Prometheus rules and query, Amazon Managed Grafana API, STS assume into monitored accounts, Lambda invoke for log ingest
IRSA_ROLE_AGENT clairai-assistant-sa (clairai-agent); defaults to the backend role Bedrock InvokeModel and GetInferenceProfile, read access to the backend's evidence stores
IRSA_ROLE_YACE_OTEL k8s-config-service-yace-sa, k8s-config-service-otel-sa (clairai-metrics-manager) CloudWatch GetMetricData and ListMetrics, tagging:GetResources, STS assume into monitored accounts, Amazon Managed Service for Prometheus remote write
IRSA_ROLE_LOKI loki (clairai-logs-manager) S3 read and write on LOKI_BUCKET
IRSA_ROLE_BILLING billing-mcp (clairai-mcp) Cost Explorer read, STS assume into monitored accounts
IRSA_ROLE_PROMETHEUS_MCP prometheus-mcp (clairai-mcp) aps:QueryMetrics on AMP_WORKSPACE_ID
IRSA_ROLE_ALB aws-load-balancer-controller (kube-system); only when you let the installer add the controller (INSTALL_ALB_CONTROLLER=true) The AWS Load Balancer Controller policy

Fluent Bit ships to the in-cluster log store and needs no AWS role. The frontend reuses the backend service account.

The backend role needs read and write access to the ClairAI DynamoDB tables and their indexes (GetItem, BatchGetItem, PutItem, UpdateItem, DeleteItem, BatchWriteItem, ConditionCheckItem, Query, Scan, DescribeTable, plus DescribeTimeToLive and UpdateTimeToLive on the audit table). Passing the role name as BackendRoleName to the tables stack in section 9 attaches exactly this policy, so the role's own policy need not name the tables, and no CreateTable permission is required because the stack creates every table. The agent shares the backend role by default; a dedicated agent role needs only GetItem, PutItem and DeleteItem on the agent-session-focus table (pass it as AgentRoleName).

8.3 Node IAM Role

The node pool manifests take the IAM role name the nodes assume as NODE_ROLE. It carries AmazonEKSWorkerNodePolicy, AmazonEKS_CNI_Policy, AmazonEC2ContainerRegistryReadOnly and AmazonSSMManagedInstanceCore. NODE_ROLE is not in customer.env.example; export it before rendering the node pools (section 11.1).

9. Create the DynamoDB Tables

ClairAI keeps its configuration, connectors, alert definitions, inventories, RCA reports, user scopes and sign-in sessions in 22 DynamoDB tables named clairai-<ENV_NAME>-<purpose>-<REGION_SHORT> (the RCA knowledge base carries no region suffix). Helm creates no AWS resources, so create the tables with the CloudFormation stack before the first install, using the same EnvName and RegionShort you put in customer.env.

One click: Launch the DynamoDB tables stack opens the CloudFormation console with the 1.1.1 template and the stack name prefilled. Switch the console to the region of your cluster, keep or change EnvName and RegionShort, fill BackendRoleName with the backend's IRSA role name, acknowledge the IAM capability and create the stack.

Or from the CLI, with the template shipped in the pulled chart at clairai/marketplace/aws/dynamodb-tables.yaml:

aws cloudformation deploy \
  --stack-name clairai-dynamodb \
  --template-file clairai/marketplace/aws/dynamodb-tables.yaml \
  --parameter-overrides EnvName=<ENV_NAME> RegionShort=<REGION_SHORT> BackendRoleName=<backend IRSA role name> \
  --capabilities CAPABILITY_NAMED_IAM \
  --region <AWS_REGION>

The stack creates every table on demand (pay per request) with point-in-time recovery and deletion protection, retains the tables if the stack is deleted, and, when BackendRoleName is given, attaches the DynamoDB policy the backend role needs (section 8). Optional parameters: AgentRoleName for a dedicated agent role, KmsKeyArn to encrypt with your own key, DeletionProtection=false for a trial you will tear down. The installer checks for the alert configuration table before the backend release and stops with a pointer to this section when it is missing.

Table clairai-<ENV_NAME>-...-<REGION_SHORT> What it holds Keys Indexes
metrics-config Metrics source configuration per tenant PK, SK GSI1, GSI2
logging-config Log source configuration PK, SK GSI1, GSI2
alert-config Alert definitions, versions and the firing ledger (TTL) PK, SK GSI1
databricks-config Databricks workspaces and monitored jobs PK, SK GSI1
account-onboarding Onboarded AWS accounts PK, SK none
prometheus-alerts Alert rules synchronised with the Prometheus workspace PK, SK none
ai-feedback Copilot answer feedback PK, SK GSI1
contact-point-configs Notification contact points PK, SK none
connectors Connector configuration per tenant PK, SK none
logs-metadata Log source metadata PK, SK none
dashboards Saved dashboards dashboardName none
architecture-diagrams Architecture diagrams PK, SK none
rca-knowledge-base (no region suffix) Auto-RCA reports, incident episodes, ticket links PK, SK GSI1, GSI2
user-scopes User access scopes scope_key client-id-index
user-sessions Sign-in sessions (TTL) session_key client-last-seen-index
pipeline-inventory Discovered pipelines and jobs PK, SK GSI1, GSI2
discovery-runs Discovery run history (TTL 90 days) PK, SK none
application-inventory Discovered applications PK, SK GSI1
model-inventory Discovered models and versions PK, SK none
model-export-state Model metrics export state and leases (TTL) PK, SK none
audit-logs API audit trail (TTL 90 days) audit_id, timestamp user-timestamp-index, endpoint-timestamp-index, date-user-index
agent-session-focus Copilot per-chat focus shared across agent replicas (TTL) pk none

Every table is created with the keys and indexes the backend queries; clairai/marketplace/aws/README.md in the pulled chart lists them with the code that reads each one.

10. Secret Management, Sensitive Data, and Encryption

Secrets are set in customer.env and never in a values file you keep:

Variable Purpose
LOKI_BASIC_AUTH_PASSWORD Loki gateway basic-auth password (user clairaiadmin); also used by the Loki MCP server. Required
BACKEND_SECRET_KEY Backend session and signing key, for example openssl rand -hex 32. Required
CLICKHOUSE_PASSWORD Seeded into the clickhouse-credentials Secret. Required with --log-store clickhouse
AGENT_SERVICE_TOKEN Backend to agent token; generated in-cluster when empty. Optional
  • Secret values must not contain the characters " or \.
  • Never commit customer.env.
  • The installer passes secrets through values files created with mode 0600, never through --set, so they do not appear in the process list. A --dry-run keeps the rendered values and manifests, which contain secret material; delete the printed directory when done.
  • The installer creates the clickhouse-credentials Secret in clairai-logs-manager from CLICKHOUSE_PASSWORD, and the agent service token Secret in clairai-core and clairai-agent.
  • Connector credentials (monitored AWS accounts, Databricks service principals) are stored in AWS Secrets Manager.
  • Buyers are responsible for secret rotation according to their security policy.

11. Deploy ClairAI Components

The installer renders one environment-neutral values file per component from customer.env, applies the tier overlay, and runs helm upgrade --install per release in dependency order.

11.1 Apply the Node Pools

Two pools, selected by the label clairai.io/pool: a stateful on-demand pool for Loki ingesters, the compactor and ClickHouse, and a stateless Spot pool (with on-demand fallback) for everything else. Apply them before the Helm install; the installer does not touch node pools.

cd clairai/marketplace
set -a; . ./customer.env; set +a
export NODE_ROLE=<node IAM role name>

# Karpenter
envsubst < node-pools/stateful-ondemand-standard.yaml | kubectl apply -f -
envsubst < node-pools/stateless-spot.yaml              | kubectl apply -f -

# or, without Karpenter (EKS managed node groups)
envsubst < node-pools/eksctl-nodegroups-standard.yaml > /tmp/clairai-nodegroups.yaml
eksctl create nodegroup -f /tmp/clairai-nodegroups.yaml

Use the starter or enterprise file names for those tiers.

11.2 Fill in customer.env

cd clairai/marketplace
cp customer.env.example customer.env
# fill every REQUIRED line; TIER=starter|standard|enterprise; LOG_STORE=loki|clickhouse
$EDITOR customer.env

Every line has the form KEY="${KEY:-default}", so a value exported in your shell wins over the file. The main values:

Group Variables
Sizing and store TIER, LOG_STORE, INSTALL_ALB_CONTROLLER
Account and cluster AWS_ACCOUNT_ID, AWS_REGION, REGION_SHORT, ENV_NAME, CLUSTER_NAME, VPC_ID, CLUSTER_DNS_IP
Version and images CLAIRAI_VERSION (1.1.1); every image tag and the chart version follow it. CLAIRAI_ECR_REGISTRY for a private mirror; CLAIRAI_CHART to point at a pulled .tgz
Hostnames and TLS UI_HOST, BACKEND_HOST, AGENT_HOST, AGENT_BACKEND_HOST, ACM_CERTIFICATE_ARN
Storage and workspaces LOKI_BUCKET, AMP_WORKSPACE_ID, AMG_WORKSPACE_ID, GRAFANA_CLICKHOUSE_DATASOURCE_UID
Sign-in and tenant AUTH_ENABLED, COGNITO_USER_POOL_ID, COGNITO_CLIENT_ID, TENANT_ID
IRSA role names IRSA_ROLE_BACKEND, IRSA_ROLE_AGENT, IRSA_ROLE_YACE_OTEL, IRSA_ROLE_LOKI, IRSA_ROLE_BILLING, IRSA_ROLE_PROMETHEUS_MCP, IRSA_ROLE_ALB
Log ingest Lambda LOG_INGEST_LAMBDA_ACCOUNT_ID, LOG_INGEST_LAMBDA_DEPLOY_ROLE
Shared ingest NLB (optional) LOKI_INGEST_TARGET_GROUP_ARN, CLICKHOUSE_INGEST_TARGET_GROUP_ARN
Databricks model feedback (optional) DATABRICKS_SQL_WAREHOUSE_ID, MODEL_FEEDBACK_TABLE
Retention (leave empty) LOKI_RETENTION_PERIOD, LOKI_MAX_QUERY_LENGTH, OTEL_CLICKHOUSE_TTL, CLICKHOUSE_METRICS_RETENTION_DAYS; derived from the tier unless you export a value
Secrets See section 10

11.3 Choose the Log Store

--log-store loki installs Loki and the Loki MCP server. --log-store clickhouse installs ClickHouse and the ClickHouse MCP server and routes platform Kubernetes logs (Fluent Bit) to ClickHouse as well. One log store per deployment; the other store's overlay is not applied. The flag overrides LOG_STORE in customer.env.

11.4 Validate and Preview

# offline render of every release
./validate.sh
./install.sh --tier standard --env customer.env --log-store loki --dry-run

validate.sh renders every tier and component with the customer.env.example defaults and dummy required values; it needs no cluster or AWS access. --dry-run renders your own customer.env with helm template, needs no cluster, and keeps the rendered values and manifests in the temporary directory it prints.

11.5 Install

./install.sh --tier standard --env customer.env --log-store loki

Replace standard with starter or enterprise. The installer runs one helm upgrade --install per component, in this order: the AWS Load Balancer Controller only when INSTALL_ALB_CONTROLLER=true, Loki and the Loki MCP server or ClickHouse and the ClickHouse MCP server, kube-state-metrics, the OpenTelemetry collector, Fluent Bit, YACE, the Prometheus MCP server, the Billing MCP server, the backend, the Copilot agent, the frontend.

Values are layered per release in this order: the rendered base, the tier overlay, then the image and toggle flags the installer passes. A component without an overlay (the MCP servers, kube-state-metrics, the ALB controller) installs at its base values.

To install by hand instead, run helm upgrade --install <release> ./clairai-1.1.1.tgz -n <namespace> --create-namespace -f <rendered values> for each component in the order above; a --dry-run leaves the rendered values in the directory it prints.

11.6 Install One Component

./install.sh --tier standard --env customer.env --component backend

Components: alb-controller, loki, clickhouse, loki-mcp, clickhouse-mcp, kube-state-metrics, otel, fluentbit, yace, prometheus-mcp, billing-mcp, backend, agent, frontend.

12. Deploy MCP Servers, Collectors and the Log Store

The installer deploys every component below as part of the plan in section 11.5; use --component <name> to install or reinstall one on its own.

12.1 MCP Servers

Release (namespace clairai-mcp) Role Needs
prometheus-mcp Metrics queries against your Amazon Managed Service for Prometheus workspace IRSA_ROLE_PROMETHEUS_MCP, AMP_WORKSPACE_ID
loki-mcp (with --log-store loki) Log queries against Loki LOKI_BASIC_AUTH_PASSWORD
clickhouse-mcp (with --log-store clickhouse) Log and metrics queries against ClickHouse CLICKHOUSE_PASSWORD
billing-mcp AWS Cost Explorer analysis IRSA_ROLE_BILLING

The Copilot agent reaches the MCP servers in-cluster through PROMETHEUS_MCP_URL, LOKI_MCP_URL, CLICKHOUSE_MCP_URL and BILLING_MCP_URL in the agent values; change them only if you rename a release.

12.2 OpenTelemetry Collector and YACE

Both run in clairai-metrics-manager under IRSA_ROLE_YACE_OTEL. YACE (clairai-yace) reads CloudWatch metrics for the discovered services. The collector (clairai-otel) receives Databricks metrics and logs, scrapes YACE, kube-state-metrics, cAdvisor, the kubelet and Loki, and writes to your Amazon Managed Service for Prometheus workspace and the log store. OTEL_LOGS_BATCH_SIZE in customer.env tunes the log batch size; empty keeps the chart default.

12.3 kube-state-metrics and Fluent Bit

kube-state-metrics (clairai-kube-state-metrics, kube-system) exposes Kubernetes object metrics for the platform. Fluent Bit (clairai-fluentbit, clairai-logging) is a DaemonSet that runs on both node pools and ships cluster logs to Loki, or to ClickHouse with --log-store clickhouse. Neither needs an AWS role.

12.4 Log Store: Loki or ClickHouse

Both run in clairai-logs-manager on the stateful on-demand pool.

Starter Standard Enterprise
Loki ingesters (replication factor) / distributors / queriers 2 (RF 2) / 1 / 1 3 (RF 3) / 2 / 2 3 (RF 3) / 2 / 3
Loki ingester memory / volume 2Gi / 50Gi 3Gi / 50Gi 6Gi / 200Gi
ClickHouse volume 100Gi 250Gi 2Ti
Retention 30 days 30 days 90 days

Loki (loki) stores chunks and index in LOKI_BUCKET through IRSA_ROLE_LOKI and keeps its write-ahead log on persistent volumes. ClickHouse (clairai-clickhouse) stores logs and metrics on a persistent volume; this release runs one ClickHouse replica at every tier. Retention is derived from the tier by the installer and applied to Loki, ClickHouse and the backend together.

13. Ingress (ALB), Routing and DNS

The Helm releases create the ingresses; you do not write ingress manifests. One ALB serves everything:

Host Path Service Container port
UI_HOST / Frontend 8080
UI_HOST /api Backend 8000
UI_HOST /v1 Copilot agent 8001
BACKEND_HOST (default backend.<UI_HOST>) all Backend 8000
AGENT_HOST (default assistant.<UI_HOST>), AGENT_BACKEND_HOST (default agent-backend.<UI_HOST>) all Copilot agent 8001

Every Kubernetes service listens on 80. The frontend calls the backend and the agent on its own origin through /api and /v1. Databricks clusters send metrics and logs to BACKEND_HOST; API clients may use any of the hosts. ACM_CERTIFICATE_ARN must cover every host you keep, in the ALB's region.

The AWS Load Balancer Controller is required and is a prerequisite you install before ClairAI (the default INSTALL_ALB_CONTROLLER=false assumes it is present). Setting INSTALL_ALB_CONTROLLER=true makes the installer add it from the public EKS registry (needs VPC_ID and IRSA_ROLE_ALB); keep false when the cluster already runs the controller as release aws-load-balancer-controller in kube-system.

After the install, point the DNS names at the ALB the controller creates:

kubectl -n clairai-core get ingress

Sign-in: AUTH_ENABLED=true (the default) makes the backend and the agent verify Cognito JWTs from COGNITO_USER_POOL_ID and COGNITO_CLIENT_ID. AUTH_ENABLED=false is a trial-only mode: every call is accepted as an administrator of the default tenant, the login page's local sign-in works without Cognito, and the installer prints a warning. Keep true on any cluster other people can reach.

14. Validate Deployment and Application Health

kubectl get pods -A | grep -E 'clairai|loki|mcp'
kubectl get pods -A -l app.kubernetes.io/managed-by=Helm -o wide | grep -i clairai
kubectl get nodes -L clairai.io/pool,karpenter.sh/capacity-type
kubectl -n clairai-logs-manager get pdb

kubectl -n clairai-core port-forward svc/clairai-backend 8000:80 &
curl -s localhost:8000/health/live; curl -s localhost:8000/health/ready
kubectl -n clairai-agent port-forward svc/clairai-assistant 8001:80 &
curl -s localhost:8001/health

Expected: every pod Running, stateful pods on the on-demand pool, the ALB provisioned with a DNS name, and the health endpoints answering.

Then open https://<UI_HOST>/, sign in (Cognito, or the local sign-in when AUTH_ENABLED=false), connect an AWS account under Connectors, run Pipeline Discovery, and create one alert from the Alerts page.

15. Monitoring and Logs

kubectl logs -n clairai-core deploy/clairai-backend --tail=50
kubectl logs -n clairai-core deploy/clairai-frontend --tail=50
kubectl logs -n clairai-agent deploy/clairai-assistant --tail=50
kubectl logs -n clairai-mcp deploy/prometheus-mcp-server --tail=50
kubectl logs -n clairai-mcp deploy/billing-cost-mcp-server --tail=50
kubectl logs -n clairai-mcp deploy/loki-mcp-server --tail=50          # --log-store loki
kubectl logs -n clairai-mcp deploy/clickhouse-mcp-server --tail=50    # --log-store clickhouse
kubectl logs -n clairai-metrics-manager deploy/clairai-otel-collector --tail=50
kubectl logs -n clairai-metrics-manager deploy/clairai-yace --tail=50
kubectl get pods -n clairai-logs-manager
kubectl get pods -n clairai-logging

Health endpoints: backend /health/live and /health/ready, agent /health.

Where the data is: metrics in your Amazon Managed Service for Prometheus workspace, dashboards and alert rules in your Amazon Managed Grafana workspace, logs in Loki or ClickHouse for the tier's retention (30 days for Starter and Standard, 90 days for Enterprise). The backend release carries a clairai-license ConfigMap with the tier's caps for support and dashboards; it is informational.

16. Upgrade Instructions

Set CLAIRAI_VERSION in customer.env to the new version (every image tag and the chart version follow it) and re-run the installer with the same tier:

./install.sh --tier standard --env customer.env --log-store loki

The installer upgrades every release in place and installs the backend before the agent. Every published version stays installable; keep CLAIRAI_VERSION pinned to stay on one.

From 1.0.1. 1.1.1 adds the ClickHouse MCP server, the OpenTelemetry collector, kube-state-metrics and Fluent Bit as Helm releases, and ClickHouse as an alternative to Loki. Values files written for 1.0.1 need the new AUTH_ENABLED and image tag variables; start from customer.env.example. 1.0.1 stays selectable in the listing: pin --version 1.0.1 to stay on it.

Changing tier. Re-run the installer with the new --tier; every release is upgraded in place. Two exceptions, because volume claim templates are immutable on a StatefulSet: the Loki ingester volume size (Standard to Enterprise moves 50Gi to 200Gi) and the ClickHouse volume size (100Gi, 250Gi, 2Ti). Grow the existing volume claims first, delete the StatefulSet with --cascade=orphan so the pods keep running, then run the install; the new StatefulSet re-adopts the claims by name. Moving from Starter to Standard raises the Loki replication factor from 2 to 3 with a third ingester, which the overlay does; the ring rebalances on its own. Going down a tier is the reverse and needs the ingesters shut down with a flush first.

Changing retention. Retention lives in the Loki overlay, the ClickHouse and collector overlays, and the backend's LOKI_RETENTION_PERIOD, LOKI_MAX_QUERY_LENGTH, OTEL_CLICKHOUSE_TTL and CLICKHOUSE_METRICS_RETENTION_DAYS, which the installer derives from the tier unless customer.env exports them. Change them together; the backend refuses to start when its Loki retention differs from Loki's.

Validate upgrades in a non-production cluster first, and back up customer.env, your secrets and your monitoring configuration before upgrading.

17. Uninstall Instructions

helm uninstall clairai-frontend -n clairai-core
helm uninstall clairai-assistant -n clairai-agent
helm uninstall clairai-backend -n clairai-core
helm uninstall billing-mcp -n clairai-mcp
helm uninstall prometheus-mcp -n clairai-mcp
helm uninstall clairai-yace -n clairai-metrics-manager
helm uninstall clairai-fluentbit -n clairai-logging
helm uninstall clairai-otel -n clairai-metrics-manager
helm uninstall clairai-kube-state-metrics -n kube-system
helm uninstall loki-mcp -n clairai-mcp                 # --log-store loki
helm uninstall loki -n clairai-logs-manager            # --log-store loki
helm uninstall clickhouse-mcp -n clairai-mcp           # --log-store clickhouse
helm uninstall clairai-clickhouse -n clairai-logs-manager   # --log-store clickhouse
helm uninstall aws-load-balancer-controller -n kube-system   # only if the installer added it

kubectl delete namespace clairai-core clairai-agent clairai-mcp \
  clairai-metrics-manager clairai-logs-manager clairai-logging

Your data in S3, DynamoDB and the managed Prometheus and Grafana workspaces stays. Persistent volume claims created by the Loki and ClickHouse StatefulSets are not removed by helm uninstall; delete them only when you no longer need the logs they hold.

18. Troubleshooting

Issue Cause Fix
REQUIRED values are empty in customer.env A REQUIRED line is blank Fill the variables the installer lists
placeholders used by the templates are not defined or unresolved placeholders customer.env predates this version Copy the missing lines from customer.env.example
WARN: AUTH_ENABLED=false Trial mode Expected for a trial; set true on any shared cluster
ImagePullBackOff ECR login expired, subscription inactive, or node role without AmazonEC2ContainerRegistryReadOnly Re-run helm registry login; confirm the subscription and the node role
Pods Pending Node pools missing, or labels and taint differ from the manifests Apply the node-pools/ manifests; check kubectl get nodes -L clairai.io/pool,karpenter.sh/capacity-type
Loki pods Pending No on-demand stateful nodes; one ingester runs per node Check the stateful pool limits for the tier
Backend refuses to start LOKI_RETENTION_PERIOD differs from Loki's retention Leave the retention variables empty so the installer derives them, or change them together
clickhouse-credentials exists with a different CLICKHOUSE_PASSWORD Re-install with a new password Set CLICKHOUSE_PASSWORD to the existing value or delete the Secret first
ALB not provisioned Controller missing, VPC_ID or IRSA_ROLE_ALB wrong Check INSTALL_ALB_CONTROLLER, the role trust and the controller logs
Frontend 502 Bad Gateway ALB target group unhealthy Check the container ports: frontend 8080, backend 8000, agent 8001
Copilot answers that an account is not onboarded No connector or discovery yet Connect the account under Connectors and run Pipeline Discovery

19. AWS Service Quotas and Cost Guidance

The licence is an annual contract per tier; AWS infrastructure is billed separately by AWS. Estimated AWS infrastructure per year for the node pools, storage and managed services each tier assumes:

Purchasing Starter Standard Enterprise
On-demand 7,856 USD 11,755 USD 29,069 USD
1-year reserved 6,884 USD 10,783 USD 26,441 USD
Mixed Spot 7,287 USD 11,186 USD 27,317 USD

Billed by AWS on usage and not in the estimate: Amazon Bedrock model invocations for the Copilot and Auto-RCA, Amazon Managed Grafana seats beyond the tier allowance, data transfer out, and the Databricks DBUs of your own workloads. At Standard and Enterprise the OpenTelemetry collector runs two or three replicas and each one scrapes every target, so scraped series are written two or three times to Amazon Managed Service for Prometheus; budget for it.

20. Support

Email clairai-support@infoservices.com with the ClairAI version (CLAIRAI_VERSION), the tier, the component and namespace, and the output of kubectl get pods -A | grep clairai. Standard support is 24x5 (Monday to Friday) with response targets of 1 hour for P1, 4 hours for P2 and 1 business day for P3; Enterprise adds dedicated support. Documentation at https://docs.clairai.cloud.