docs-wiki
Sign in

Architecture

Updated 7/1/2026, 1:17:18 AM

Architecture

Serverless AWS, single-table DynamoDB. See ADR 0001 in docs/adr/.

  1. Frontend — Next.js 15 on Amplify Hosting (SSR).
  2. API — FastAPI on Lambda (arm64 container image) behind API Gateway HTTP API.
  3. Store — DynamoDB single-table (pk/sk + 2 GSIs, PAY_PER_REQUEST, PITR).
  4. Auth — Cognito user pool with admin/editor/viewer groups.
  5. Attachments — S3 + CloudFront (OAC).
  6. Search — JSON inverted index in S3, lazy-loaded by the app Lambda, rebuilt by the sync Lambda.
  7. Sync — EventBridge schedule fires the sync Lambda every 5 minutes.

No VPC, no NAT, no RDS — see obsidian-sync for how the vault round-trip works.

Related: home · #meta #architecture