Lux Docs

Deployment

Deploy Lux Cloud infrastructure

Lux Cloud runs on Kubernetes with Traefik as the ingress controller.

Architecture

Traefik LB (LoadBalancer)
  -> API Gateway (rate limiting, auth)
    -> RPC Proxy (multi-chain JSON-RPC)
      -> Lux Nodes (luxd fleet)
    -> Token Indexer
      -> PostgreSQL (balances, transfers)
    -> WebSocket Hub
      -> Redis/Valkey (pub/sub state)
    -> NFT Indexer
      -> PostgreSQL (metadata, ownership)

Kubernetes Resources

ResourceTypeReplicas
API GatewayDeployment3
RPC ProxyDeployment3
Token IndexerStatefulSet1
NFT IndexerStatefulSet1
WebSocket HubDeployment2
PostgreSQLStatefulSet1 (with replica)
Redis/ValkeyStatefulSet1

Deploy

kubectl kustomize infra/k8s/cloud/ | kubectl apply -f -

Image Tags

ServiceImage
API Gatewayghcr.io/luxfi/cloud-gateway:latest
RPC Proxyghcr.io/luxfi/cloud-rpc:latest
Indexerghcr.io/luxfi/cloud-indexer:latest

All images are built for linux/amd64 via CI/CD.

Health Checks

# API health
curl https://api.lux.cloud/v1/health

# Node health (proxied)
curl https://api.lux.cloud/v1/rpc/lux \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

Monitoring

  • Prometheus metrics at /metrics on each service
  • Grafana dashboards for RPC latency, error rates, and throughput
  • Alerting on node health and indexer lag

On this page