K-Lean AMI operation guide

Version-specific AWS Marketplace customer deployment instructions. Documentation is not activation or external fulfillment.

1. Select the version and capacity

The standard-library version includes artifact gcd-v4.14. The DECK version additionally contains its pinned compiled Mathlib closure and artifact deck-draft00-review-r1; use t3.large or enough capacity for its4096MiB/180s job bounds. Standard tasks use512MiB/45s bounds.

2. Configure access and billing

Attach a buyer-owned role permitting aws-marketplace:MeterUsage and allow Marketplace metering and instance-metadata access. New jobs are held until metering readiness is established; isolated Lean workers do not require Internet access. Restrict SSH22 and TLS8915 to buyer-approved CIDRs. No seller token or hosted-service account is required.

3. Wait for initialization

sudo systemctl show klean-init.service -p Result -p ExecMainStatus
sudo systemctl is-active klean-api klean-worker klean-metering

The initialization oneshot can be inactive after successful completion. Cold EBS integrity checking can take several minutes. Retrieve /etc/klean/api-token only inside an authorized SSH session and pin /etc/klean/tls.crt or install your own certificate. Do not record the token in shell history, process arguments, tickets or logs.

4. Perform an included verification

Using the pinned certificate and instance-local Bearer token, call GET /health, POST /jobs and GET /jobs/<job_id>. An example non-secret body is:

{"request_id":"buyer-smoke-001","artifact_id":"gcd-v4.14"}

For the DECK version use its registered artifact instead. Poll the returned job_id. SUCCESS, REJECTED and infrastructure FAILED are different; a compiler finding is not a proof of correspondence to a manuscript or full TLS security. Only completed SUCCESS/normal REJECTED tasks produce the usage unit; restart retries are deduplicated. Evidence and findings are retrieved locally.

5. Troubleshoot and retain state

Inspect service status and redacted journal messages. Keep optional export configuration absent for the baseline workflow. Read /opt/klean-source/README.md for artifact registration, state recovery and customer-managed upgrades. Existing running instances do not update automatically.

Purchase and access boundary

Subscribe to this AMI through its AWS Marketplace offer and launch the selected version in your account. No seller-operated verification account, seller activation approval, second software purchase or proof upload is needed for the included workflow. EC2, EBS and any buyer-enabled AWS services have their normal AWS charges. Use an instance IAM role for AWS access; do not enter long-lived AWS access keys into this product. These instructions neither subscribe you to another Kenosian product nor send telemetry to a seller service.

Support and lifecycle

Email info@kenosian.com for business-hours installation and troubleshooting support. Send version IDs and redacted service status; never send API tokens, private keys or customer payloads. This is a single-instance deployment. Customer backup/restore, patching, capacity limits and upstream/private-network configuration require buyer operations. No high-availability, fixed-latency, total-data-loss prevention or regulatory-certification guarantee is made.