Production Infrastructure & Zero-Trust Access
Standing up production stacks on bare servers, and designing how engineers reach them safely.
- Role
- Infrastructure engineer and architect
- Context
- Entiovi Technologies — client and internal infrastructure
- Period
- Recent
- Status
- Delivered · designed
- Full stack
- production runtime on one dedicated Ubuntu server
- Gated
- Jenkins releases: manual approval, automatic rollback
01 Problem & context
Some of the work runs on infrastructure built from scratch, not on managed platforms. YourTurn, a client web platform for an NGO/donor organisation, needed its complete production stack on a single dedicated Ubuntu server.
Separately, the server team needed a safer way for people — not just services — to reach infrastructure.
02 My role & ownership
- YourTurn (delivered): stood up the full production stack — database, proxying, runtime, storage, observability and CI/CD.
- Jump host (built): a shared Ubuntu jump host for the server team.
- Zero-trust access layer (designed): the architecture for human access, replacing Teleport.
03 Architecture
-
01Edge
- Nginx reverse proxy
- SSL
-
02Runtime
- Node app
- PM2 cluster mode
-
03Data
- ProxySQL
- MySQL 8
- MinIO (S3)
-
04Observe
- Prometheus
- Grafana
- Loki
Across every stage Jenkins CI/CD — approval gates · auto-rollback Docker
04 Key decisions
-
D1
ProxySQL in front of MySQL
Connection pooling and query routing sit in a proxy, so the application stays simple and database connections stay bounded.
-
D2
Releases that a person approves and a machine can undo
Jenkins pipelines have manual approval gates and roll back automatically when a deploy fails.
-
D3
Identity-based access instead of network trust
The zero-trust design combines Microsoft Entra ID, a self-hosted Netbird (WireGuard) mesh and an extended in-house secrets manager. Phase 2 is scoped to add Entra group-based authorisation through Microsoft Graph, an immutable audit log, Slack-integrated approvals and a documented threat model.
05 Engineering challenges
- Running a complete, observable production environment without a managed platform underneath.
- Giving engineers browser-based SSH/RDP access (Apache Guacamole, xrdp, Docker Compose).
06 Outcomes
- YourTurn running in production with metrics and centralised logs.
- A shared jump host packaged with Docker Compose; Netbird mesh access and Entra SSO planned as follow-ons.
- A zero-trust human access architecture designed to replace Teleport, with Phase 2 scoped.
07 Technology & why it fits
- Ubuntu · Nginx · SSL
- Base OS, reverse proxy and TLS termination.
- MySQL 8 · ProxySQL · MinIO
- Data tier with pooling and routing, plus S3-compatible objects.
- PM2 cluster mode
- Multi-process Node runtime with restarts.
- Prometheus · Grafana · Loki
- Metrics, dashboards and centralised logs.
- Jenkins
- CI/CD with approval gates and automatic rollback.
- Entra ID · Netbird/WireGuard · Guacamole
- Identity, mesh networking and browser-based access.
08 Related systems
Want the detail behind a decision? The portfolio assistant can walk through this system at whatever depth you need.