• Cohort starts Jan 16, 2027
Reserve seat
All posts
Cloud Security

Zero Trust in the Cloud: A Practical Architecture Guide

PrimeSec Academy·8/20/2026
Zero Trust in the Cloud: A Practical Architecture Guide

How zero trust works in AWS, Azure and Google Cloud: the NIST tenets, the five pillars, a staged adoption path, and the mistakes to avoid.

Zero trust is a security model that removes implicit trust from the network and requires every request to be authenticated, authorized, and continuously validated before access is granted. In the cloud, it replaces the old idea of a trusted internal network with per-request decisions based on identity, device posture, and context.

This guide explains how zero trust actually works in AWS, Azure, and Google Cloud, which controls map to which pillars, and how to build it in stages rather than trying to buy it as a product.

What zero trust actually means

Zero trust is not a tool, a vendor SKU, or a checkbox. It is an architectural approach defined most clearly in NIST Special Publication 800-207, Zero Trust Architecture. That publication describes a set of tenets, which can be summarized as follows:

  • All data sources and computing services are treated as resources.
  • All communication is secured regardless of network location.
  • Access to individual resources is granted on a per-session basis.
  • Access is determined by dynamic policy, including client identity, application state, the requesting asset, and other behavioral and environmental attributes.
  • The organization monitors and measures the integrity and security posture of all owned and associated assets.
  • Authentication and authorization are dynamic and strictly enforced before access is allowed.
  • Telemetry is collected about assets, traffic, and access, then used to improve security posture over time.

The practical consequence is simple: being inside a VPC, a corporate VPN, or a private subnet is no longer a reason to trust a request. Identity and context become the primary control plane.

NIST later published SP 1800-35, Implementing a Zero Trust Architecture, a practice guide developed with industry partners that documents reference implementations built with commercial products. If you want a vendor-neutral picture of what a working zero trust build looks like, those two documents are the right starting point.

Why the cloud forces the issue

Traditional perimeter security assumed a defined boundary: a data center, a firewall, and a trusted LAN behind it. Cloud environments break every part of that assumption.

  • Workloads are ephemeral. Containers and serverless functions appear and disappear in seconds, so IP-based allow lists age badly.
  • Users connect from anywhere, on devices your organization may not own.
  • SaaS applications hold sensitive data outside any network you control.
  • Machine identities, meaning service accounts, roles, and workload identities, often outnumber human users by a wide margin.
  • Misconfiguration, not perimeter breach, is the dominant cloud failure mode.

Zero trust addresses this by moving the enforcement point closer to the resource. Instead of asking "is this request coming from a trusted network," you ask "is this identity, on this device, in this context, allowed to perform this specific action on this specific resource right now."

Understanding where your responsibility begins is a prerequisite. If that boundary is unclear, review the cloud shared responsibility model across AWS, Azure and GCP before designing controls.

The five pillars, and what they look like in practice

Most zero trust models organize work into pillars. The naming varies between frameworks, but the substance is consistent.

PillarCore questionRepresentative cloud controls
IdentityWho or what is making this request?Strong MFA, phishing-resistant authentication, conditional access, short-lived credentials, federated identity
DevicesIs the endpoint healthy and known?Device compliance policies, endpoint detection and response, managed device enrollment
NetworksIs the path segmented and encrypted?Micro-segmentation, private endpoints, TLS everywhere, egress controls, service mesh mutual TLS
Applications and workloadsIs the workload itself trustworthy?Workload identity, image signing, admission control, runtime protection, least-privilege service roles
DataIs the data classified and protected?Encryption with managed keys, data classification, tokenization, fine-grained access policies

Cutting across all five are two capabilities that make the model work: visibility and analytics, meaning centralized logging and detection, and automation and orchestration, meaning the ability to respond to a signal without waiting for a human.

Identity is the first pillar for a reason

In cloud environments, identity is the effective perimeter. That means the highest-leverage early work is almost always identity work:

  1. Enforce phishing-resistant MFA for all administrative access.
  2. Eliminate long-lived static credentials. Use role assumption, workload identity federation, or managed identities instead of access keys stored in code.
  3. Move from broad permissions to scoped, resource-specific policies. AWS IAM policy design deserves its own deep dive, covered in AWS IAM security best practices.
  4. Apply conditional access so that risk signals, such as impossible travel or an unmanaged device, change the access decision. Microsoft's implementation of this is covered in Azure security fundamentals with Entra ID, Defender and Sentinel.
  5. Review and prune standing privileges on a schedule. Just-in-time elevation is better than permanent admin.

Micro-segmentation without breaking everything

Network segmentation in a zero trust model is about reducing blast radius, not rebuilding your topology overnight. Practical steps include:

  • Default-deny security groups and firewall rules, with explicit allow rules per service.
  • Private endpoints for managed services so storage and database traffic never traverses the public internet.
  • Controlled egress, since data exfiltration usually leaves through an unmonitored outbound path.
  • Mutual TLS between services, often delivered through a service mesh, so that service-to-service calls are authenticated rather than assumed.

Continuous verification, not one-time authentication

The word "continuous" is what separates zero trust from strong login security. A session that was legitimate at 9:00 a.m. may not be legitimate at 2:00 p.m. if the device fell out of compliance or the identity started behaving anomalously. Practically, this means:

  • Short session lifetimes for privileged operations.
  • Re-evaluation of policy when risk signals change.
  • Centralized logging into a SIEM so that behavior can be scored, not just recorded.
  • Automated response, such as session revocation or credential rotation, triggered by detection.

A staged adoption path

Trying to implement all five pillars at once is the most common reason zero trust programs stall. A sequenced approach works better.

Stage 1: Inventory and identity hygiene. Know your accounts, subscriptions, projects, and identities. Turn on MFA everywhere. Remove unused credentials and dormant accounts.

Stage 2: Least privilege. Right-size roles and policies. Replace wildcards with scoped permissions. Introduce just-in-time elevation for administrative work.

Stage 3: Device and workload trust. Require managed, compliant devices for privileged access. Give workloads their own identities instead of shared secrets.

Stage 4: Segmentation and encryption. Default-deny networking, private connectivity to managed services, encryption in transit and at rest with keys you control.

Stage 5: Continuous monitoring and automated response. Centralize logs, build detections that reflect your architecture, and automate the containment actions you would otherwise perform manually at 3:00 a.m.

Each stage produces measurable risk reduction on its own, which matters when you need to justify continued investment.

Common mistakes

  • Treating zero trust as a product purchase. No single tool delivers it. Architecture and policy do the work; tools enforce it.
  • Ignoring machine identities. Service accounts and CI/CD pipeline credentials are frequently over-permissioned and rarely rotated.
  • Segmenting the network but leaving IAM wide open. An attacker with an over-permissioned role does not need lateral network movement.
  • Collecting logs without detections. Telemetry that nobody analyzes is storage cost, not security.
  • Blocking productivity. If controls are too rigid, teams route around them. Design for the workflow people actually have.

Frequently asked questions

Is zero trust a product I can buy? No. Zero trust is an architecture and a set of principles. Vendors sell components that help enforce it, such as identity providers, endpoint management, and policy engines, but the model itself comes from how you design access, not from a single purchase.

Does zero trust replace firewalls and VPNs? Not immediately. Many organizations run both while transitioning. Over time, identity-aware access to specific applications tends to replace broad VPN network access, because a VPN typically grants more reach than any single session needs.

Where should a small team start with zero trust in the cloud? Start with identity. Enforce phishing-resistant MFA on all administrative accounts, remove long-lived static credentials, and scope permissions to specific resources. Those three actions reduce more risk per hour of effort than anything else.

How does zero trust apply to machine identities and workloads? The same way it applies to people. Every service, container, and function should have its own identity, receive short-lived credentials, and hold only the permissions its job requires. Shared secrets embedded in code are the opposite of zero trust.

Is zero trust required for compliance? Requirements vary by framework and jurisdiction, and several government and industry programs now reference zero trust principles. Even where it is not explicitly mandated, the underlying controls such as least privilege, strong authentication, encryption, and logging map closely to common compliance requirements.

How long does zero trust adoption take? It is an ongoing program rather than a project with an end date. Meaningful improvements in identity and least privilege can land within weeks, while full segmentation, workload identity, and automated response typically unfold over multiple quarters.

Build these skills hands-on

Reading about zero trust is not the same as configuring conditional access, scoping IAM policies, or wiring detections into a SIEM. PrimeSec Academy's 20-week program puts you in real AWS, Azure, and Google Cloud environments with labs, 36 projects, and a defended capstone, so you finish with evidence you can show an employer.

See what the training covers in the curriculum, or enroll when you are ready to start.

Stay ahead in cybersecurity

Get the Latest Security Insights

Subscribe to our newsletter and get updates on new courses, labs, events, and career tips.

We respect your privacy. Unsubscribe at any time.