Zero Trust and Defense in Depth

BeyondCorp, the death of the perimeter, and how SREs implement defense in depth.

Overview

From 'trust the network' to Zero Trust

Zero Trust is the security model that replaced 'trust the network.' It originated as Google's BeyondCorp (2014) and is now the mainstream approach.

The two models differ in what a login buys you. In the perimeter model, a user logs in to the VPN, lands inside the network with implicit trust, and can reach all internal services. In Zero Trust, every request goes through an identity-aware proxy that checks the user plus the device, and the request reaches one service, under a per-request policy.

> [!IMPORTANT] Zero Trust means every request is authenticated and authorized on its own merits. Being "inside" grants nothing.

Key concepts

  • Zero Trust
  • BeyondCorp
  • Identity-aware proxy
  • Microsegmentation
  • Defense in depth
  • Default deny

Interview questions

  • Walk me through implementing Zero Trust for an internal service.
  • How does service mesh fit into Zero Trust?
  • What's "least privilege" in practice for cloud IAM?

Sign up free to read the full topic

More SRE topics

Start free on Cariara · Coding problems · System design studio