Proof point โ Before writing a single line of code, I wrote the entire system down. Then I built it. That is how infrastructure people depend on should be delivered.
๐ฉป Problem
VPN users are protected in transit but not at the destination: malicious URLs, phishing domains, and malware payloads pass straight through an encrypted tunnel. LuraVPN needed a real-time protection layer its iOS/Android/Windows clients could query - fast, independently scalable, and secure at every internal boundary.
๐จ Solution
GhostRoute - a malware-protection platform decomposed into independently deployable microservices behind a central gateway.
Architecture Overview
- API Gateway (Go) - gorilla/mux routing with public auth routes and JWT-protected protection routes (
/malware/check,/logs/threats); middleware chain for origin checking, logging, and auth; Redis caching; typed client modules for every downstream service; Kubernetes manifests and Dockerfile. - Threat Intelligence Service (Python/FastAPI) - live Google Web Risk integration with Redis-backed rate limiting to control quota, per-caller JWT validation, CORS allow-listing, and PostgreSQL threat records (type, level, first/last seen, source).
- URL Filtering Service - standard filtering plus user-defined custom rules.
- Logging & Reporting Service - models for logs, reports, threats, and AI results; the platform’s audit trail.
- Notification Service - clean
controllers โ services โ repositorieslayering with a Mailchimp client and retry utility. - The design package - a separate planning repo containing the implementation plan (GKE, BigQuery, Bigtable, Firestore, Redis, TFX), data-flow/deployment/monitoring diagrams, pre-coding Q&A on routing, TLS, token-bucket rate limiting and load-test targets, and operations scripts for cluster, database, firewall, and bucket setup.
Quality signals
- SonarQube static-analysis CI on every service - uniform quality gating across the fleet.
- JWT enforced at every service boundary, not just the edge.
- Built in roughly six weeks (OctoberโNovember 2024) from plan to running services.
๐ Philosophy
Design-first, polyglot-pragmatic: Go where performance matters (the gateway), Python/FastAPI where integration speed matters (threat feeds). Security is a property of every boundary, not a perimeter. Weeks of architecture work are cheaper than months of rework.
๐ Key learnings
- Decomposing a security product into microservices and wiring service-to-service authentication correctly.
- Integrating commercial threat-intelligence APIs with caching and rate limiting so costs stay predictable.
- Kubernetes/GCP delivery: manifests, ingress, build-push scripts, cluster bootstrap.
- Where this stage of the platform fell short - minimal automated tests - a gap closed in the next project, Lura Identity, which shipped with a five-layer test suite.
๐ Output & impact
- A 5-service platform (Go + Python) with gateway, threat-intel, URL filtering, logging, and notifications - fully designed, documented, and implemented.
- Live third-party threat-feed integration (Google Web Risk) in production-shaped code.
- A complete, reusable pre-implementation design methodology: diagrams, Q&A docs, ops scripts.
๐ Why this matters
Trust, Security & Compliance ยท Platforms & Registries. Organizations that run public-facing digital infrastructure - fintechs, platforms, institutions - need security designed in, documented, and auditable. This project shows the full method: a written design package a program can be audited against, then a multi-service implementation that honors it.
๐ Hire me
Need security-first infrastructure designed and shipped - with the paper trail to prove it? Let’s talk โ ยท See also: Lura Identity ยท The thesis