Lessilo · application operations
Inspect locally, then plan for Nymbis
Use one small HTTP app to learn the evidence-first workflow. Stage one runs on your own workstation, server or VM with the CLI and runtime on the same host. Stage two uses the same source commit with a separate Nymbis plan.
Commands use Bash. Run one command at a time and stop on any failure, especially download or checksum errors; never extract or run an unverified archive. Code blocks are selectable text and do not execute in this page.
1. Prepare an owned host
Use a disposable, prepared recording host, not a production machine. Lessilo needs a ready execution environment and access to its security tools. Runtime permissions can grant host-level control: do not run untrusted code on a host with sensitive workloads or credentials.
One-time host setup and current backend requirements
For this snapshot, prepare Git, a working Docker daemon on the same host, and real Syft, OSV-Scanner and Gitleaks installations with their required network/data access. The snapshot does not install these dependencies automatically or implement alternate runtime selection. Docker permissions can grant host-level control. Use docker info privately to check that the intended host backend is available; lessilo doctor checks scanner readiness, not successful workload execution.
If your CLI is already installed, identify it and assess the host:
lessilo version
lessilo doctor
Check the version, source commit and doctor results. Stop on missing tools or failed prerequisites; doctor alone does not prove scans or deployment work.
Need a CLI? Linux amd64 development snapshot
Installation status: no verified stable public release is established. This direct snapshot route is not stable and not signed. It contains the CLI only, not scanners or a runtime. Use a prepared Linux amd64 host. Other platforms are not covered by this download.
The following same-origin artifacts become available with this documentation deployment: CLI archive and checksums. If either is missing, stop; do not substitute the root installer.
In a new, owned directory, download and verify before extraction:
mkdir lessilo-cli-download
cd lessilo-cli-download
curl --fail --show-error --location -O "https://lessilo.dev/docs/downloads/cli/72e622b/lessilo-linux-amd64.tar.gz"
curl --fail --show-error --location -O "https://lessilo.dev/docs/downloads/cli/72e622b/SHA256SUMS"
sha256sum -c SHA256SUMS
tar -tzf lessilo-linux-amd64.tar.gz
tar -xzf lessilo-linux-amd64.tar.gz
cat BUILDINFO.txt
mkdir -p "$HOME/.local/bin"
install -m 0755 lessilo "$HOME/.local/bin/lessilo"
export PATH="$HOME/.local/bin:$PATH"
lessilo version
lessilo doctor
Expect checksum OK, archive entries lessilo and BUILDINFO.txt, and version 0.1.0-demo.72e622b with source commit 72e622b0959b7fda66e0a6c5b4c8cd70584894d6. Inspect build information before installing. Choose an empty destination if you already have a CLI: the install command replaces that file. Same-origin checksums detect mismatches; they do not independently authenticate a compromised publisher. Leave this download directory before starting the sample.
2. Download and read the sample source
The sample archive and SHA256SUMS are published alongside these pages. Stop on missing downloads or checksum errors. The archive contains sample-app/ and five source files only. You can also read server.js, package.json, the lockfile, Dockerfile and .gitignore before extracting.
From a fresh owned working directory (not the CLI download directory):
mkdir lessilo-walkthrough
cd lessilo-walkthrough
curl --fail --show-error --location -O "https://lessilo.dev/docs/downloads/sample-app.tar.gz"
curl --fail --show-error --location -O "https://lessilo.dev/docs/downloads/SHA256SUMS"
sha256sum -c SHA256SUMS
tar -tzf sample-app.tar.gz
tar -xzf sample-app.tar.gz
cd sample-app
Read all five files. The app uses Node HTTP plus one pinned dependency, escape-html 1.0.3. It binds port 18793; / and /health return exactly:
Lessilo public sample is running.
Other paths return 404. The lockfile pins dependency integrity, and the Node base image is pinned by digest. Installing curl still uses the package repository; the digest does not pin those later package contents or prove image safety. There are no tenant profiles, secrets or data services in the sample. Do not add credentials. Commit only the reviewed source, using your own Git identity (configure it locally if needed):
git init
git add server.js package.json package-lock.json Dockerfile .gitignore
git commit -m "Review sample source"
git status --short
lessilo init --no-snapshot
Expect a clean Git checkout before init and a project initialized afterward. Keep .lessilo/ ignored: it contains private state and signing material, not public sample source.
3. Inspect evidence before execution
Stay in sample-app/. Prepare imports the committed source and generates evidence; it does not start the app workload.
lessilo prepare --target local --no-snapshot
lessilo inspect
lessilo inspect --json
Read the actual source commit, AIM version and discovered runtime/dependency facts. Open the SBOM artifact at the path printed by prepare, then review scan completeness, findings, plan, exposure, resource limits and cost. AIM is the Application Intelligence Model: its fact provenance explains the deployment picture. SBOM means software bill of materials.
Stop if a scanner fails, evidence is incomplete, or HIGH/CRITICAL findings block deployment. Do not replace real scan output with fixtures or a dry run. In the recorded local run, actual Syft/OSV-Scanner/Gitleaks scans completed with zero normalized findings; this is not an image scan or a guarantee of no vulnerabilities.
Set these variables from your actual output; do not use a sample ID. Enter your real approver identity, not a password:
read -r -p "Local plan ID: " LOCAL_PLAN
read -r -p "Your approver identity: " APPROVER
lessilo approve --plan "$LOCAL_PLAN" --by "$APPROVER"
4. Run on your own host
Independently exercised on prepared Linux amd64. The packaged sample passed the required health probe, ran as a non-root user and returned the expected app response. Your own run must still pass the checks below.
Only proceed on your authorized disposable host after reviewing the current plan and evidence. Do not disable health checks, approval, scanning or isolation. Source corrections require a new Git commit, prepare, evidence review and approval first. Run each command separately and stop on any failure:
lessilo deploy --target local --plan "$LOCAL_PLAN"
lessilo status --json
curl --fail --show-error http://127.0.0.1:18793/
Require a HEALTHY deployment, the expected body above and a matching receipt. An HTTP 200 alone is insufficient. Failed commands can leave resources; check status and the exact owned runtime resources.
If the app responds but health fails
Inspect the deployment’s actual health error and logs. The earlier sample returned the expected body after real source scans, but its missing probe tool caused /bin/sh: curl: not found and lessilo: health check failed (unhealthy). Its receipts remain FAILED / UNHEALTHY. The corrected package passed the independent local walkthrough; require a healthy result and matching successful receipt for your own run too. Source scans do not establish container-image safety.
What does target local mean?
--target local selects the local Docker adapter. It does not promise another container runtime or arbitrary remote execution. CLI and daemon must operate on the intended owned host; confirm your Docker context. Standard hardened Docker/runc isolation is not a VM or a hostile-build sandbox.
5. Preserve the first receipt before changing targets
Preserve the first receipt and its matching source/AIM/SBOM/plan/approval evidence before a later deployment changes latest status. Use the actual receipt path reported in your deployment artifacts, including a failure receipt when execution fails. Keep the bundle private; do not publish state, signing keys or credentials.
read -r -p "Actual local receipt path: " LOCAL_RECEIPT
lessilo receipt verify "$LOCAL_RECEIPT"
mkdir -m 700 ../local-evidence
cp "$LOCAL_RECEIPT" ../local-evidence/
Receipt verification checks receipt integrity, not successful deployment. A valid receipt can still record FAILED status. Inspect health, source commit, AIM/SBOM hashes, exact plan/approval and runtime binding. Preserve referenced evidence too before state changes.
6. Plan a second deployment on Nymbis — NOT RUN
Nymbis: NOT RUN. These commands are source-checked, not executed cloud proof. Continue only after a healthy local result and explicit operator authorization for a named tenant, numeric budget/currency, TTL, exclusive VM/vApp/network/address scope and cleanup. A profile file or login is not permission to spend. Do not record login, infrastructure addresses, profiles or printed SSH commands.
Operator setup required before cloud commands
An operator must privately configure a valid Nymbis provider profile, tenant URL, infrastructure/template/network/port allocation, SSH trust and access, and authoritative pricing catalog. Profile defaults belong to the operator; do not copy a full operator profile into project state. Project overrides cannot set operator addressing fields.
The catalog must include provider, region, currency, source, effective timestamp and valid rates. Set LESSILO_PRICING_CATALOG privately to that approved catalog file. Example price scalars do not satisfy the authoritative pricing gate. Confirm quota and cleanup ownership.
Login prompts for tenant URL, username, VCD password and VM/bootstrap password. Passwords belong only in masked prompts, never shell arguments or recordings. Credential storage can fall back to a mode-0600 plaintext file if the OS store is unavailable; inspect the notice and protect the host.
Remain in the same clean sample-app/ checkout. Keep the same source commit; do not edit it between local and cloud plans. With prerequisites and approval established, the operator runs:
lessilo login nymbis --private
lessilo prepare --target nymbis-vdc --no-snapshot
lessilo inspect
lessilo inspect --json
Review the new cloud plan, source/AIM/SBOM binding, catalog provenance, estimate, network scope, isolation and approval mode. Explicit private prepare may already record policy-auto; record intended human review rather than assuming deploy will ask:
read -r -p "Reviewed cloud plan ID: " CLOUD_PLAN
lessilo approve --plan "$CLOUD_PLAN" --by "$APPROVER"
lessilo deploy --target nymbis-vdc --plan "$CLOUD_PLAN"
lessilo status --json
A successful second deployment needs its own HEALTHY runtime and verified receipt bound to that cloud plan and the same source. Save that receipt separately; do not overwrite the local evidence.
7. Open the private cloud app, then clean up
Only after a HEALTHY managed deployment:
lessilo connect
Connect prints an SSH forwarding command and local URL; it does not run SSH or open a browser. Privately inspect the host, key and forwarding target, then separately run the printed command and leave that owned tunnel process alive. Open its printed local URL and require the same exact body. Stop the tunnel when finished. No cloud app access is claimed here.
Clean up only resources owned by your run. Preserve private state until managed teardown is verified. A temporary folder does not isolate a shared Docker daemon, and local lessilo destroy is not implemented. Never broadly delete resources or caches.