Infrastructure Overview

Aria runs on a hybrid infrastructure combining GCP Cloud Run (serverless production), K3s (local Kubernetes cluster on DGX Spark), and Cloudflare (edge + DNS).

Infrastructure Map

Technology Stack

LayerTechnology
RuntimeNode.js 24, TypeScript 5.4+, Python 3.x
ContainersDocker, Cloud Run, K3s
DatabasePostgreSQL (Cloud SQL), pgvector
Vector DBQdrant (4096-dim embeddings)
CacheRedis (Upstash + local)
Message QueueNATS
Service MeshgRPC + Protocol Buffers
Edge / DNSCloudflare Pages, Cloudflare DNS
CI/CDGitHub Actions, Cloud Build
MonitoringCloud Monitoring, Telemetry Emitter
SecretsGCP Secret Manager, K8s Secrets

Website Publishing (Cloudflare)

All websites are published to Cloudflare Pages by default. Never hand off localhost or ngrok URLs.

# Standard publish command
bash scripts/publish-site.sh <subdomain> <source-path> [project-name]

# Canonical publish command
bash scripts/publish-static-site-cloudflare-pages.sh \
  --project <project-name> \
  --domain <subdomain.ariasos.com> \
  --source-file <absolute-file-path>

Preflight Checklist

  • curl -I https://<domain> returns 200
  • Domain serves expected content
  • No dependency on local process managers or temp tunnels