Features
Infra
Feature breakdown for the livy-tlsn infrastructure repository.
Repo Scope
- Repository:
livylabs/livy-tlsn - Relevant files:
README.mdinfra/main.tfinfra/variables.tfinfra/scripts/core.shinfra/scripts/install.shinfra/scripts/run.shinfra/scripts/setup-https.shtest-deployment.sh
/prove
Public Surface
- The infrastructure exposes
https://${domain_name}/api/v1/prove. - nginx forwards
/api/v1/proveto the localnotary-teeproxy on port7048. - Job artifact download endpoints are exposed through the same HTTPS front door:
/api/v1/jobs/<job_id>/attestation/api/v1/jobs/<job_id>/secrets
Integration Touchpoints
install.shcloneslivylabs/tlsn, checks outtee_dev, and builds:notary-serverwith--features tee_quotenotary-teeproxy example
run.shcreates systemd units for:- native Notary server on port
7047 - TEE proxy on port
7048
- native Notary server on port
setup-https.shconfigures nginx and Let's Encrypt certificates for the configureddomain_name.
/notarize
Public Surface
- The infrastructure exposes the native Notary over HTTPS.
- Clients create sessions through
/sessionand upgrade to/notarizeover WebSocket. - The main client example is
crates/examples/tee/ws.rs.
Integration Touchpoints
- The native Notary service runs from
/home/livy/src/tlsn/target/release/notary-server. - HTTPS traffic is terminated by nginx and proxied to
127.0.0.1:7047. run.shsets:PATH_TEE_CONFIG=/home/livy/config.jsonNS_TEE=true
TDX Infrastructure
- Terraform provisions a GCP confidential compute instance with Intel TDX enabled.
- The base OS is Ubuntu 24.04 LTS.
- cloud-init runs the core install, source checkout, build, service startup, and HTTPS setup scripts.
- Intel Trust Authority CLI is installed and configured for hardware attestation.
Validation
test-deployment.sh verifies:
- GCP instance state
- TDX memory encryption status
- Notary systemd service status
- Trust Authority CLI availability
- native binary existence
- public health endpoint behavior
For the full infrastructure runbook, see Infra and TDX Notary Runbook.