---
title: "Zero trust in the cloud: Best practices and potential pitfalls"
source: "https://www.tigera.io/blog/zero-trust-in-the-cloud-best-practices-and-potential-pitfalls/"
description: "Secure cloud-native applications with zero trust. Learn zero trust implementations best practices and pitfalls."
---

[Technical Blog](https://www.tigera.io/category/technical-blog/)

# Zero trust in the cloud: Best practices and potential pitfalls

By [Ratan Tipirneni](https://www.tigera.io/blog/author/ratan/) on Oct 25, 2022 • 5 min read

Architecturally speaking, cloud-native applications are broken down into smaller components that are highly dynamic, distributed, and ephemeral. Because each of these components is communicating with other components inside or outside the cluster, this architecture introduces new attack vectors that are difficult to protect against using a traditional perimeter-based approach. A prudent way to secure cloud-native applications is to find a way to reduce the number of attack vectors, and this is where the principles of [zero trust](https://link.tigera.io/ueI1c) come into play.

With today’s multi-cloud and hybrid-cloud environments, networks are no longer restricted to a clear perimeter with clearly defined borders to defend—and cyber criminals are taking advantage of this fact by tricking users and systems into providing unauthorized access. While a lot of zero trust is focused on limiting access from users and devices, organizations are now also recognizing that in the world of distributed cloud-native applications, workloads themselves are communicating with each other and the same principles of zero trust need to be extended to cloud-native applications.

Because traditional security methods such as network firewalls rely on fixed network addresses, they are insufficient to protect dynamic, distributed, and ephemeral cloud-native workloads, which do not have fixed network addresses. They simply cannot specify access controls at a granular workload level, which is essential for cloud-native application security and compliance. Zero trust is a better security posture because the attack surface of cloud-native applications is so large it’s difficult to secure.

With this in mind, let’s look at some zero trust implementation best practices, and potential pitfalls.

## Best practices for implementing zero trust

While there are many ways to implement zero trust in the cloud, I see the following as top best practices for implementing zero trust for your workloads.

### Best practices for workloads

- **Zero trust workload access controls –** Implement zero trust workload access controls to control the flow of data between individual workload components and external resources including databases, internal applications, 3rd-party cloud APIs, and SaaS applications. You should enforce controls using DNS egress policies, use IPs/CIDRs in network policy for access control, and enable network firewalls to identify and secure cloud-native workloads.

- **Microsegmentation –** Implement zero trust access using identity-aware [microsegmentation](https://link.tigera.io/ueMDg) to divide workloads into distinct security segments, and then define granular security controls for each segment. Microsegmentation is critical as it allows you to isolate workloads based on environments, application tiers, compliance needs, user access, and individual workload requirements.

- **Least privilege access controls –** It’s important to deny all traffic by default and only allow connections that have been authorized. This applies to traffic between microservices as well as ingress and egress outside the cluster.

- Encryption – Encrypt sensitive data so that no matter where a threat originates, the data is unreadable to anyone except the legitimate keyholder. I recommend implementing data-in-transit encryption using a tool like WireGuard.

- **Defense in depth –** Monitor and log all changes to policies, including the version history. Make sure you use a tool that alerts you when a policy that implements your security controls changes, and shows exactly what changed and how.

- **Monitor and audit –** All traffic on a [zero trust network](https://link.tigera.io/ueMDm) must be carefully monitored and subject to regular audits. Pay more attention to privileged roles and access to critical or sensitive assets. Aim to catch suspicious activity immediately when it happens, and if you don’t, you should identify it on the next audit review.

- **Use attribute-based controls –**Ensure controls are as granular as possible, taking into consideration attributes of the user, device, workload, target application, and the task at hand. This will ensure policies can effectively limit access and block malicious activity.

## Potential pitfalls

While there is a lot of focus on zero trust network access (ZTNA), many organizations ultimately forget that the definition of a network itself has changed substantially in the world of cloud-native architectures. In fact, I would go so far as to say that the traditional network no longer exists in the cloud. So if you’re applying zero trust controls via network firewalls or network-based WAF, you are leaving a large portion of your workloads unsecured and vulnerable. That’s why zero trust needs to be extended all the way to individual workloads in order to protect against attacks.

But you shouldn’t stop at extending zero trust to workloads to control access for users and devices—applications themselves are also communicating with other applications. So unless you implement the same principles of zero trust at the application level (e.g. specify in your DNS policy that a particular microservice can communicate with a particular website or 3rd-party API), your workloads could be compromised. By using a workload’s identity to allow/deny communication, organizations can implement zero trust security measures to secure communication between workloads.

***Check out this free [zero trust maturity assessment tool](https://link.tigera.io/ueMDv) to see how you’re doing with your zero-trust security posture for cloud-native workloads***

[Best Practices](https://www.tigera.io/tags/best-practices/)[How-To](https://www.tigera.io/tags/how-to/)

## Related posts

[![The Safest Place to Run an AI Agent Is On a Cluster That Doesn’t Trust It](https://www.tigera.io/app/uploads/2026/08/The-Safest-Place-to-Run-an-AI-Agent-Is-On-a-Cluster-That-Doesnt-Trust-It.png)](https://www.tigera.io/blog/the-safest-place-to-run-an-ai-agent-is-on-a-cluster-that-doesnt-trust-it/)

#### [The Safest Place to Run an AI Agent Is On a Cluster That Doesn’t Trust It](https://www.tigera.io/blog/the-safest-place-to-run-an-ai-agent-is-on-a-cluster-that-doesnt-trust-it/)

By [Alister Baroi](https://www.tigera.io/blog/author/alister-baroi/)
on Aug 27, 2026

Every organization running AI agents has already made a hosting decision. Most made it by accident. The sales team switched on the agent built into their CRM. Engineering is piloting a coding agent in a...

[Read more](https://www.tigera.io/blog/the-safest-place-to-run-an-ai-agent-is-on-a-cluster-that-doesnt-trust-it/)

[![AI Red Team Agents Automate Attacks on your AI Agents. Runtime Policies Automate their Defense.](https://www.tigera.io/app/uploads/2026/08/AI-Red-Team-Agents-Automate-Attacks-on-your-AI-Agents.-Runtime-Policies-Automate-their-Defense.png)](https://www.tigera.io/blog/ai-red-team-agents-automate-attacks-on-your-ai-agents-runtime-policies-automate-their-defense/)

#### [AI Red Team Agents Automate Attacks on your AI Agents. Runtime Policies Automate their Defense.](https://www.tigera.io/blog/ai-red-team-agents-automate-attacks-on-your-ai-agents-runtime-policies-automate-their-defense/)

By [Alister Baroi](https://www.tigera.io/blog/author/alister-baroi/)
on Aug 24, 2026

The AI red teaming market grew up fast this year. OpenAI bought Promptfoo, Cisco and Microsoft shipped automated attack suites, and a seed-stage startup publicly compromised 50 of 55 live customer service bots. These platforms...

[Read more](https://www.tigera.io/blog/ai-red-team-agents-automate-attacks-on-your-ai-agents-runtime-policies-automate-their-defense/)

[![VM Migration – What Happens to Your NSX Segments in Kubernetes?](https://www.tigera.io/app/uploads/2026/08/VM-Migration-What-Happens-to-Your-NSX-Segments-in-Kubernetes.png)](https://www.tigera.io/blog/vm-migration-what-happens-to-your-nsx-segments-in-kubernetes/)

#### [VM Migration – What Happens to Your NSX Segments in Kubernetes?](https://www.tigera.io/blog/vm-migration-what-happens-to-your-nsx-segments-in-kubernetes/)

By [Veronika Smolik](https://www.tigera.io/blog/author/veronika-smolik/)
on Aug 5, 2026

Planning a migration off NSX usually starts with a networking conversation. Segments, VLANs, routing topology and BGP peering are not things that map cleanly to Kubernetes-native constructs the way the NSX distributed firewall maps to...

[Read more](https://www.tigera.io/blog/vm-migration-what-happens-to-your-nsx-segments-in-kubernetes/)

<!-- plugin=object-cache-pro client=phpredis metric#hits=3325 metric#misses=35 metric#hit-ratio=99.0 metric#bytes=1456843 metric#prefetches=151 metric#store-reads=47 metric#store-writes=12 metric#store-hits=159 metric#store-misses=24 metric#sql-queries=30 metric#ms-total=3929.73 metric#ms-cache=142.33 metric#ms-cache-avg=2.4540 metric#ms-cache-ratio=3.6 -->
