How a 120-Engineer SaaS Company Replaced Its Corporate VPN with Zero-Trust Access

A mid-size B2B SaaS company eliminated its legacy VPN bottleneck by rolling out Cloudflare Access and WARP, cutting engineer connection failures by 94% and slashing lateral-movement risk.

Security · intermediate · 12 min read · 2263 words · By Sandip Das · Published

Composite scenario: built from common industry patterns; the figures are illustrative.

What this covers

  1. The Situation
  2. The Problem
  3. Constraints
  4. Options Considered
  5. The Solution
  6. Implementation
  7. Results
  8. What Went Wrong Along the Way
  9. Lessons Learned
  10. Apply It Yourself

Key numbers

MetricBeforeAfter
Daily VPN connection failure rate18%1.1%
Median engineer connection latency (India)280 ms62 ms
Per-session audit log coverage0%100%
On-call VPN-cycle incidents per week110
Contractor access provisioning time45 min4 min

Key components

  • Cloudflare Access — Enforces per-application identity and device-posture policies at the Cloudflare edge, replacing network-layer VPN access.
  • WARP Client — WireGuard-based client installed on engineer devices that routes traffic through Cloudflare and enforces device posture checks before granting access.
  • Cloudflare Tunnel (cloudflared) — Outbound-only daemon running inside the private network that exposes internal services to Cloudflare Access without opening inbound firewall rules.
  • Okta IdP — Authoritative identity provider integrated via SAML/OIDC; group membership in Okta drives access policy decisions in Cloudflare Access.
  • Cloudflare Logpush to S3 and Splunk — Ships structured per-session audit events from Cloudflare to S3 and then to Splunk SIEM within 60 seconds, satisfying the ISO 27001 audit trail requirement.
  • Device Posture Rules — Client-side checks (disk encryption, EDR sensor running, OS version) enforced by the WARP agent before any tunnel traffic is permitted.

The Situation

This is a composite scenario assembled from patterns seen across multiple mid-size engineering organisations; all figures are illustrative and internally consistent, not drawn from any single company.

The organisation in question is a 120-engineer B2B SaaS company selling workflow-automation software to enterprise customers. The engineering team is split across three time zones — US East, UK, and India — with roughly 30 contractors joining at any given time for short-term feature work. Infrastructure runs on AWS (us-east-1 primary, eu-west-1 secondary), with workloads on EKS 1.28, RDS Postgres 15, and a handful of self-hosted tools: Grafana, ArgoCD, and an internal SSH bastion. The security and platform team has six engineers. The company is SOC 2 Type II certified and mid-way through an ISO 27001 audit cycle.

The rest of this case study — the trade-offs, the scaling numbers and the build prompt — is available to LearnXops members. Create an account or see membership.

Topics: security, zero-trust, networking, cloudflare, identity, devops

Related case studies

Browse all case studies