GUIDE
Crogl Image Deployment Guide
Deploy Crogl 2.16.0 on AWS or Azure from the Marketplace image, commercial or air-gapped.
Version: 3.0.3
Last Updated: 17 November 2026
Product: Crogl AI Security Operations Platform
Delivery Model: Virtual machine image — Amazon Machine Image (AMI) on AWS Marketplace, VM image on Azure Marketplace
Image line: Crogl 2.16.0. AWS: two images, commercial (egress switch off) and air-gapped (egress switch on). Azure: one image, commercial (egress switch off).
The image runs the Crogl release installer once at first boot. The web UI is not reachable until you complete a required post-launch step that sets the access mode. See section 7.5.
Read section 14 before you deploy 2.16.0. Two known issues affect every 2.16.0 instance on both clouds.
How to read this guide
Most of this guide applies to both clouds, because the image is the same Ubuntu 24.04 appliance on each. Where a step differs, the section has an AWS part and an Azure part. Read the part for your cloud and skip the other.
| Term in this guide | AWS | Azure |
|---|---|---|
| Instance | EC2 instance | Virtual machine (VM) |
| Image | AMI | Marketplace VM image (Azure Compute Gallery image version) |
| Root disk | EBS root volume | Managed OS disk |
| Firewall at the network interface | Security group | Network security group (NSG) |
| Network | VPC, subnet | Virtual network (VNet), subnet |
| Console log | EC2 console output | Boot diagnostics serial log |
| SSH login user | ubuntu | The admin username you choose at deployment (the portal suggests azureuser) |
On both clouds Crogl installs as the ubuntu account into /home/ubuntu/crogl, and you run Crogl commands as ubuntu. On Azure, sign in as your admin user and switch with sudo -iu ubuntu.
1. Introduction
1.1 Use Cases
Crogl is an AI-powered security operations platform that helps security teams detect, investigate, and respond to threats. Key use cases include:
- Automated Alert Triage and Prioritization — AI agents analyze security alerts from SIEMs (Splunk, Microsoft Sentinel, Azure Log Analytics, Elasticsearch, CrowdStrike, Cribl) and prioritize by severity, reducing analyst fatigue.
- Threat Investigation — Agents query log sources, correlate indicators of compromise (IOCs), build a knowledge graph of what they learn, and produce investigation summaries with MITRE ATT&CK mapping.
- Phishing Analysis — Automated classification and quarantine of phishing emails using natural language understanding.
- Security Operations Automation — Custom AI skills automate repetitive SOC workflows such as enrichment, case management, and reporting.
- Compliance Reporting — Generate compliance evidence and audit reports from security data.
1.2 Deployment Overview
A Crogl deployment is a single instance running a self-contained appliance. No other cloud services are required.
| Component | Purpose |
|---|---|
| crogld | Core server — REST API, web UI, agent orchestration, MCP tool surface, language-model proxy |
| PostgreSQL | Bundled container. Application database: users, settings, encrypted secrets, conversations, knowledge graph |
| Agent containers | One Docker container per conversation, running the AI agent session in isolation |
The image ships the Crogl release installer staged at /opt/crogl/crogl-installer-linux-amd64.sh. On first boot a systemd path unit runs it once, which installs Crogl to /home/ubuntu/crogl and starts it.
Resources created during deployment:
AWS
| Resource | Type | Purpose |
|---|---|---|
| EC2 instance | aws_instance | Hosts all Crogl services |
| EBS volume | root_block_device | 100 GB gp3 (image default), stores application data and Docker volumes |
Azure
| Resource | Type | Purpose |
|---|---|---|
| Virtual machine | Microsoft.Compute/virtualMachines | Hosts all Crogl services |
| OS disk | Microsoft.Compute/disks | 100 GB Premium SSD (image default), stores application data and Docker volumes |
| Network interface, NSG, public IP (optional) | Microsoft.Network | Created by the portal unless you select existing ones |
1.3 Deployment Options
Crogl supports a single-instance deployment in one availability zone. All services — database, authentication, application server, agent runtime — run on one instance.
1.4 Estimated Deployment Time
| Step | Time |
|---|---|
| Launch the instance from the image | 1–2 minutes (AWS), 2–4 minutes (Azure) |
| Cloud-init, then first-boot installer | 5–6 minutes |
| Retrieve admin credentials and startup key | 1 minute |
| Make the UI reachable (set-access direct) | 1–2 minutes |
| Configure language-model key and first connector | 2–3 minutes |
| Total | ~10–15 minutes |
1.5 Supported Regions
AWS. AWS Marketplace makes the image available in every region that the listing includes. Each region has its own AMI ID. Use the ID that the listing shows for your region.
af-south-1, ap-east-1, ap-east-2, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-south-2, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-4, ap-southeast-5, ap-southeast-6, ap-southeast-7, ca-central-1, ca-west-1, eu-central-1, eu-central-2, eu-north-1, eu-south-1, eu-south-2, eu-west-1, eu-west-2, eu-west-3, il-central-1, me-south-1, mx-central-1, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2
The air-gapped image is for regions and VPCs with no internet route, including AWS GovCloud (US). Ask your Crogl representative for access.
Azure. The Azure Marketplace listing serves the image in Azure public-cloud regions. Azure Government and other sovereign clouds are not covered by the listing. The image is Generation 2 and supports Trusted Launch.
2. Prerequisites and Requirements
2.1 Technical Requirements
| Requirement | AWS | Azure |
|---|---|---|
| Instance size, minimum | t3.2xlarge (8 vCPU, 32 GB) | Standard_D8s_v5 (8 vCPU, 32 GB) |
| Instance size, recommended | m5.4xlarge (16 vCPU, 64 GB) | Standard_D16s_v5 (16 vCPU, 64 GB) |
| Storage | 100 GB EBS gp3 (the image default) | 100 GB Premium SSD (the image default) |
| Network | VPC with outbound access to your language-model provider, your identity provider, and your connector endpoints | VNet with the same outbound access |
The Azure plan also offers the v6 equivalents (Standard_D8s_v6, Standard_D16s_v6).
2.2 Prerequisite Skills
- Your cloud's compute service — launching instances and managing firewall rules and SSH keys (AWS EC2, or Azure Virtual Machines)
- SSH — connecting to Linux instances. Initial configuration needs it.
- Networking — VPCs or VNets, subnets, firewall rules, DNS
- Language-model providers — obtaining an API key from your chosen provider
2.3 Environment Configuration
Before deploying, ensure you have the following.
AWS
- An AWS account — do not use the root user. Create an IAM user or assume an IAM role with the EC2 permissions in section 4.1.
- An EC2 key pair in the target region. You need the private key (.pem) for SSH. SSH access is required, not optional, because the post-launch access-mode step runs on the instance.
- A VPC and subnet with internet access (public subnet with an internet gateway, or private subnet with a NAT gateway).
- A security group — see section 4.7.
Azure
- An Azure subscription and a resource group, and an account with the role assignments in section 4.1.
- An SSH key pair. You give Azure the public key at deployment and keep the private key for SSH. SSH access is required for the same reason as on AWS.
- A VNet and subnet with internet access (a public IP on the VM, a NAT gateway, or your own egress path).
- A network security group — see section 4.7.
- vCPU quota for the VM family you choose in the target region (section 11.5).
Both clouds
- A language-model API key from your chosen provider.
- At least one connector endpoint — credentials for a querying system (Splunk, Sentinel, Log Analytics, Elasticsearch, CrowdStrike, Cribl, Databricks), a case management system (Jira, ServiceNow), or an enrichment source (VirusTotal).
Optional — stage the administrator password yourself. If you launch through a provisioner (CloudFormation or user-data on AWS, custom data or a Custom Script Extension on Azure), you can write your own password to /etc/crogl/admin-password before cloud-init finishes. The first-boot service consumes that file and shreds it. If you do not, Crogl generates a random per-instance password instead — see section 7.4. On 2.16.0, read section 14.2 first.
3. Architecture
3.1 Architecture Diagram

Figure 1. Crogl on a single instance. The figure shows AWS names. On Azure, the instance is a VM and the volume is a managed OS disk. Nothing else changes.
Crogl runs as one self-contained appliance on a single instance. crogld, the core server, serves the web UI, REST API, sign-in, product documentation and /health on one port, TCP 4043 (HTTPS, TLS 1.3), and orchestrates the agents. Each conversation runs in its own agent container, started on demand from the crogl-agent image. Agent containers reach crogld's tool and model services over the host's internal Docker network; those services are not exposed to your network. The bundled PostgreSQL container listens on 127.0.0.1:5433 and holds users, settings, encrypted secrets, conversations and the knowledge graph. All state lives on the instance's root disk under /home/ubuntu/crogl (CROGL_HOME). Encrypt that disk with your own key if your policy requires it (section 4.6).
3.2 Network Diagram

Figure 2. Network paths in and out of the instance. The figure shows AWS names. On Azure, read VNet for VPC and NSG for security group.
Inbound, analysts' browsers, the crogl CLI and API clients reach crogld on TCP 4043, and administrators reach the host on TCP 22. Restrict both in the security group or NSG to your own ranges (section 4.7). Your users may arrive through a VPN, a private link (AWS Direct Connect, Azure ExpressRoute) or a public IP; the subnet can be public or private. Outbound, crogld calls the services you configure: the language-model endpoint, your OIDC identity provider, and your connectors over HTTPS 443 or the connector's own port (for example 8089 for Splunk). Agent containers send their connector calls through crogld's API proxy. In a connected deployment these leave through an internet or NAT gateway. In an air-gapped deployment they reach only private endpoints and addresses inside your boundary. The crogl-airgap egress switch then limits host and container traffic to loopback, the instance metadata service, private ranges and the entries in /etc/crogl/airgap.allow (section 7.5). PostgreSQL and crogld's internal services are never exposed outside the host.
3.3 Integration Points
| Integration | Protocol | Direction | Purpose |
|---|---|---|---|
| Language-model provider | HTTPS (443) | Outbound | Model inference |
| Identity provider (OIDC) | HTTPS (443) | Outbound | Single sign-on, once configured |
| Connectors | HTTPS (443 / custom) | Outbound | Querying systems, case management, enrichment sources |
| Analyst browsers | HTTPS (4043) | Inbound | Web UI and REST API |
All integrations are customer-configured. crogld's other listeners serve only Crogl's own agent containers. Open only the ports listed in section 4.7.
4. Security
4.1 Identity and Access for Deployment
AWS. Do not use the AWS account root user to deploy or operate Crogl. Create an IAM user or IAM role with the minimum permissions below, use AWS IAM Identity Center (SSO) for human access, and use EC2 instance profiles for programmatic access.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:RunInstances",
"ec2:DescribeInstances",
"ec2:DescribeImages",
"ec2:DescribeKeyPairs",
"ec2:DescribeSecurityGroups",
"ec2:DescribeSubnets",
"ec2:DescribeVpcs",
"ec2:CreateTags",
"ec2:GetConsoleOutput",
"ec2:TerminateInstances"
],
"Resource": "*"
}
]
}
This allows only what is needed to launch, describe, tag, read the console output of, and terminate EC2 instances. ec2:GetConsoleOutput is how an operator retrieves the auto-generated administrator password without SSH. No IAM creation, S3 access, or administrative permissions are required.
Azure. Deploy with a Microsoft Entra ID account or service principal that has, at the resource-group scope:
- Virtual Machine Contributor — create and manage the VM and its disk.
- Network Contributor — create or attach the network interface, NSG and public IP. Not needed if you attach existing network resources that another team owns and you hold join permissions on them.
Accepting the Marketplace terms for the plan the first time is a subscription-level action (Microsoft.MarketplaceOrdering/agreements). An Owner or Contributor on the subscription can do it once for everyone (section 7.1). Reading the boot diagnostics log to retrieve the password needs Microsoft.Compute/virtualMachines/retrieveBootDiagnosticsData/action, which Virtual Machine Contributor includes.
4.2 Roles for the Running Instance
No instance role (AWS) or managed identity (Azure) is required when the language model is a hosted provider such as Anthropic or OpenAI. Crogl makes no cloud API calls in that configuration.
Amazon Bedrock is the exception. Its keyless authentication modes resolve AWS credentials from the instance, which therefore needs an EC2 instance profile permitted to invoke Bedrock. Section 7.8 gives the modes, the required permissions and the procedure. On Azure, Bedrock is available only in api_key mode, because the keyless modes need an AWS instance identity.
4.3 Keys and Credentials
| Credential | Purpose | Created By | Recoverable? |
|---|---|---|---|
| SSH key pair | SSH access to the instance | Customer (pre-deployment) | No. Back up the private key before launch. |
| Admin password | Crogl admin sign-in | Staged by you at /etc/crogl/admin-password, or auto-generated at first boot | No |
| Startup key | Decrypts the install's bootstrap secrets | Auto-generated at first boot | No |
Both the admin password and the startup key are written once to /root/installation-artifacts.txt (mode 0600). Copy both into your secrets manager and shred that file. Neither can be regenerated or recovered by Crogl. On 2.16.0 the password is also in the system logs. See section 14.2.
The administrator password is fixed for the lifetime of the install. Crogl does not support changing it from the UI. To change it, either reinstall or move sign-in to your identity provider — which is the recommended path for production. See section 11.1.
4.4 Secrets Management
Crogl uses a layered secrets architecture. All secrets are unique per deployment and generated at first boot. No secrets are baked into the image.
Paths below are relative to the install root, $CROGL_HOME = /home/ubuntu/crogl on this image.
| Secret | Purpose | Location | Created By |
|---|---|---|---|
| Startup key | Decrypts bootstrap-secrets.enc; read by crogld on stdin at every start | $CROGL_HOME/var/bootstrap_encryption_key (0600) | First boot |
| Bootstrap secrets | Encrypted bundle holding PostgreSQL credentials and the data-encryption key | $CROGL_HOME/var/bootstrap-secrets.enc | First boot |
| Postgres credentials | Bundled database authentication | Inside $CROGL_HOME/var/bootstrap-secrets.enc (no separate file) | First boot |
| Language-model API key | Authenticate to the model provider | Encrypted in the PostgreSQL app_secrets table | Customer (post-deployment) |
| Connector credentials | Authenticate to connected tools | Encrypted in PostgreSQL | Customer (post-deployment) |
| TLS certificate / key | HTTPS for the UI and API | $CROGL_HOME/etc/crogld-cert.pem, crogld-key.pem | First boot (self-signed) |
Bootstrap secrets are generated at first boot with openssl rand and stored as owner-only files (mode 0600). They are never transmitted over the network.
Application secrets — the language-model API key and connector credentials — are stored encrypted at rest in PostgreSQL. Set the model key from the Settings screen in the UI, or:
crogl set-secret --key lm_api_key --value '<your-api-key>'
lm_api_key is the only key this command accepts; server-managed internal secrets are refused. The write is an upsert, and the server invalidates its in-memory secrets cache when it commits, so no restart is required.
Session tokens — user sessions are JWT-based, with a configurable inactivity timeout per user under Settings → Session & Security.
4.5 Sensitive Data Storage
| Data Type | Storage Location | Protection |
|---|---|---|
| Language-model and connector credentials | PostgreSQL app_secrets | Encrypted at rest with the per-install data key |
| Local user passwords | PostgreSQL | Argon2id hashing (64 MiB memory cost, above the OWASP 19 MiB floor) |
| Bootstrap secrets and startup key | $CROGL_HOME/var/ | File permissions — owner-only, mode 0600 |
| Conversations, investigations, knowledge graph | PostgreSQL | At rest via disk encryption (section 4.6) |
| TLS private key | $CROGL_HOME/etc/crogld-key.pem | Owned by the install account |
| Server and CLI logs | $CROGL_HOME/var/log/, ~/.crogl/var/log/ | Readable only by the account crogld runs as, directory included |
Logs carry request paths, connector names, and error detail. Read them as the account that ran the install, and run any log collector as that account rather than widening the file permissions.
4.6 Data Encryption
| Layer | Encryption | Details |
|---|---|---|
| Root disk (AWS) | AES-256, customer-configured | Enable EBS encryption at the account or volume level, with the AWS-managed key or your KMS key. The image supports encrypted volumes. |
| Root disk (Azure) | AES-256, on by default | Azure server-side encryption protects every managed disk with a platform-managed key. To use your own key, create a disk encryption set in Azure Key Vault and select it at deployment. Encryption at host is also supported where your VM size allows it. |
| Data in transit | TLS 1.3 | The external port (4043) serves a self-signed certificate by default. Replace it with one from your PKI for production. |
| Application secrets | Symmetric encryption in PostgreSQL | Keyed by the per-install data key held inside bootstrap-secrets.enc. |
| Bootstrap secrets | Encrypted file plus file permissions | bootstrap-secrets.enc, decrypted only by the startup key (mode 0600). |
| Internal traffic | Loopback and host firewall | Bundled PostgreSQL binds to 127.0.0.1:5433. crogld's internal services (3456 and 9090) listen on all interfaces. The host firewall admits them from 172.16.0.0/12, the Docker bridge range, which also contains the AWS default VPC range 172.31.0.0/16. Keep them closed in the security group or NSG (section 4.7). Read section 12.4 before removing the hardening. |
4.7 Network Configuration
The rules are the same on both clouds. Apply them in a security group (AWS) or an NSG (Azure).
Required inbound rules:
| Port | Protocol | Source | Purpose |
|---|---|---|---|
| 22 | TCP | Your admin IP (e.g. 203.0.113.0/32) | SSH administration — required for setup |
| 4043 | TCP | Your analysts' IP ranges, CLI and API clients | Crogl web UI, REST API, sign-in and product documentation (HTTPS) |
Ports that must not be exposed:
| Port | Service | Why |
|---|---|---|
| 5433 | Bundled PostgreSQL (host port) | Local to the host; unused once you move to external PostgreSQL. |
| 3456 | Language-model proxy for agent containers | Internal. It listens on all interfaces, and the host firewall admits 172.16.0.0/12, which can contain your VPC or VNet. |
| 9090 | MCP tool server for agent containers | Internal, as for 3456. |
Outbound rules:
| Port | Protocol | Destination | Purpose |
|---|---|---|---|
| 443 | TCP | Model provider, identity provider | Inference and SSO |
| Connector-specific | TCP | Connector hosts | e.g. 8089 for Splunk, 443 for cloud APIs |
Azure. An NSG allows all outbound traffic by default, and its default inbound rules admit traffic from the whole VNet (AllowVnetInBound). Add your own inbound rules for 22 and 4043 at a priority lower in number than the defaults, and add a deny rule for other VNet sources if the VNet is shared.
On Linux, Crogl's listeners bind to loopback until you say otherwise. A freshly launched instance installs non-interactively, which selects tunnel mode — bind_host is 127.0.0.1. Opening port 4043 in the security group or NSG is therefore not sufficient; you must also set the access mode. See section 7.5.
Recommendation: restrict inbound rules to known IP ranges. The UI and API enforce authentication, but limiting network reach is defense in depth.
4.8 Instance Metadata Service
Both clouds serve instance metadata at the link-local address 169.254.169.254. The image uses it at first boot only. Do not block that address: the Bedrock keyless modes on AWS read their credentials from it (section 7.8).
AWS. The image fully supports Instance Metadata Service Version 2 (IMDSv2). All metadata requests use the token-based approach:
TOKEN=$(curl -sX PUT "http://169.254.169.254/latest/api/token" \
-H "X-aws-ec2-metadata-token-ttl-seconds: 60")
curl -s -H "X-aws-ec2-metadata-token: $TOKEN" \
http://169.254.169.254/latest/meta-data/instance-id
You can safely set HttpTokens: required on the instance metadata options.
Azure. Azure IMDS takes no token. Each request carries the header Metadata: true, and Azure refuses requests that arrive through a proxy. At first boot the image reads the VM's admin username from IMDS so that it can admit that user to SSH (section 4.10):
curl -s -H 'Metadata: true' \
'http://169.254.169.254/metadata/instance/compute/osProfile/adminUsername?api-version=2021-02-01&format=text'
4.9 Cloud SDK Usage
crogld embeds the AWS SDK for Go v2 and uses it on the Amazon Bedrock path, both to resolve credentials and to sign requests with Signature Version 4. Under any other language-model provider the SDK is present in the binary but unused. Crogl calls Bedrock over the model URL you configure rather than through a Bedrock service client, so a region-specific or PrivateLink endpoint needs no change to the product. Crogl embeds no Azure SDK and makes no Azure API calls. All other external API authentication uses customer-provided credentials configured through the Crogl UI or CLI.
4.10 Operating System Hardening
The image is hardened at build time against a Docker-compatible subset of the CIS Ubuntu Linux 24.04 LTS Benchmark v2.0.0, Level 1 Server profile. The same hardening applies on both clouds.
| Measure | State |
|---|---|
| Host firewall | nftables (inet filter table), input policy drop. Allows 22, 4043 and 8082 (unused since 2.10), and 3456 and 9090 from 172.16.0.0/12 |
| Audit | auditd installed and enabled. audit=1 is set in /etc/default/grub, but the cloud image's GRUB drop-ins override it on AWS and on Azure, so the running kernel does not carry it |
| Mandatory access control | AppArmor enabled (apparmor=1 security=apparmor) |
| SSH | AWS: restricted to the ubuntu account (AllowUsers ubuntu). Azure: ubuntu and the admin user you chose at deployment |
| SSH keep-alive | ClientAliveInterval 180. On Azure the cloud image's drop-in 50-cloudimg-settings.conf sets 120, which takes effect |
| Password policy | libpam-pwquality |
| SSH keys | The image contains no SSH authorized keys |
Azure SSH. Azure creates only the admin user you name at deployment. At first boot the image creates the ubuntu account that Crogl runs as, and admits your admin user to SSH with the drop-in /etc/ssh/sshd_config.d/10-crogl-allow-users.conf. If the admin username is not a valid Linux user name, first boot logs a warning. SSH then stays limited to ubuntu, which has no key. Redeploy with a valid name.
Every change is recorded in a state manifest under /etc/crogl-hardening/ (backups, drop-in files, permission changes, package and service changes, kernel command-line additions). If hardening conflicts with your environment, revert it on a running instance without rebuilding:
sudo /usr/local/sbin/cis-unharden.sh # interactive
sudo /usr/local/sbin/cis-unharden.sh --yes # answers yes to every prompt
Use the interactive mode. --yes answers yes to every prompt, and the script then reinstalls the packages that hardening removed (telnet, rsh-client, nis, ufw). The purge prompt offers to remove the packages that hardening installed, sudo and nftables among them. apt refuses that purge as a whole, because it would remove libpam-modules, which login needs. The script ignores arguments that it does not know, so --help starts the unharden at once.
The script is idempotent and safe to re-run. Reboot afterwards to unwind the kernel command-line changes. Unhardening replaces /etc/nftables.conf with the Ubuntu default, which accepts all traffic, and it does not ask first. The host firewall is gone after the next reboot, whatever you answer at the prompts. Afterwards, allow only ports 22 and 4043 in your security group or NSG (section 4.7), or confirm that nothing outside the host can reach any other port. See section 12.4. Documented exceptions to the benchmark, including partition_for_tmp, are listed in the image's HARDENING.md.
5. Costs
5.1 Cloud Infrastructure Costs
On-demand Linux pricing, as of November 2026. Confirm current rates with the AWS Pricing Calculator or the Azure pricing calculator.
AWS (us-east-1)
| Service | Estimated Monthly Cost | Notes |
|---|---|---|
| EC2 instance | ~$243/mo | t3.2xlarge (8 vCPU, 32 GB RAM) on-demand |
| EBS storage | ~$8/mo | 100 GB gp3 at $0.08/GB/mo |
| Data transfer | $0–$50+ | Outbound to model provider and connectors. Varies with usage. |
Azure (East US)
| Service | Estimated Monthly Cost | Notes |
|---|---|---|
| Virtual machine | ~$280/mo | Standard_D8s_v5 (8 vCPU, 32 GB RAM) pay-as-you-go |
| OS disk | ~$20/mo | 100 GB Premium SSD, billed as the P10 (128 GiB) tier |
| Public IP | ~$4/mo | Standard SKU, if you use one |
| Data transfer | $0–$50+ | Outbound to model provider and connectors. Varies with usage. |
Reserved Instances or Savings Plans (AWS), and reservations or savings plans (Azure), reduce the compute line substantially for a steady-state deployment.
5.2 Licensing and Software Costs
| Item | Cost Model |
|---|---|
| Crogl platform | See the AWS Marketplace or Azure Marketplace listing for current pricing |
| Language-model usage | Billed separately by your model provider |
| Connectors | No additional Crogl cost. You supply your own connector credentials. |
6. Sizing
6.1 System Requirements
| Profile | CPU | RAM | Disk | AWS example | Azure example |
|---|---|---|---|---|---|
| Evaluation (single user) | 8 cores | 32 GB | 100 GB | t3.2xlarge | Standard_D8s_v5 |
| Production (team) | 16 cores | 64 GB | 1 TB | m5.4xlarge or larger | Standard_D16s_v5 or larger |
Recommended resources scale with the number of concurrent analysts, because each conversation runs in its own agent container.
The installer's first-boot preflight enforces hard minimums of 7 GB RAM and 12 GB free disk — below those it fails rather than installing. Treat them as failure thresholds, not sizing guidance.
Log volume headroom. crogld.log rotates at 100 MB and keeps its 10 most recent compressed archives, so budget 150–250 MB in steady state but size for 1.1 GB: compression runs in the background and a burst of rotations can leave eleven full-size files on disk until it catches up. crogld.out is neither rotated nor pruned — add headroom for it, or rotate it with logrotate.
6.2 Self-Hosted Language Models
If you run an open-weight model in your own environment rather than using a hosted provider, the inference host needs at least 80 GB of VRAM on an FP8-capable GPU (a single NVIDIA H100 80 GB). That covers evaluation or a single session; production concurrency needs more GPUs.
7. Deployment Instructions
7.1 Step 1: Subscribe on the Marketplace
AWS
- Visit the Crogl product page on AWS Marketplace.
- Click Continue to Subscribe.
- Review and accept the terms.
- Click Continue to Configuration.
- Select your AWS region and version 2.16.0.
- Click Continue to Launch.
Azure
- Find "Crogl - AI for Enterprise Security (VM)" in Azure Marketplace, in the Azure portal or at azuremarketplace.microsoft.com.
- Select the plan and click Create. The portal accepts the plan's terms for your subscription when you create the first VM.
- To deploy from the CLI instead, accept the terms once per subscription:
az vm image terms accept --urn <publisher-id>:crogl-ai-ent-sec-vm:crogl:latest
7.2 Step 2: Launch the Instance
AWS — Option A: from AWS Marketplace (console)
- On the Launch page, select Launch through EC2.
- Choose the instance type (see section 6).
- Configure the key pair (SSH is required for setup), your target VPC and subnet, a security group using the rules in section 4.7, and a 100 GB gp3 root volume.
- If you select Create new based on seller settings, the new security group admits TCP 22 and TCP 4043 from all addresses (0.0.0.0/0). Change each source to your own IP ranges before you launch.
- Click Launch Instance.
AWS — Option B: AWS CLI
aws ec2 run-instances \
--image-id ami-XXXXXXXXXXXX \
--instance-type t3.2xlarge \
--key-name your-key-pair \
--security-group-ids sg-XXXXXXXXXXXX \
--subnet-id subnet-XXXXXXXXXXXX \
--metadata-options 'HttpTokens=required' \
--block-device-mappings '[{"DeviceName":"/dev/sda1","Ebs":{"VolumeSize":100,"VolumeType":"gp3","Encrypted":true}}]' \
--tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=crogl-production}]' \
--region us-east-1
Azure — Option A: Azure portal
- Basics: choose the subscription, resource group, region and size (see section 6). Security type: Trusted launch. Authentication type: SSH public key. Enter an admin username and your public key.
- Inbound port rules: select None here. You add precise rules on the Networking tab.
- Disks: Premium SSD, 100 GB. Choose a disk encryption set if you use your own key (section 4.6).
- Networking: choose your VNet and subnet. Under NIC network security group, select Advanced and an NSG with the rules in section 4.7, or create one and add an inbound rule for TCP 22 and one for TCP 4043, each from your own ranges only.
- Monitoring: keep Boot diagnostics set to Enable with managed storage account. You need it to read the generated password without SSH (section 7.4).
- Review + create, then Create.
Azure — Option B: Azure CLI
az vm create \
--resource-group crogl-rg \
--name crogl-production \
--image <publisher-id>:crogl-ai-ent-sec-vm:crogl:latest \
--size Standard_D8s_v5 \
--security-type TrustedLaunch --enable-secure-boot true --enable-vtpm true \
--admin-username azureuser \
--ssh-key-values ~/.ssh/crogl.pub \
--os-disk-size-gb 100 --storage-sku Premium_LRS \
--vnet-name crogl-vnet --subnet crogl-subnet \
--nsg crogl-nsg --public-ip-sku Standard \
--boot-diagnostics-storage <storage-account>
Create the NSG with the rules in section 4.7 before you run this command. If no NSG named crogl-nsg exists, az vm create creates one that admits SSH from any address.
Unlike the portal, az vm create does not enable boot diagnostics unless you pass --boot-diagnostics-storage with a storage account you own. Boot diagnostics records the serial log only from the moment it is enabled, and first boot prints the password within the first minute, so enabling it after the VM is created is too late. If you deploy without it, read the password from the file in section 7.4 over SSH instead.
7.3 Step 3: Wait for the First-Boot Install
A systemd path unit (crogl-firstboot.path) waits for cloud-init to finish, then triggers crogl-firstboot.service exactly once. After the first reboot, systemctl reports crogl-firstboot.path as failed (Result: trigger-limit-hit), and the unit appears in systemctl --failed. This is expected. That service:
- Resolves the administrator password — from /etc/crogl/admin-password if a provisioner staged one, otherwise generates a random per-instance password.
- On Azure, creates the ubuntu account and admits your admin user to SSH (section 4.10).
- Runs the staged installer as the ubuntu user with --home /home/ubuntu/crogl --start. If the installer fails, the service resets the half-finished install and tries again, up to three attempts in all.
- Installs Docker prerequisites, loads the crogl-postgres and crogl-agent images, generates TLS certificates and bootstrap secrets, and starts PostgreSQL and crogld.
- Writes /root/installation-artifacts.txt and the success sentinel /var/lib/crogl/installed.
This takes about 5 minutes. Monitor it over SSH:
# AWS
ssh -i your-key.pem ubuntu@<public-ip>
# Azure — sign in as your admin user
ssh -i your-key azureuser@<public-ip>
journalctl -u crogl-firstboot.service -f # live progress
sudo tail -f /var/log/crogl-firstboot.log # installer output
Confirm success:
test -f /var/lib/crogl/installed && echo "install complete"
curl -sk https://localhost:4043/health | jq .
The service is gated on that sentinel, so it will not re-run on later boots. If all three attempts fail, the sentinel is not written and the service runs again on the next boot. The service keeps the last failed attempt in place for diagnosis. It moves earlier attempts to /home/ubuntu/crogl.failed-<timestamp>.
Run Crogl commands as ubuntu, without sudo. The image sets CROGL_HOME=/home/ubuntu/crogl and puts the crogl CLI on PATH for ubuntu's login shells, through /etc/profile.d/crogl.sh.
- AWS: you are already ubuntu.
- Azure: switch with
sudo -iu ubuntu. The-igives you a login shell, which is what loads CROGL_HOME and PATH.
7.4 Step 4: Retrieve the Admin Password and Startup Key
Both values are written once to a root-only file:
sudo cat /root/installation-artifacts.txt
If you did not stage your own password, the generated admin password is also printed to the serial console, so you can retrieve it without SSH once the first-boot install has finished.
AWS
aws ec2 get-console-output --instance-id <instance-id> --latest \
--output text --query Output | grep -A5 'CROGL ADMIN PASSWORD'
--output text --query Output returns the console log as lines; without it the AWS CLI returns one JSON string and grep cannot isolate the password block. --latest requires a Nitro instance type (m5, t3); on m4, omit it.
Azure
az vm boot-diagnostics get-boot-log --resource-group <rg> --name <vm> \
| grep -A5 'CROGL ADMIN PASSWORD'
In the portal, the same log is under the VM's Help → Boot diagnostics → Serial log. If the command reports that boot diagnostics is not enabled, or the log has no password block, boot diagnostics was off at first boot. Azure did not record the console copy. Read the file above instead.
On both clouds, if nothing matches, wait a few minutes for the install to finish and try again. On AWS the console output is replaced at each reboot, so the banner is gone after the first reboot. On Azure the serial log keeps earlier boots, so the banner stays there (section 14.2). In either case, the file above has the password. The startup key is not printed to the console. Read it from the file above.
The default username is admin.
Do this before anything else. Copy the admin password and the startup key into your password manager or secrets vault, verify you can sign in, then shred the file:
sudo shred -u /root/installation-artifacts.txt
On 2.16.0, also remove the copies in the system logs (section 14.2).
Crogl cannot recover either value. The startup key decrypts this install's bootstrap secrets — without it, the install cannot be recovered if the host is rebuilt or var/bootstrap_encryption_key is lost.
7.5 Step 5: Set the Network Posture
The non-interactive first-boot install selects tunnel access mode, which binds the UI and API listeners to 127.0.0.1. Until you change this, the UI is not reachable from your network regardless of your security group or NSG.
Set direct access. Bind the listeners to all interfaces and regenerate the TLS certificate with the right names:
/home/ubuntu/crogl/bin/crogl.sh set-access direct --hostname crogl.example.com
# or, if analysts reach the host by address:
/home/ubuntu/crogl/bin/crogl.sh set-access direct --ip 10.0.1.25
Use direct access for an evaluation too. Restrict inbound TCP 4043 in the security group or NSG to the evaluator's IP address (section 4.7). An SSH tunnel does not work on this image. The image's SSH hardening disables port forwarding (DisableForwarding yes), so sshd refuses the forwarded connection.
# AWS
aws ec2 authorize-security-group-ingress --group-id <sg-id> --protocol tcp --port 4043 --cidr <evaluator-ip>/32
# Azure
az network nsg rule create -g <resource-group> --nsg-name <nsg-name> -n crogl-ui --priority 300 --direction Inbound --access Allow --protocol Tcp --destination-port-ranges 4043 --source-address-prefixes <evaluator-ip>/32
set-access restarts Crogl to apply the change. It owns the bind_host line in crogld.yaml — set it with this command rather than editing the file, which crogl.sh will revert.
Outbound access: connected or air-gapped
Crogl needs no internet access for itself. The image carries its container images, and the installer runs offline. The product makes no licence check and no update check. Telemetry is off unless you configure it. What needs egress is the systems you point Crogl at:
- The language model. This is mandatory.
- Your identity provider, after sign-in moves to OIDC.
- Your connectors.
- The package archive, if you apply OS updates yourself.
Outbound connections the operating system makes
The image is Ubuntu 24.04 LTS. Some standard Ubuntu services connect to public endpoints on a schedule. Crogl does not use these connections. The table lists each one, so that you can permit it or stop it.
| Service | Destination | When | Stopped by crogl-airgap |
|---|---|---|---|
| apt-daily, apt-daily-upgrade, unattended-upgrades | The cloud's Ubuntu archive mirror, security.ubuntu.com | Daily | Yes |
| Ubuntu Pro (ua-timer, ESM apt hook) | esm.ubuntu.com | Daily, and on apt update | Yes |
| motd-news | motd.ubuntu.com | Twice daily | Yes |
| fwupd-refresh | cdn.fwupd.org | Daily | Yes |
| update-notifier | Ubuntu archive | Daily | Yes |
| snapd refresh | api.snapcraft.io | Several times daily | Yes (refresh held) |
| pollinate | entropy.ubuntu.com | First boot | Yes |
| amazon-ssm-agent (AWS only) | ssm, ssmmessages and ec2messages endpoints in your region | Continuous | No |
| Azure VM agent, walinuxagent (Azure only) | 168.63.129.16 (Azure platform) and the Azure extension endpoints | Continuous | No |
| systemd-timesyncd | AWS: 169.254.169.123 (Amazon Time Sync). Azure: Ubuntu NTP pool | Continuous | AWS: not needed, link-local. Azure: blocked, see Time source |
AWS. The SSM agent connects to the Systems Manager endpoints in your own region. Without interface VPC endpoints those names resolve to public addresses, so with the egress switch on the agent retries and fails continuously. Give it interface VPC endpoints for those three services, or stop it with sudo snap stop --disable amazon-ssm-agent. The air-gapped image leaves the agent running.
Azure. The VM agent reports VM health and runs extensions through the Azure platform address 168.63.129.16. The same address is the VNet's default DNS resolver. See Constrain egress below before you turn the switch on.
Connected deployment. Allow outbound 443 to your model provider and identity provider, and connector-specific ports to your connector hosts. This is the posture described in section 4.7.
Air-gapped deployment. Where the instance has no route to the internet — an isolated VPC or VNet with no internet or NAT gateway, or a region that is isolated from the internet by design — the product still runs, but four things change.
- The language model must be reachable inside the boundary. A hosted provider such as Anthropic or OpenAI is unreachable by definition. On AWS, use Amazon Bedrock in-region, as described in section 7.8. On either cloud, you can run an open-weight model on your own GPU hosts and point Crogl at it, as described in section 6.2. Decide this before you deploy. It is the only component with no offline fallback.
- Set the time source. See Time source below.
- Install your certificate authorities. See Certificate authorities below.
- Constrain egress at both layers. See Constrain egress below.
The air-gapped image is published on AWS only. On Azure, deploy the commercial image and turn the egress switch on as described below.
Time source
AWS. The image uses the Amazon Time Sync Service only. It sets NTP=169.254.169.123 in /etc/systemd/timesyncd.conf.d/cis-ntp.conf. 169.254.169.123 is link-local, so it needs no route off the instance.
Azure. Azure has no link-local NTP address, so the image sets the Ubuntu NTP pool (0–3.ubuntu.pool.ntp.org) in the same file. With the egress switch on, or with no internet route, the pool is unreachable. Point timesyncd at a time server inside your boundary.
To use your own time server, create a drop-in file that sorts after the image's own file:
# /etc/systemd/timesyncd.conf.d/zz-local-ntp.conf
[Time]
NTP=
NTP=<your-time-server>
FallbackNTP=
On AWS you can use 169.254.169.123 as the server. The empty NTP= and FallbackNTP= lines reset the lists. Without them, timesyncd adds your server to the servers that earlier files set.
Then restart the service and check the result:
sudo systemctl restart systemd-timesyncd
timedatectl timesync-status
If the server is outside the private ranges, add it to /etc/crogl/airgap.allow as well.
Certificate authorities
Public certificate authorities are not present in an air-gapped region. Your own certificate authority signs your connector, identity and model endpoints. Crogl checks most connections against the host trust store. Command-line tools that run inside an agent container use the trust store of the container image. The Endpoint Trust page in the product documentation on the instance gives the full procedure.
Run the commands in this section as ubuntu. On Azure, switch first with sudo -iu ubuntu. The ubuntu account has passwordless sudo.
To add a certificate authority to the host:
sudo cp /path/to/corp-ca.pem /usr/local/share/ca-certificates/corp-ca.crt
sudo update-ca-certificates
/home/ubuntu/crogl/bin/crogl.sh restart
Crogl reads the trust store when it starts, so the restart is necessary.
To remove a certificate authority that you added:
sudo rm /usr/local/share/ca-certificates/corp-ca.crt
sudo update-ca-certificates --fresh
/home/ubuntu/crogl/bin/crogl.sh restart
To remove a public root that the operating system supplies:
- Open /etc/ca-certificates.conf.
- Find the line for the root, for example mozilla/Example_Root_CA.crt.
- Put an exclamation mark at the start of that line.
- Run sudo update-ca-certificates --fresh
- Restart Crogl: /home/ubuntu/crogl/bin/crogl.sh restart
For agent containers, keep the PEM bundle outside /home/ubuntu/crogl, for example in /home/ubuntu/crogl-ca/. Create the directory with mkdir -p /home/ubuntu/crogl-ca and copy the bundle into it. An upgrade moves files that it does not own out of /home/ubuntu/crogl (section 11.2). Name the bundle with extra_ca_file under the existing container: block in /home/ubuntu/crogl/etc/crogld.yaml. That block already holds image_name. Do not add a second container: line. Then restart Crogl:
container:
image_name: crogl-agent:latest
extra_ca_file: /home/ubuntu/crogl-ca/corp-ca.pem
A duplicate container: key or a missing bundle file stops crogld. crogld.out then shows only "startup failed before logging was ready".
The agent runtime trusts the certificate authorities in that bundle. A skill that runs a command-line tool directly against your endpoints needs your certificate authority in the agent image itself. The Endpoint Trust page shows how to extend the image. The --preserve upgrade keeps crogld.yaml (section 11.2). After an upgrade, make sure that the container block and its certificate bundle are still there.
Constrain egress
Two paths leave the instance, and different controls govern them. Traffic the host sends — Crogl reaching the model endpoint, and the API proxy reaching a connector — is locally generated. Traffic an agent container sends is forwarded, not locally generated, so it does not pass the host firewall's output chain at all. A rule written only against host traffic leaves every agent container unrestricted. Constrain both, and verify by testing rather than by reading the rules.
Layer 1: the network. A security group (AWS) or NSG (Azure) acts on the instance's network interface rather than inside the operating system, so it governs both paths. This layer is the boundary. Configure it whether or not you also use the switch below.
-
AWS: remove the internet gateway and NAT route, or restrict the security group's outbound rules to your model endpoint, identity provider and connector hosts. Security group rules match IP ranges, prefix lists and security groups, not host names. Use the provider's published IP ranges or a VPC endpoint. If a host has no stable range, use AWS Network Firewall with domain rules.
-
Azure: Azure evaluates NSG rules in priority order, lowest number first, and stops at the first match. Give each allow rule a lower number than the deny rule:
- Outbound allow rules for your model endpoint, identity provider and connector hosts, for example at priorities 100 to 199. NSG rules match IP ranges and service tags, not host names. Use the provider's published IP ranges or a service tag. If a host has no stable range, use Azure Firewall with FQDN rules.
- An outbound rule that denies the Internet service tag, at a higher number than every allow rule, for example 4000.
- Azure's default rules (AllowVnetOutBound 65000, AllowInternetOutBound 65001) then apply only to traffic that your rules do not match.
A deny rule with a lower number than an allow rule blocks that endpoint, starting with the language model. Do not try to block the platform address 168.63.129.16. NSG rules do not apply to it.
Layer 2: the instance. Both images carry crogl-airgap, a switch that blocks outbound internet access from the host and from agent containers together. On the commercial image (AWS and Azure) the switch is off when the image ships. The AWS air-gapped image ships with the switch on at every boot and the operating system jobs below already stopped; on that image, sudo crogl-airgap status reports the switch on and the enable step below is already done.
Azure: allow the platform address first. The switch's default allow list does not include 168.63.129.16. On Azure that address is the VNet's DNS resolver and the VM agent's endpoint, so turning the switch on without it stops all name resolution on the VM. Before you enable the switch on Azure, add it:
echo 168.63.129.16 | sudo tee -a /etc/crogl/airgap.allow
If your VNet uses custom DNS servers, add those too unless they are inside the private ranges.
Turn the switch on:
sudo crogl-airgap enable
sudo crogl-airgap status
The switch permits loopback, the instance metadata service at 169.254.169.254, the Amazon Time Sync address at 169.254.169.123, and the private ranges 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. It drops everything else. The switch stays on after a reboot.
Restarting or reloading nftables (systemctl restart nftables) flushes every nftables table, the switch's rules included, and egress is open again. After any nftables restart, run sudo systemctl restart crogl-airgap, then sudo crogl-airgap status.
enable also stops the operating system services in the table above, so that they make no attempts to connect. It stops and masks their systemd timers and services, and it holds snap refreshes. It records the earlier state of each unit in /etc/crogl/airgap.quiesced. The status command shows whether these services are stopped. The SSM agent (AWS), the VM agent (Azure) and the time service continue to run.
Two consequences follow from the default allow list.
Do not block the metadata service. On AWS, Crogl reads its Bedrock credentials from 169.254.169.254 when it runs in instance_role mode, described in section 7.8. Blocking that address disables the language model. The switch permits it for this reason. Keep it permitted in any rule you write yourself.
Private endpoints need no further configuration. An AWS interface VPC endpoint or an Azure private endpoint has an address inside your network, and so do the VPC DNS resolver and the Docker bridges, all inside the private ranges above. The same is true of a SIEM or a ticketing system hosted inside your network.
Add any destination outside those ranges to the allow list, then reload:
sudo nano /etc/crogl/airgap.allow
sudo crogl-airgap reload
Each line is an address, a CIDR block or a hostname. A hostname is resolved when the rules are built and its address is fixed into them, so run reload again if that address changes.
The switch blocks the package archive along with the rest of the internet. Apply operating system updates before you turn the switch on. To apply updates later, see section 11.2.
To restore unrestricted outbound access:
sudo crogl-airgap disable
disable also restores each operating system service to the state it had before enable.
Verify from inside an agent container as well as from the host. A check that runs only on the host passes while the container path is still open:
# from the host
curl -sS --max-time 5 https://1.1.1.1 ; echo "exit=$?"
# from a container on Crogl's network
sudo docker run --rm --network crogl_default --entrypoint sh crogl-agent:latest \
-c 'curl -sS --max-time 5 https://1.1.1.1' ; echo "exit=$?"
# Azure only: name resolution must still work
getent hosts login.microsoftonline.com
Both curl commands must fail, and an agent turn and a connector query must both still succeed.
The container check must bypass the image entrypoint, and --entrypoint sh is how it does so. crogl-agent:latest starts /bin/bash, so a command written as "docker run ... crogl-agent:latest curl ..." runs bash with curl as a script name. That fails for the wrong reason and reports a block that is not there. Do not shorten the command.
7.6 Step 6: Sign In and Configure Crogl
- Open
https://<your-host>:4043. - Accept the self-signed certificate warning, or install a certificate from your PKI first.
- Sign in as admin with the password from Step 4.
- The UI guides you through connecting a language model and adding at least one connector. Have your model API key and connector credentials ready.
7.7 Step 7: Set the Crogl URL
So that links Crogl posts into other systems resolve for whoever follows them — the ticket comment an investigation writes links back to the full report only when this is set — record the address analysts use. Set it as the Crogl URL on the Platform screen in Settings, or:
crogl login
crogl update-config platform.origin=https://crogl.example.com:4043
Run the commands as ubuntu. crogl login asks for the admin username and password. Without a session, update-config fails with "basic-auth login: read username: EOF".
An https address with no path. Include the port, :4043, unless a proxy serves Crogl on port 443. It is unset by default; until you set it, Crogl posts the same comments without a link rather than a broken one.
7.8 Configure Amazon Bedrock Without a Static Key (AWS)
This section applies to deployments on AWS. On Azure, Bedrock is available only in api_key mode.
Bedrock is the one language-model provider that authenticates with AWS credentials rather than an API key. Crogl offers four authentication modes. Three resolve credentials from the instance and store no secret.
- instance_role — reads the EC2 instance role from the instance metadata service and nothing else. Environment and shared-config credentials are ignored, which makes the credential source a configuration assertion rather than whatever the host happens to hold. A stray access key fails loudly instead of being used. This is the mode to choose.
- assume_role — calls AWS STS to assume a named role, authenticated by the host identity. Requires a role ARN and accepts an external ID.
- default_chain — uses whichever AWS identity crogld runs as: environment variables, shared config, web identity, ECS, then instance metadata, first match wins. Use it for ECS task roles or EKS IRSA.
- api_key — a Bedrock bearer token held as an application secret. This is a static authenticator. Do not use it where static credentials are prohibited.
Step 1: Create the instance profile.
The role needs two Bedrock actions, bedrock:InvokeModel and bedrock:InvokeModelWithResponseStream, on the model resources you intend to call. Its trust policy names ec2.amazonaws.com. For assume_role, the target role trusts the instance role as principal and the instance role needs sts:AssumeRole on it.
Image delivery creates no IAM resources, so provision the role and instance profile yourself and attach the profile at launch:
aws ec2 run-instances ... --iam-instance-profile Name=crogl-bedrock
To attach to an instance that is already running:
aws ec2 associate-iam-instance-profile --instance-id <id> --iam-instance-profile Name=crogl-bedrock
Step 2: Point Crogl at Bedrock.
In Settings then Language Model, choose Amazon Bedrock and the authentication mode. The AWS region is required for Bedrock in every mode, including api_key: the signing scope is region-bound and the agent's provider block needs it regardless of how the call authenticates. A wrong region fails as SignatureDoesNotMatch.
The model URL must be the bare runtime endpoint with no model in the path, for example https://bedrock-runtime.us-east-1.amazonaws.com. A model in the path leaves the connection test passing while every agent turn fails.
The three role modes additionally require an https model URL and refuse to run with TLS verification disabled, because SigV4 carries temporary credentials in a request header.
Step 3: Verify.
Run the connection check on the Language Model screen. It resolves credentials and signs a request, so a misconfiguration surfaces here rather than on the first agent turn. A failure naming the credential source means the instance profile is missing or unattached; a failure from the role itself means its trust policy refuses the caller.
Air-gapped and restricted regions.
Bedrock is an AWS API call, so it needs a network path even where the instance has no route to the internet. Reach it over an interface VPC endpoint rather than by opening outbound access. Crogl signs the request itself and sends it to the model URL you configure, so this needs no change to the product.
Create the endpoint in the subnet the instance runs in, with private DNS enabled:
aws ec2 create-vpc-endpoint \
--vpc-id <vpc-id> \
--vpc-endpoint-type Interface \
--service-name com.amazonaws.<region>.bedrock-runtime \
--subnet-ids <subnet-id> \
--security-group-ids <endpoint-sg> \
--private-dns-enabled
Give the endpoint's security group inbound 443 from the instances that will use it, and give the instance outbound 443 to that security group. Nothing else needs opening, and general internet egress stays closed.
The endpoint's private DNS name is the same hostname as the public service, so leave the model URL as the bare runtime endpoint. Private DNS applies to the whole VPC and takes a short while to take effect; before testing, confirm with dig that the hostname resolves to an address inside your subnet rather than a public one.
instance_role needs no STS endpoint. Credentials come from the instance metadata service at 169.254.169.254, which is link-local and needs no route off the instance. assume_role calls AWS STS, so it needs an interface endpoint for com.amazonaws.<region>.sts as well.
Where you cannot use an interface endpoint, credential resolution still follows the AWS SDK's default configuration, so the standard SDK environment variables and shared config file will redirect the STS and instance-metadata calls. Set AWS_CA_BUNDLE to point the SDK at your own certificate bundle where those endpoints are signed by a certificate authority the host does not already trust; adding the authority to the host trust store, as section 7.5 describes, has the same effect for every component at once.
Verified on 2026-09-20: a t3.2xlarge with no outbound internet access, an instance profile granting Bedrock access, and a bedrock-runtime interface endpoint completed both the Crogl connection test and a live inference call.
Confirm that Bedrock is offered in your target region before planning on it, and confirm the model identifier as well. The us. prefix on an identifier such as us.anthropic.claude-sonnet-4-6 denotes a cross-region inference profile, and the profiles on offer differ between partitions.
7.9 Next: Graduate to Production
A fresh install runs with local-admin sign-in, the bundled database, and a self-signed certificate. That is the right shape for evaluation and the wrong one for production. Make these changes early, before your team builds up state:
| Step | Why now |
|---|---|
| Move sign-in to your OIDC identity provider (for example Microsoft Entra ID) | Replaces the fixed local admin password with your SSO and role mapping |
| Move to external PostgreSQL | Starts a fresh, empty database. Connectors, investigations, skills, and the knowledge graph do not carry over |
| Replace the self-signed certificate | Browsers trust Crogl without client-side setup |
| Trust your corporate CA | Lets Crogl reach internally-signed connector endpoints |
Moving to external PostgreSQL issues a new startup key — replace your stored copy when you do.
8. Testing and Troubleshooting
Run the commands in this section as ubuntu (on Azure, sudo -iu ubuntu first). $CROGL_HOME is set for you.
8.1 Verify Services Are Running
# Health and containers
curl -sk https://localhost:4043/health | jq .
docker ps --filter name=crogl
# First-boot install
test -f /var/lib/crogl/installed && echo "install complete"
systemctl status crogl-firstboot.service --no-pager
# Logs
tail -f "$CROGL_HOME/var/log/crogld.log" # structured server log
tail -f "$CROGL_HOME/var/log/crogld.out" # startup output - read this first if crogld never came up
8.2 Health Check Endpoints
| Check | Expected Response |
|---|---|
| curl -sk https://localhost:4043/health | {"status":"ok"} |
| curl -sk https://localhost:4043 | HTML page (Crogl UI) |
| docker exec crogl-postgres pg_isready -U crogl | "accepting connections" |
8.3 Common Issues
Startup and access:
| Symptom | Cause | Resolution |
|---|---|---|
| Cannot SSH to the instance | Port 22 not open, or wrong login user | Add inbound TCP 22 for your IP. AWS: connect as ubuntu, not ec2-user or root. Azure: connect as the admin user you chose at deployment |
| Azure: SSH refuses the admin user | The admin username is not a valid Linux user name, so first boot did not admit it | Read /var/log/crogl-firstboot.log through the serial console. Redeploy with a valid name |
| UI unreachable at the public IP, but curl -sk https://localhost:4043 works on the host | Access mode is tunnel — listeners bound to 127.0.0.1 | crogl.sh set-access direct --hostname <name> (see section 7.5) |
| UI unreachable after a reboot or stop and start (2.16.0) | crogld is not restarted at boot | crogl.sh up as ubuntu (section 14.1) |
| Connection refused on :4043 shortly after launch | First-boot installer still running | Wait ~5 min; watch journalctl -u crogl-firstboot.service -f |
| /var/lib/crogl/installed never appears | Installer failed three times | sudo tail -200 /var/log/crogl-firstboot.log. Most common cause is too little RAM — the preflight hard-fails below 7 GB |
| Installer fails on first docker call | ubuntu not in the docker group | The first-boot wrapper adds it idempotently; check id -nG ubuntu and re-run the service |
| crogld exits immediately after install | Bad crogld.yaml, failed migration, or a panic | Read $CROGL_HOME/var/log/crogld.out — pre-logging failures go there, not to crogld.log |
| Azure: name resolution fails after enabling crogl-airgap | 168.63.129.16 not in the allow list | Add it and run sudo crogl-airgap reload (section 7.5) |
Authentication:
| Symptom | Cause | Resolution |
|---|---|---|
| Cannot sign in as admin | Password lost | Not recoverable. Retrieve from /root/installation-artifacts.txt if not yet shredded, or from the console log (section 7.4). Otherwise reinstall or move to your IdP |
| API returns 401 Unauthorized | Expired token | Re-authenticate: crogl login, or crogl get-access-token |
| Model calls return 401 | Invalid or missing model API key | Set it in Settings, or crogl set-secret --key lm_api_key --value '<key>' |
| Sign-in works but no connectors are visible | Role claim not mapped from your IdP | See the Identity Provider documentation on the instance |
TLS and certificates:
| Symptom | Cause | Resolution |
|---|---|---|
| Self-signed certificate warning | Expected on a fresh install | Accept in the browser, or install a certificate from your PKI |
| Browser cannot reach Crogl at all | Certificate expired | Renew: crogl.sh set-access <current-mode> --force |
| Certificate name mismatch after moving hosts | Certificate generated for the old name | crogl.sh set-access direct --hostname <new-name> regenerates it |
| Connector calls fail with certificate errors | Internally-signed endpoint, or a proxy intercepting TLS | Add your corporate CA to the host trust store |
Connectors:
| Symptom | Cause | Resolution |
|---|---|---|
| Connector queries time out | Network path, credentials, or service load | Verify security group or NSG egress, connector health, and routing |
| Connector returns 401/403 | Expired or invalid credentials | Update them on Settings → Connectors |
8.4 Log Locations
| Log | Location | Purpose |
|---|---|---|
| First-boot installer | /var/log/crogl-firstboot.log, journalctl -u crogl-firstboot.service | The one-time install |
| Server | $CROGL_HOME/var/log/crogld.log | crogld's API, MCP, and model proxy |
| Server startup | $CROGL_HOME/var/log/crogld.out | Migrations, bad config, panics — anything before structured logging starts |
| CLI client | ~/.crogl/var/log/crogl-<timestamp>-<pid>.log | One file per command, newest 100 kept |
| Agent | docker logs crogl-agent-u<uid>-c<id> | One container per conversation |
| Console | AWS: EC2 console output. Azure: boot diagnostics serial log | Boot and first-boot messages without SSH |
Find the most recent CLI run:
ls -t ~/.crogl/var/log/crogl*.log | head -1
Filter the server log by service, or pull out errors:
grep '"event":"access.api"' "$CROGL_HOME/var/log/crogld.log" # UI and API requests
grep '"event":"service.lmproxy"' "$CROGL_HOME/var/log/crogld.log"
grep '"event":"handler.mcp"' "$CROGL_HOME/var/log/crogld.log"
The server log is JSON, so jq gives you more:
# Error summary, most frequent first
jq -r 'select(.level == "ERROR") | .msg' "$CROGL_HOME/var/log/crogld.log" \
| sort | uniq -c | sort -rn
# Slowest requests (duration is in milliseconds)
jq -r 'select(.event == "access.api") | "\(.duration) ms \(.path)"' "$CROGL_HOME/var/log/crogld.log" \
| sort -rn | head
To raise verbosity while chasing a problem, set log_level in $CROGL_HOME/etc/crogld.yaml to debug and restart. The default is info; an unrecognized value falls back to info.
9. Health Monitoring
9.1 Health Check
/health is the single endpoint for automated monitoring. It is also what the installer polls to decide the server came up.
curl -sk https://localhost:4043/health | jq .
To probe it from outside the host, point a load-balancer health probe or a synthetic monitor at TCP 4043, HTTPS, path /health, from an address the security group or NSG admits.
9.2 Host Capacity Warnings
Crogl watches the host's CPU, memory, and filesystems and warns administrators when one runs short. The readings are on the Host Resources card of the admin dashboard.
| Resource | Warning | Critical | What a warning means |
|---|---|---|---|
| CPU | 90% busy | 98% busy | Investigations take longer while the host stays busy |
| Memory | 85% used | 95% used | An agent container can be killed by the kernel before it finishes |
| Filesystem | 80% used, or under 10 GiB free | 95% used, or under 5 GiB free | Saving a skill, writing a log, or starting an agent container can fail |
A filesystem takes whichever of its two measures is worse, so a small volume can cross the free-space floor while its percentage still looks comfortable.
9.3 Additional Metrics
| Metric | Source | Suggested Threshold |
|---|---|---|
| API latency | crogld.log (.duration in ms, on access.api lines) | > 5000 ms p95 |
| Error rate | crogld.log (.level == "ERROR") | > 1% |
| Disk usage | df | > 80% |
| Container memory | docker stats | > 90% |
| Certificate expiry | certificate file | < 30 days |
Host CPU, disk and network metrics are also in Amazon CloudWatch (AWS) and Azure Monitor (Azure) without any agent. Memory and filesystem metrics need the CloudWatch agent or the Azure Monitor agent.
9.4 Certificate Expiry Check
openssl x509 -in "$CROGL_HOME/etc/crogld-cert.pem" -noout -enddate
9.5 Restart
$CROGL_HOME/bin/crogl.sh restart
Never pass --force to crogl.sh up on a running install. It regenerates the bootstrap secrets, which makes all encrypted database data unreadable. Use plain up, down, or restart for normal operation.
10. Backup and Recovery
10.1 Data Stores
| Data Store | Location | Backup Method |
|---|---|---|
| Startup key | $CROGL_HOME/var/bootstrap_encryption_key | Your secrets manager. The single most important item |
| Bootstrap secrets | $CROGL_HOME/var/bootstrap-secrets.enc | Disk snapshot or file copy |
| Database (bundled) | $CROGL_HOME/var/data/postgres | Disk snapshot or pg_dump |
| Attachment bytes | $CROGL_HOME/var/attachments | Same backup as the database — see below |
| Server configuration | $CROGL_HOME/etc/crogld.yaml | File copy — keep one before an upgrade |
| TLS certificates | $CROGL_HOME/etc/crogld-cert.pem, crogld-key.pem | Disk snapshot or file copy |
| Skills | $CROGL_HOME/var/content/skills/ | Disk snapshot or file copy |
| Logs | $CROGL_HOME/var/log/ | Disk snapshot or log forwarding |
var/attachments and the database are two halves of one dataset. Files users attach to the assistant are stored as bytes on disk with only their metadata in PostgreSQL, so an attachment is one row plus one file. Restore both from the same backup. Crogl reconciles a mismatch automatically and the database wins: files it does not account for are unlinked, and rows whose files are gone are marked permanently unavailable. Pairing a database with a newer attachment store therefore loses the files that database never knew about.
One case the reconciler refuses to act on: if not one expected file is present, it changes nothing and logs at error level, because that is what an unmounted volume looks like. If you see those errors, confirm the store directory is mounted and belongs to this database before restarting anything.
A snapshot of the root disk captures the database and the attachment store together, which is why it is the recommended method.
10.2 Backup Procedure
Disk snapshot (recommended).
AWS. These commands run on the instance and need AWS credentials that allow ec2:DescribeInstances and ec2:CreateSnapshot. The image has none, so attach an instance role with those permissions, or run the last two commands from a workstation with your instance ID:
TOKEN=$(curl -sX PUT "http://169.254.169.254/latest/api/token" \
-H "X-aws-ec2-metadata-token-ttl-seconds: 60")
INSTANCE_ID=$(curl -s -H "X-aws-ec2-metadata-token: $TOKEN" \
http://169.254.169.254/latest/meta-data/instance-id)
VOLUME_ID=$(aws ec2 describe-instances --instance-ids "$INSTANCE_ID" \
--query 'Reservations[0].Instances[0].BlockDeviceMappings[0].Ebs.VolumeId' \
--output text)
aws ec2 create-snapshot --volume-id "$VOLUME_ID" \
--description "Crogl backup $(date +%Y%m%d)"
Azure. Run from a workstation or Cloud Shell:
DISK_ID=$(az vm show -g <rg> -n <vm> --query storageProfile.osDisk.managedDisk.id -o tsv)
az snapshot create -g <rg> -n "crogl-backup-$(date +%Y%m%d)" \
--source "$DISK_ID" --incremental true
Azure Backup can take scheduled VM backups instead, with the same restore properties.
Database-only backup (both clouds):
umask 077
BACKUP_DIR=$(mktemp -d "$HOME/crogl-backup.XXXXXX")
docker exec crogl-postgres pg_dump -U crogl -d crogl \
> "$BACKUP_DIR/crogl-backup-$(date +%Y%m%d).sql"
umask 077 and the private directory make the dump readable only by you. Do not write backups to /tmp. A pg_dump is not sufficient on its own. The data in it is encrypted with the key held in bootstrap-secrets.enc, which the startup key decrypts, and it does not contain the attachment bytes. Keep the dump, bootstrap-secrets.enc, the startup key, and var/attachments — captured at the same moment.
10.3 Recover an Install from the Startup Key
You need your saved startup key in one situation: var/bootstrap-secrets.enc survived but var/bootstrap_encryption_key did not. A rebuilt host, a backup restored without var/, a deleted file, or an install moved to new hardware all produce it.
- Launch a new instance from the same image version and let the first-boot install complete.
- Stop Crogl: $CROGL_HOME/bin/crogl.sh down
- Restore var/bootstrap-secrets.enc, the PostgreSQL data directory, and var/attachments — all from the same backup. The PostgreSQL data directory, var/data/postgres, belongs to the database container's own user (UID 70), not ubuntu. Restore it from the disk snapshot, or as root with ownership kept:
sudo tar --numeric-owner -xzpf <archive> -C $CROGL_HOME. - Delete the startup key that first boot created:
rm $CROGL_HOME/var/bootstrap_encryption_key.crogl.shasks for the saved key only when no key file is present. If you kept the original key file, restore it in its place. Crogl then starts without the prompt. - Run $CROGL_HOME/bin/crogl.sh up. It finds the encrypted state with no key beside it and prompts for the startup key.
- Paste the key. Crogl writes it back and confirms the install was restored — existing accounts and data come back with it.
Without the startup key, encrypted data is unrecoverable. Crogl cannot regenerate it. If both the key and your copy are gone, the only path forward is a fresh bootstrap: a new database, and the loss of everything encrypted in the old one.
11. Routine Maintenance
11.1 Credential and Key Rotation
Language-model API key. Set it in Settings, or:
crogl set-secret --key lm_api_key --value '<new-api-key>'
No restart required — the server invalidates its secrets cache on commit.
TLS certificate (self-signed). Renew with set-access, which regenerates the certificate with the right names, refreshes the host trust store, and restarts Crogl:
$CROGL_HOME/bin/crogl.sh set-access <current-mode> --force
To install a certificate from your own PKI instead, set cert_file and key_file in $CROGL_HOME/etc/crogld.yaml and restart.
Administrator password. The local admin password is fixed for the lifetime of the install and cannot be changed from the UI. Your options:
- Recommended: move sign-in to your OIDC identity provider, which retires local-admin sign-in in favour of your own account lifecycle and role mapping.
- Reinstall the appliance with a new password staged at /etc/crogl/admin-password.
Startup key. Not rotatable in place. Moving to external PostgreSQL issues a new one — replace your stored copy when you do.
SSH keys. AWS: replace the key in /home/ubuntu/.ssh/authorized_keys. Azure: the Reset password blade (reset SSH public key) and az vm user update add the new key. They do not remove the old key, so the old key continues to work. To rotate the key:
-
Add the new key:
az vm user update -g <resource-group> -n <vm-name> \ --username <admin-user> --ssh-key-value ~/.ssh/<new>.pub -
Log in with the new key.
-
Remove the line for the old key from
/home/<admin-user>/.ssh/authorized_keys. -
Make sure that the old key no longer logs in.
11.2 Software Updates and Upgrades
Upgrade Crogl in place with the new release's installer. Your data, accounts and bootstrap secrets carry over. This follows the Upgrade procedure in the Crogl documentation (Operations → Upgrade, also served on every instance at https://<your-host>:4043/docs/). The installer is self-contained, so the upgrade needs no internet access and the crogl-airgap egress switch can stay on throughout. On this image, CROGL_HOME is /home/ubuntu/crogl.
Get the installer. Use crogl-<version>-linux-amd64.sh from your Crogl representative, brought in through your organisation's approved transfer process. Each version's image also carries its own installer at /opt/crogl/crogl-installer-linux-amd64.sh, so you can copy it from an instance launched from the new version's image. Verify it before use:
sha256sum crogl-<version>-linux-amd64.sh # compare with the published checksum
Plan a maintenance window. Crogl migrates its database when the new version first starts, and a release may change the schema in a way the earlier version cannot read. Move every Crogl component to the new version together: the server, and the crogl CLI on each machine that connects to it.
Back up before you stop Crogl, and keep the backup until you have verified the upgrade. Dump the bundled database from its container and archive the persistent files beside it: the bootstrap secrets, the startup key, and the attachment files whose records live in the database. Store the archive off the instance with your saved copy of the startup key, and protect it as you protect that key.
umask 077
BACKUP_DIR=$(mktemp -d "$HOME/crogl-backup.XXXXXX")
STAMP=$(date -u +%Y%m%dT%H%M%SZ)
docker exec crogl-postgres pg_dump -w -U crogl -d crogl -Fc > "$BACKUP_DIR/crogl-db-$STAMP.dump"
tar -czf "$BACKUP_DIR/crogl-var-$STAMP.tar.gz" -C "$CROGL_HOME" \
var/bootstrap-secrets.enc var/bootstrap_encryption_key var/attachments
The dump and the archive run one after the other while Crogl still accepts writes. An attachment deleted between them leaves a database row without its file, and Crogl then marks that file unavailable. For a consistent copy, also take a disk snapshot (section 10.2) after crogl.sh down in the next step. Nothing writes while Crogl is stopped.
Upgrade. Run the installer over the existing install. It asks "Replace application files and preserve existing local data? [Y/n]". Answer Y, the default. To run it without prompts, pass --preserve --yes. Never pass --clean, which discards your data. The installer keeps etc/crogld.yaml and migrates it if the new version needs that. Save a copy first anyway, so you can compare. The installer moves other files that you added under $CROGL_HOME to ~/crogl-operator-files.*. Before you start Crogl, move back any file that crogld.yaml names. The installer puts its own files back, such as the TLS certificate and key and the access-mode files, so they need no action. The directory keeps a copy of the TLS private key, so delete it once Crogl is running.
INSTALLER=./crogl-<version>-linux-amd64.sh
$CROGL_HOME/bin/crogl.sh down
# take the disk snapshot (section 10.2) now, while nothing writes
cp "$CROGL_HOME/etc/crogld.yaml" ~/crogld.yaml.bak
bash "$INSTALLER" --preserve --yes # keeps your data and etc/crogld.yaml
# compare with ~/crogld.yaml.bak, then:
$CROGL_HOME/bin/crogl.sh up
Do not pass --force to up during an upgrade; it wipes encrypted state.
An in-place upgrade replaces the Crogl software only. It does not add the boot-time service that later images carry, so an instance launched from 2.16.0 still needs crogl.sh up after each reboot (section 14.1) after you upgrade it. To get that service, move to a new instance as described below.
If the start fails during migration, Crogl stops before changing the database and the message is in $CROGL_HOME/var/log/crogld.out. Collect it and contact Crogl support (section 13).
Roll back. To return to the earlier version after a completed migration, restore the database dump and the archived var/ files from the same backup, then re-run the earlier installer and start Crogl. Reinstalling the earlier version alone does not undo a migration. If an earlier version is started on an upgraded database without that restore, it shows none of your data or fails to start, and the next start of the new version stops with an error in crogld.out that includes "migration history exists in both public and private schemas (restore the pre-upgrade backup)". Restore the pre-upgrade backup, then start the version it came from.
Collation warnings. If Crogl or PostgreSQL reports a collation version mismatch after an upgrade (for example "The database was created using collation version 2.43, but the operating system provides version 2.44"), contact Crogl support for the bundled-database migration script and guide, and schedule a separate maintenance window for it. The installer does not run it automatically.
Alternative: a new instance. To move to a clean host instead, back up as above, launch the new version's image and let the first-boot install complete, then restore the database and var/ files following section 10.3, re-apply your crogld.yaml blocks and set the access mode. Terminate the old instance once the new one is verified.
Operating system updates. Apply OS security updates on your own cadence. If the crogl-airgap switch is on, it blocks the package archive and stops the automatic update services. Turn the switch off for the update, then turn it on again. Where the instance has no route to the archive, use a package mirror inside your boundary instead, and add the mirror to /etc/crogl/airgap.allow if its address is outside the private ranges. Update commands:
sudo apt-get update && sudo apt-get upgrade
If an update needs a reboot, run crogl.sh up after it (section 14.1).
11.3 License Management
Crogl licensing is managed through the marketplace you subscribed on. No license keys or activation codes are required.
- AWS: your subscription is tied to your AWS account and billed through your AWS bill. Manage or cancel it under AWS Marketplace → Manage subscriptions in the console.
- Azure: charges for the plan, if any, appear on your Azure invoice beside the VM's compute charges. Review the plan's terms under the subscription's Marketplace purchases or with
az vm image terms show --urn <publisher-id>:crogl-ai-ent-sec-vm:crogl:latest. Deleting the VM ends its plan charges.
11.4 Log Rotation
crogld rotates crogld.log itself at 100 MB and keeps its 10 most recent compressed archives. It also rotates on SIGHUP, which is how you add time-based retention:
# /etc/logrotate.d/crogl
/home/ubuntu/crogl/var/log/crogld.log {
daily
rotate 14
compress
delaycompress
missingok
notifempty
nocreate
postrotate
pkill -HUP -x crogld || true
endscript
}
Two settings are load-bearing. postrotate is what makes crogld release the renamed file — without the SIGHUP it keeps writing to the segment logrotate moved aside, and the fresh file stays empty. nocreate leaves the new file to crogld, which creates it owner-only.
crogld.out is neither rotated nor pruned — it is the launch script's redirect, so a crash-looping server grows it without bound. Rotate it here too, or leave headroom.
11.5 Cloud Service Limits
AWS
| Service | Default Limit | Crogl Requirement |
|---|---|---|
| EC2 running instances | Varies by region | 1 per Crogl deployment |
| EBS volume storage | 50 TB | 100 GB–1 TB per deployment |
| Elastic IPs | 5 per region | 0–1 per deployment |
| Security groups per VPC | 2,500 | 1 per deployment |
To request increases, visit AWS Service Quotas in the console.
Azure
| Quota | Default | Crogl Requirement |
|---|---|---|
| Regional vCPUs for the VM family (for example Standard DSv5 Family vCPUs) | Varies by subscription type | 8 or 16 per deployment |
| Total regional vCPUs | Varies by subscription type | 8 or 16 per deployment |
| Standard public IP addresses | Varies by subscription type | 0–1 per deployment |
| Network security groups | 5,000 per region | 1 per deployment |
Check usage with az vm list-usage --location <region> -o table, and request increases under Subscriptions → Usage + quotas in the portal.
12. Emergency Maintenance
12.1 Troubleshooting Quick Reference
| Issue | First Check | Quick Fix |
|---|---|---|
| Service won't start | tail "$CROGL_HOME/var/log/crogld.out" | Fix config, then crogl.sh restart |
| Service down after a reboot (2.16.0) | pgrep -x crogld | crogl.sh up (section 14.1) |
| UI unreachable from the network | grep bind_host $CROGL_HOME/etc/crogld.yaml | crogl.sh set-access direct --hostname <name> |
| Instance unreachable | SSH timeout | AWS: reboot from the EC2 console. If that fails, stop and start. Azure: use the serial console, then restart. If that fails, use Redeploy to move the VM to a new host |
| 401 on the API | Token expiry | crogl login |
| Database error | Bundled PostgreSQL container | docker exec crogl-postgres pg_isready -U crogl; verify host port 5433 |
| Agent not responding | docker logs crogl-agent-u<uid>-c<id> | crogl.sh restart |
| Browser rejects the certificate | openssl x509 ... -noout -enddate | crogl.sh set-access <mode> --force |
| Disk full | "No space left on device" | See Expand the root disk below |
On 2.16.0, run crogl.sh up after any reboot, stop and start, or Azure redeploy (section 14.1).
Expand the root disk.
- AWS: modify the volume size in the EC2 console or with
aws ec2 modify-volume, then on the instance runsudo growpart /dev/nvme0n1 1 && sudo resize2fs /dev/nvme0n1p1. - Azure: stop (deallocate) the VM, then
az disk update -g <rg> -n <os-disk> --size-gb <new-size>, then start it. Ubuntu grows the root partition and file system at boot. If it does not, runsudo growpart /dev/sda 1 && sudo resize2fs /dev/sda1.
12.2 Complete System Restart
$CROGL_HOME/bin/crogl.sh down
$CROGL_HOME/bin/crogl.sh up
Or in one step:
$CROGL_HOME/bin/crogl.sh restart
Do not use up --force as a troubleshooting step. It regenerates the bootstrap secrets and makes all encrypted data unreadable.
If containers are wedged and a normal restart does not clear them:
$CROGL_HOME/bin/crogl.sh down
docker ps -aq --filter name=crogl | xargs -r docker rm -f
$CROGL_HOME/bin/crogl.sh up
12.3 Software Recovery
If the instance is in an unrecoverable state:
- Take a snapshot of the root disk to preserve data (section 10.2).
- Launch a new instance from the latest Crogl image and let first boot finish.
- Restore state — see section 10.3. You need the startup key.
- Re-apply configuration — your crogld.yaml blocks, then set the access mode and platform.origin.
12.4 Roll Back OS Hardening
If CIS hardening conflicts with your environment:
sudo /usr/local/sbin/cis-unharden.sh
sudo reboot
Run it interactively and read each prompt (section 4.10). Before you do: unhardening replaces /etc/nftables.conf with the Ubuntu default, which accepts all traffic. The host firewall is gone after the next reboot, whatever you answer at the prompts. Afterwards, allow only ports 22 and 4043 in your security group or NSG, or confirm that nothing outside the host can reach any other port. Alternatively, relaunch from the previous image version: on AWS every AMI is tagged in EC2 with Project=Crogl, Version and BuildDate; on Azure, pick the earlier version from the Marketplace plan. The air-gap switch is not affected. crogl-airgap holds its rules in a table of its own and loads them from its own service, so unhardening leaves them in place and crogl-airgap status still reports the true state. See section 7.5.
13. Support
13.1 How to Get Support
| Channel | Details |
|---|---|
| support@crogl.com | |
| Community | crogl.com/community |
| Documentation | On your Crogl instance at https://<your-host>:4043/docs/ |
| AWS Marketplace | Use "Contact seller" on the Crogl listing |
| Azure Marketplace | Use the support link on the Crogl offer |
13.2 Information to Include
For the fastest diagnosis, include:
- The cloud and the image: AWS AMI ID, or Azure image URN and version (
az vm show -g <rg> -n <vm> --query storageProfile.imageReference) - The Crogl version ($CROGL_HOME/bin/crogl version)
- Instance size and region
- Whether the first-boot install completed (/var/lib/crogl/installed)
- Relevant excerpts from crogld.out, crogld.log, or /var/log/crogl-firstboot.log
Redact credentials before sending. Logs can contain connector names and request paths, and on 2.16.0 the system logs contain the admin password (section 14.2).
For questions or feedback, contact support@crogl.com.
14. Known Issues in 2.16.0
Both issues were reproduced on 13 November 2026 on fresh 2.16.0 instances on AWS and on Azure. Both are fixed in images for later versions.
14.1 Crogl does not restart after a reboot
The first-boot service starts crogld once. Nothing starts it again. After a reboot, a stop and start, or an out-of-memory kill, crogld does not come back, and https://<host>:4043 does not answer. PostgreSQL does not come back either once crogl.sh restart, or crogl.sh down then up, has run. The certificate steps in section 7.5 run a restart.
After every reboot or stop and start, start Crogl again as ubuntu:
/home/ubuntu/crogl/bin/crogl.sh up
curl -sk https://localhost:4043/health # {"status":"ok"}
crogl.sh up starts PostgreSQL and crogld. Do not pass --force. See section 9.5.
14.2 The admin password is written to system logs
The first-boot service passes the generated administrator password to the installer on the command line. The command line is recorded in /var/log/sudo.log, /var/log/auth.log, /var/log/syslog and the systemd journal. auth.log and syslog are readable by members of the adm group, which includes the default login user on both clouds.
Shredding /root/installation-artifacts.txt (section 7.4) does not remove these copies. After you have saved the password, remove them:
sudo journalctl --rotate --vacuum-size=1
sudo shred -u /var/log/sudo.log* /var/log/auth.log* /var/log/syslog*
sudo systemctl restart rsyslog
The patterns include the rotated copies, for example auth.log.1 and syslog.2.gz. Logs rotate weekly, so an instance older than a week has them.
These commands delete all earlier entries in those logs, not only the password. If your policy requires those logs, export them to protected storage first. Redact the password in two places: the LOCAL_ADMIN_PASSWORD= value in the sudo entries, and the password: line of the CROGL ADMIN PASSWORD banner from crogl-firstboot. If you staged your own password (section 2.3), it is in the same logs, so treat it as exposed to local users and move sign-in to your identity provider (section 7.9).
Azure. Boot diagnostics also keeps the password, in the VM's serial log, and the commands above do not remove it. Anyone with permission to read the VM's boot diagnostics can read it. After you save the password, disable boot diagnostics (az vm boot-diagnostics disable -g <rg> -n <vm>) or, if you gave a storage account, delete the serial log from it. Then check that az vm boot-diagnostics get-boot-log -g <rg> -n <vm> no longer returns the banner.