User and operator guide · Deployment
Local-Live Deployment
On this page
PurposeOperator PrerequisitesLocal-Live TopologyComponentsStart The Validated StackLogin And Admin AccountBrowser CAC MaterialDeployment Claim BoundaryEvidence OutputsStop Or Roll Back A Local-Live RunTroubleshootingPurpose
The local-live path is the supported reproducible lab environment for exercising the HTTPS gateway, LDAP, Atlas Cache, Vault, federation providers, firewall simulation, UI, and TrustAI edge validation.
For a complete first-run sequence from an empty workstation, start with deployment:quickstart-from-scratch.html.
Operator Prerequisites
Run local-live from the repository root on a workstation that can build the Go services and frontend and can start Docker containers. The validation script allocates loopback ports dynamically, starting from the documented defaults, so existing local services do not need to be stopped unless every candidate port is already in use.
Required local tools:
-
Docker Engine with Compose v2
-
Go toolchain
-
Node.js and frontend dependencies
-
OpenSSL
-
curlfor manual health checks
Primary inputs:
| Input | File or variable | Operator note |
|---|---|---|
Validation script |
|
Use this script instead of manually editing generated files. |
Gateway template |
|
The script copies and rewrites this into the run artifact directory. |
Support stack |
|
Containers are bound to loopback for local validation. |
TrustAI edge bundle |
|
Override only when validating a specific model bundle. |
Evidence root |
|
Set when the operator needs a stable artifact path. |
Local-Live Topology
Components
| Component | Source | Purpose | Boundary |
|---|---|---|---|
Validation script |
|
Generates TLS material, starts local dependencies, launches the API gateway, runs the live validation suite, and sanitizes artifacts. |
Local evidence only. |
Docker infrastructure |
|
Runs loopback-bound Keycloak, SimpleSAMLphp, Atlas Cache, LDAP, Vault, and firewall simulator containers. |
Not a production Compose file. |
Gateway config |
|
Feeds the local API gateway runtime used by the validation script. |
Must not be promoted without environment review. |
Live tests |
|
Exercises browser CAC, federation, DDIL, protected APIs, WebSocket auth, and operator surfaces. |
Skipped live checks are not passed evidence. |
Start The Validated Stack
For a normal automated run:
RUN_ID="$(date -u +%Y%m%d-%H%M%S)-local-live"
REPORT_ROOT="artifacts/local-live-validation/$RUN_ID"
mkdir -p "$REPORT_ROOT"
REPORT_ROOT="$REPORT_ROOT" ./scripts/run-local-live-validation.sh 2>&1 | tee "$REPORT_ROOT/operator-console.log"
Expected result: the console log ends with Validation completed successfully. and the evidence directory contains generated gateway config, support-service logs, live security-validation output, local-live capability artifacts, and sanitized summaries.
For a run that remains available for manual inspection:
RUN_ID="$(date -u +%Y%m%d-%H%M%S)-local-live"
REPORT_ROOT="artifacts/local-live-validation/$RUN_ID"
mkdir -p "$REPORT_ROOT"
REPORT_ROOT="$REPORT_ROOT" ./scripts/run-local-live-validation.sh --keep-running 2>&1 | tee "$REPORT_ROOT/operator-console.log"
GATEWAY_BASE_URL="$(rg -o 'https://localhost:[0-9]+' "$REPORT_ROOT/operator-console.log" | head -n 1)"
curl -kfsS "$GATEWAY_BASE_URL/health" | tee "$REPORT_ROOT/manual-health.json"
Open the gateway URL printed in operator-console.log. The default path is usually https://localhost:8443/, but the script may choose a different port when 8443 is busy.
If the script selected a different port, replace 8443 with the printed gateway port.
Login And Admin Account
Use live.validator or live.validator@atlas.mil with ValidationPassword123! only in the local-live validation environment.
| Item | Value |
|---|---|
Username |
|
|
|
Password |
|
Account boundary |
local-live-only seeded operator |
Admin details |
Expected result: the operator can open /icam, /identity, /sessions, and /audit. If a mutation is denied, check operator role and fresh AAL2-or-better assurance.
Browser CAC Material
When local-live starts, it generates local browser CAC/PIV material under:
artifacts/local-live-validation/<timestamp>/browser-cac/
The kept-running console also prints:
-
Browser CAC URL -
Browser CAC import bundle -
the generated gateway base URL
Use that material only for local validation. It is not a production CAC/PIV credential, a YubiKey issuance record, or DoD PKI evidence. See security:cac-piv-yubikey.html.
Deployment Claim Boundary
Local-live evidence proves the repository-supported integrated path. It does not prove production deployment approval, production DoD PKI operation, or external authorization.
Evidence Outputs
| Artifact | Meaning | Handling |
|---|---|---|
|
Generated local gateway runtime config. |
Sensitive values are sanitized by the script before final artifact use. |
|
Generated browser CAC material for local validation. |
Local-only certificate material. Do not reuse in deployed environments. |
|
Local authoritative audit material used by validation. |
Treat as evidence, not as a deployed signing authority. |
|
Security validation output when the script invokes the live security gate. |
Review skipped checks before citing the run. |
Stop Or Roll Back A Local-Live Run
Runs without --keep-running clean themselves up. For a kept-running lab, stop the gateway processes for that run and remove the validation containers and volumes:
pkill -f "$REPORT_ROOT/api-gateway-live" || true
docker compose -f docker/local-live-validation-infra.yml down -v --remove-orphans
This rollback removes local-live container state and generated container volumes. It does not remove the evidence already written under REPORT_ROOT.
Troubleshooting
| Symptom | Check | Expected operator action |
|---|---|---|
Script exits before gateway health is ready |
|
Keep the failed artifact directory, fix the reported dependency or port issue, and rerun with a new |
Docker support services are not healthy |
|
Capture |
Manual browser test cannot connect |
|
Use the printed port instead of assuming 8443. |
A live sub-check is skipped |
|
Do not claim the skipped behavior. Set the missing variable or collect the missing artifact and rerun. |