← All articles
Security8 min read

Zero Trust for Cloud: Identity and Network Together

Why perimeter-only thinking fails in AWS, Azure, and GCP—and how to combine IAM, private access, and continuous verification.

Zero trust is often sold as a product, but it is really a set of principles: never trust a request because of where it comes from, verify identity and context explicitly on every access, grant the least privilege needed, and assume that some part of the environment is already compromised. In the cloud, that means identity and network controls have to work together. Strong identity with a flat network still lets an attacker roam; tight network segmentation with weak identity lets them walk through the front door.

Zero trust request path

  1. IdentityPhishing-resistant MFA for people; workload identity for services
  2. ContextDevice posture, location, risk signals
  3. Policy decisionLeast privilege, just-in-time, per resource
  4. Segmented pathPrivate connectivity, default-deny networking
  5. Continuous monitoringLogs, anomaly detection, revocation
Every request is evaluated on identity, device or workload posture, and policy—network location alone grants nothing.

1. Identity is the new perimeter—for people

Centralise workforce access through one identity provider and require phishing-resistant MFA—FIDO2 security keys or platform passkeys—at least for administrators and access to production. Use conditional access policies that consider device compliance, location, and sign-in risk. Remove standing administrative privileges: admins request elevation for a limited time, with approval for the most sensitive roles. Every human access to cloud consoles and production systems should go through this path, with no local accounts or shared credentials on the side.

2. Identity for workloads

Services need identities too, and static secrets are the workload equivalent of passwords on sticky notes. Use the platform's workload identity everywhere: IAM roles for compute and EKS Pod Identity on AWS, managed identities and Workload ID on Azure, service accounts with workload identity on Google Cloud, and OIDC federation for CI/CD. Inside clusters, a service mesh with mutual TLS gives every service a cryptographic identity, so service-to-service authorisation can be based on who is calling rather than which IP address the call came from.

3. Replace VPNs and bastions with identity-aware access

Traditional VPNs put a user onto the network and then trust them broadly. Identity-aware access proxies—such as AWS Verified Access, Google's Identity-Aware Proxy, Microsoft Entra Private Access, or similar products—evaluate each request to each application against identity and device policy. For administrative access to servers, session managers remove the need for open SSH or RDP ports and bastion hosts entirely, while recording every session.

IAM policy: SSM sessions only to tagged instances, with loggingjson
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "ssm:StartSession",
      "Resource": "arn:aws:ec2:*:*:instance/*",
      "Condition": {
        "StringEquals": { "aws:ResourceTag/access-group": "payments-oncall" },
        "Bool": { "aws:MultiFactorAuthPresent": "true" }
      }
    },
    {
      "Effect": "Allow",
      "Action": "ssm:StartSession",
      "Resource": "arn:aws:ssm:*:*:document/SSM-SessionManagerRunShell"
    },
    {
      "Effect": "Allow",
      "Action": ["ssm:TerminateSession", "ssm:ResumeSession"],
      "Resource": "arn:aws:ssm:*:*:session/${aws:userid}-*"
    }
  ]
}

How does your cloud measure up?

Score your setup across foundation, delivery, reliability, security, and cost in 3 minutes—instant results, no email needed.

Take the free scorecard

4. Segment the network anyway

Zero trust does not mean ignoring the network—it means the network is not the only control. Segmentation limits blast radius when an identity is compromised. Keep data stores in private subnets with no internet path, allow traffic between tiers by security group or service identity rather than broad CIDR ranges, and apply default-deny network policies in Kubernetes so pods can talk only to the services they need.

Kubernetes: default deny plus DNSyaml
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: default-deny
  namespace: orders
spec:
  podSelector: {}
  policyTypes: ["Ingress", "Egress"]
  egress:
    - to:
        - namespaceSelector:
            matchLabels:
              kubernetes.io/metadata.name: kube-system
          podSelector:
            matchLabels:
              k8s-app: kube-dns
      ports:
        - protocol: UDP
          port: 53
        - protocol: TCP
          port: 53

5. Make identity and network reinforce each other

The strongest controls combine both dimensions. Resource policies can require that requests come through your private endpoints, so stolen credentials used from the internet fail. Endpoint policies can restrict which resources are reachable through those endpoints, so a compromised workload cannot exfiltrate data to an attacker's storage. Together they create a data perimeter: trusted identities, accessing trusted resources, from expected networks.

Bucket policy: only via our VPC endpointjson
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "DenyOutsideVpcEndpoint",
      "Effect": "Deny",
      "Principal": "*",
      "Action": "s3:*",
      "Resource": [
        "arn:aws:s3:::example-customer-data",
        "arn:aws:s3:::example-customer-data/*"
      ],
      "Condition": {
        "StringNotEquals": { "aws:SourceVpce": "vpce-0abc123def4567890" }
      }
    }
  ]
}

6. Verify continuously

  • Log every authentication, authorisation decision, and administrative session centrally.
  • Detect anomalies: impossible travel, unusual API calls, access from new networks, privilege escalation.
  • Revoke sessions and credentials quickly when risk changes—short session lifetimes make this effective.
  • Review access regularly and remove permissions that logs show are never used.

A realistic roadmap

  1. Consolidate workforce identity into one provider; enforce MFA everywhere and phishing-resistant MFA for admins.
  2. Remove standing admin access with just-in-time elevation.
  3. Replace static workload secrets with workload identity and OIDC for CI/CD.
  4. Replace bastions and broad VPN access with session managers and identity-aware proxies.
  5. Apply default-deny segmentation to data tiers and Kubernetes namespaces.
  6. Build data perimeters with resource and endpoint policies.
  7. Centralise logging and anomaly detection, and practise revocation.

Zero trust for CI/CD and the software supply chain

Pipelines hold some of the most powerful credentials in any organisation, so they deserve the same treatment as administrators. Pipelines should authenticate with OIDC federation and short-lived tokens, assume narrowly scoped roles that differ between planning and applying changes, and only deploy artefacts that were built, scanned, and signed by trusted workflows. Admission controls in Kubernetes and deployment policies in the cloud then verify those signatures, so even a compromised developer laptop cannot push an unverified image into production.

Measuring progress

MeasureTarget direction
Users with standing admin privilegesDown toward zero outside emergency accounts
Privileged sign-ins using phishing-resistant MFAUp toward 100%
Long-lived secrets and access keys in useDown, with an owner for each remaining one
Inbound management ports open to the internetZero
Data stores reachable without private endpointsDown
Mean time to revoke access after a risk signalMinutes, not hours

These measures make zero trust concrete for leadership and keep the programme focused on reducing risk rather than buying products.

Expect the journey to take quarters, not weeks. Prioritise the controls that close the most likely attack paths in your environment first—usually phishing-resistant MFA for administrators, removal of long-lived keys, and closing exposed management ports—then work through the rest.

Revisit the priorities after every security incident or penetration test, because they show which attack paths are realistic for your environment.

Checklist

  1. Single workforce identity provider with conditional access and phishing-resistant MFA for privileged users.
  2. No standing admin privileges; time-bound elevation with approval.
  3. Workload identity everywhere; no long-lived secrets in code, images, or CI.
  4. Identity-aware access for applications and session managers for servers.
  5. Private, default-deny networking for data and service tiers.
  6. Resource and endpoint policies forming a data perimeter.
  7. Central logging, anomaly detection, and fast revocation.

Zero trust is a direction rather than a destination, and each step reduces real risk. Our Cloud Posture Hardening module implements the identity, network, and data-perimeter controls that matter most for cloud workloads.

Key takeaways

  • Verify identity continuously; do not trust broad network location alone.
  • Prefer private endpoints and short-lived credentials over standing VPN trust.
  • Log authz decisions and segment high-risk workloads deliberately.

FAQ

Is Zero Trust a product we can buy?

No. It is an architecture direction combining identity, device posture, least privilege, and network controls you operate over time.

Where should we start in cloud?

Eliminate standing admin credentials, enforce MFA/PIM, private-ize data stores, and replace shared bastions with identity-aware access.

Need help putting this into practice?

Our engineers do this every week. Get a fixed-scope plan for cloud security services—free scoping call, written price before you commit.

Get a free scoping call