$ cd ~/projects && ls

Infrastructure Stack

Production infrastructure across Hetzner, Cloudflare, Vercel, and AWS with full observability.

Hetzner Cloud Cloudflare Pro Vercel GitHub Actions MongoDB Atlas Tailscale Docker Sentry UptimeRobot Langfuse Greptile Amazon Bedrock

Overview

The Badland infrastructure spans multiple cloud providers, each chosen for its strengths. Hetzner for cost-effective compute, Cloudflare for edge security and DNS, Vercel for frontend hosting, MongoDB Atlas for managed database, and AWS for additional AI model access. Everything is connected via Tailscale mesh VPN and monitored with Sentry, UptimeRobot, and Langfuse.

This is not a hobby setup — it runs production workloads serving real users 24/7 with CI/CD, automated deployments, monitoring, and incident alerting.

Compute — Hetzner Cloud

Two Hetzner servers form the compute backbone:

Both servers are managed remotely via Tailscale SSH — no public SSH ports are exposed. Configuration is managed through dotfiles repo with bootstrap scripts for reproducible server setup.

Hetzner Cloud console — badclaw (CPX41) and nebulatio-hz-prod (CPX31) servers in Ashburn, VA

CDN & Security — Cloudflare Pro

Cloudflare Pro handles DNS, WAF, rate limiting, and DDoS protection for all Badland domains. Key configurations include:

Cloudflare DNS records for badland.ai — A records, Tunnels, CNAMEs, wildcard, and MX records Cloudflare WAF — 16 custom security rules including bot challenges, attack path blocks, and rate limiting

Frontend Hosting — Vercel

All frontend applications deploy to Vercel with zero-config CI/CD:

Vercel dashboard — chat, portfolio, landing, terminal, studio, and jamesbsolutions projects with recent deployments

CI/CD — GitHub Actions

Automated pipelines handle quality checks and deployments:

GitHub Actions — Deploy API (Hetzner) workflow with all steps green: lint, type-check, build, deploy in 50s

Database — MongoDB Atlas

MongoDB Atlas provides managed database hosting with three separate clusters:

Atlas handles automated backups, point-in-time recovery, monitoring, and alerting. Connection strings are managed via environment variables on each deployment target.

MongoDB Atlas Data Explorer — badland-prod cluster with collections and document view

Networking — Tailscale

Tailscale mesh VPN connects all machines in the infrastructure, providing:

Tailscale admin — 7 machines connected: nebulatio-hz-prod, badclaw, cole-pc, coles-mac-mini, iPhone, raspi

Code Quality — Greptile

Greptile provides AI-powered code review on every pull request, analyzing changes for bugs, security issues, and style violations with full codebase context. It understands the project's patterns and conventions, catching issues that static linters miss.

Monitoring — Sentry + UptimeRobot + Langfuse

Sentry — Error Tracking

Sentry captures frontend and backend errors with full stack traces, source maps, breadcrumbs, and release tracking. Each deployment creates a Sentry release tied to the git commit, making it easy to correlate errors with specific code changes.

Sentry Frontend Insights — throughput, duration, Web Vitals score 91, and project list

UptimeRobot — Uptime Monitoring

UptimeRobot monitors all public-facing services with 5-minute check intervals. Alerts are sent via email and webhook when services go down. Current monitors cover chat.badland.ai, the API health endpoint, agent.badland.ai, and tenant personal sites.

UptimeRobot — 13 monitors tracking Badland services, most at 100% uptime

Langfuse — LLM Observability

Langfuse provides observability into LLM API calls, tracking:

Langfuse trace — council-chairman AI call showing latency, tokens, cost, and model response preview

Cloud AI — Amazon Bedrock

Amazon Bedrock provides access to additional model providers beyond direct API integrations. Integrated with the Vercel AI SDK, it enables seamless model switching between direct provider APIs and Bedrock-hosted models without changing application code.

Amazon Bedrock — 59 inference profiles including Claude Opus 4.5/4.6, Nova, Cohere, and Pegasus models