Lesson 09 — Zero Trust Networking
Learning Objectives
Section titled “Learning Objectives”By the end of this lesson, you will be able to:
- Understand the Zero Trust security model
- Learn the core principles of Zero Trust Networking
- Understand identity-based networking
- Implement Zero Trust in Kubernetes
- Apply Zero Trust principles in Amazon EKS
- Understand continuous verification
- Learn enterprise Zero Trust architectures
- Apply Zero Trust networking best practices
Why This Matters
Section titled “Why This Matters”Traditional enterprise networks followed a simple assumption:
If you’re inside the network, you’re trusted.
That approach worked when:
- Applications lived inside data centres
- Employees worked from offices
- Networks had clearly defined perimeters
- Systems rarely communicated across environments
Modern cloud-native environments are very different.
Applications now run:
- Across multiple Kubernetes clusters
- In multiple AWS accounts
- Across Regions
- In hybrid cloud environments
- Across thousands of containers
Attackers no longer need to break into the network.
Instead, they compromise one workload and move laterally.
Zero Trust assumes this will happen and verifies every request.
What is Zero Trust?
Section titled “What is Zero Trust?”Zero Trust is a security model based on one simple principle:
Never Trust. Always Verify.
Every request must be:
- Authenticated
- Authorised
- Encrypted
- Continuously validated
Whether the request comes from:
- Inside the cluster
- Another Namespace
- Another AWS account
- Another Region
- The Internet
Every request is treated the same.
Traditional Security Model
Section titled “Traditional Security Model”Internet
↓
Firewall
↓
Internal Network
↓
Everything TrustedOnce attackers enter the internal network, they often move freely.
Zero Trust Security Model
Section titled “Zero Trust Security Model”User / Workload
↓
Authenticate
↓
Authorise
↓
Evaluate Policy
↓
Encrypted Connection
↓
ApplicationEvery request must prove its identity before access is granted.
Core Principles of Zero Trust
Section titled “Core Principles of Zero Trust”Zero Trust is built upon several principles.
- Never trust by default
- Verify every request
- Use least privilege access
- Assume breach
- Continuously monitor
- Encrypt all communications
- Verify workload identity
- Minimise the attack surface
These principles apply equally to users, workloads and infrastructure.
Assume Breach
Section titled “Assume Breach”One of the most important Zero Trust concepts is:
Assume attackers are already inside.
Instead of trying to build an impenetrable perimeter, organisations minimise the damage an attacker can cause.
Example:
Compromised Pod
↓
Cannot Access Database
↓
Cannot Reach Secrets
↓
Cannot Move LaterallyEven after compromise, the attacker has very limited access.
Identity-Based Networking
Section titled “Identity-Based Networking”Traditional networks trust IP addresses.
Example:
10.0.15.24
↓
TrustedCloud-native environments trust identities instead.
payment-service
↓
Verified Identity
↓
AuthorisedIdentity remains consistent even when Pods are recreated.
Least Privilege Networking
Section titled “Least Privilege Networking”Every workload receives only the permissions it requires.
Example:
Frontend
↓
API
✓ Allowed
------------------
Frontend
↓
Database
✗ DeniedCommunication is restricted to approved paths only.
Continuous Verification
Section titled “Continuous Verification”Verification is not performed once.
It occurs continuously.
Request
↓
Authentication
↓
Authorisation
↓
Encryption
↓
Policy Evaluation
↓
AllowEvery new connection is evaluated independently.
Zero Trust Components in Kubernetes
Section titled “Zero Trust Components in Kubernetes”Zero Trust in Kubernetes combines multiple security controls.
IAM
↓
RBAC
↓
Service Accounts
↓
Network Policies
↓
Service Mesh
↓
Mutual TLS
↓
Admission Controllers
↓
Continuous MonitoringEach control strengthens the overall security posture.
Kubernetes Zero Trust Architecture
Section titled “Kubernetes Zero Trust Architecture”User
↓
IAM Identity Center
↓
Amazon EKS
↓
RBAC
↓
Service Account
↓
Network Policy
↓
Service Mesh
↓
ApplicationEvery layer verifies identity before access is granted.
Service Mesh and Zero Trust
Section titled “Service Mesh and Zero Trust”Service Mesh is one of the key technologies enabling Zero Trust.
Capabilities include:
- Mutual TLS
- Identity verification
- Automatic certificates
- Authorization Policies
- Traffic encryption
- Service authentication
Every service must authenticate before communication is established.
Mutual TLS
Section titled “Mutual TLS”Mutual TLS (mTLS) provides:
Service A
↓
Certificate Validation
↓
Encrypted Communication
↓
Certificate Validation
↓
Service BBoth services verify each other’s identity before exchanging data.
Network Policies
Section titled “Network Policies”Network Policies enforce least privilege networking.
Example:
Frontend
↓
API
✓ Allowed
--------------------
Unknown Pod
↓
API
✗ DeniedOnly authorised communication is permitted.
Role-Based Access Control restricts Kubernetes API access.
Example:
Developer
↓
View Pods
✓
-------------------
Delete Cluster
✗Users receive only the permissions necessary for their role.
IAM Roles for Service Accounts (IRSA)
Section titled “IAM Roles for Service Accounts (IRSA)”Amazon EKS integrates Zero Trust using IRSA.
Example:
Application
↓
IAM Role
↓
AWS STS
↓
Temporary Credentials
↓
Amazon S3Applications never require long-term AWS credentials.
Admission Controllers
Section titled “Admission Controllers”Admission Controllers validate workloads before deployment.
Examples include checking:
- Security Contexts
- Pod Security Standards
- Image sources
- Labels
- Resource limits
- Compliance policies
Only compliant workloads are admitted to the cluster.
Policy Enforcement
Section titled “Policy Enforcement”Enterprise Kubernetes environments commonly enforce policies using:
- Kyverno
- Open Policy Agent (OPA)
- Gatekeeper
- AWS Organizations SCPs
- IAM policies
Policies help prevent insecure deployments before they reach production.
Zero Trust in Amazon EKS
Section titled “Zero Trust in Amazon EKS”A recommended architecture:
Internet
↓
AWS WAF
↓
Application Load Balancer
↓
Ingress Controller
↓
Amazon EKS
↓
RBAC
↓
Network Policies
↓
Istio Service Mesh
↓
Mutual TLS
↓
Application PodsEvery layer independently validates requests.
Enterprise Example
Section titled “Enterprise Example”A global insurance provider operates multiple Amazon EKS clusters.
Zero Trust implementation includes:
- IAM Identity Center
- Multi-Factor Authentication
- RBAC
- IRSA
- Network Policies
- Istio
- Mutual TLS
- Kyverno
- AWS GuardDuty
- Amazon CloudWatch
Every workload:
- Has a verified identity
- Uses temporary AWS credentials
- Communicates through encrypted channels
- Operates under least privilege
- Is continuously monitored
This significantly reduces the impact of compromised workloads.
Common Zero Trust Security Risks
Section titled “Common Zero Trust Security Risks”Cloud Security Engineers frequently identify:
- Overly permissive RBAC
- Missing Network Policies
- Disabled Mutual TLS
- Excessive IAM permissions
- Shared service accounts
- Public administrative interfaces
- Weak identity management
- Missing policy enforcement
- Long-lived credentials
- Inadequate monitoring
These weaknesses undermine Zero Trust principles.
Enterprise Monitoring
Section titled “Enterprise Monitoring”Security teams should continuously monitor:
- Authentication failures
- Authorisation failures
- RBAC changes
- IAM role usage
- Certificate expiry
- Mutual TLS status
- Network Policy violations
- Admission Controller denials
- Service identity changes
- Lateral movement attempts
Continuous visibility is essential for maintaining a Zero Trust environment.
Zero Trust Design Strategy
Section titled “Zero Trust Design Strategy”A recommended enterprise implementation:
Step 1
↓
Strong Identity
↓
Step 2
↓
Least Privilege
↓
Step 3
↓
Network Segmentation
↓
Step 4
↓
Enable Service Mesh
↓
Step 5
↓
Automatic Mutual TLS
↓
Step 6
↓
Policy Enforcement
↓
Step 7
↓
Continuous Monitoring
↓
Step 8
↓
Continuous ImprovementZero Trust is an ongoing operational model rather than a one-time implementation.
Best Practices
Section titled “Best Practices”As a Kubernetes Security Engineer:
- Adopt a “Never Trust, Always Verify” mindset.
- Enforce strong identity for users and workloads.
- Implement least privilege using IAM, RBAC and IRSA.
- Enable Network Policies across all production Namespaces.
- Deploy a Service Mesh with Mutual TLS enabled.
- Use policy engines such as Kyverno or OPA Gatekeeper.
- Continuously rotate certificates and temporary credentials.
- Monitor authentication and authorisation events.
- Regularly review access permissions.
- Continuously test Zero Trust controls through security assessments.
A mature Zero Trust architecture significantly reduces the attack surface while improving regulatory compliance and operational resilience.
Real-World Scenario
Section titled “Real-World Scenario”A multinational healthcare provider hosts critical patient applications on Amazon EKS.
A vulnerable application is compromised through a third-party software vulnerability.
The attacker attempts to:
- Access patient databases
- Query Kubernetes Secrets
- Assume privileged IAM roles
- Communicate with other services
- Access AWS resources
However, the organisation has implemented:
- IAM Identity Center with MFA
- Least-privilege RBAC
- IRSA with temporary credentials
- Namespace isolation
- Network Policies
- Istio Service Mesh with Mutual TLS
- Kyverno admission policies
- Continuous monitoring using GuardDuty and CloudWatch
Every request is evaluated independently.
Because the compromised workload lacks the required identity and permissions, all unauthorised actions are denied.
The security team receives alerts, isolates the affected workload and completes incident response before sensitive patient data is exposed.
Key Takeaways
Section titled “Key Takeaways”After completing this lesson, you should understand:
- The principles of Zero Trust Networking
- Why traditional perimeter security is no longer sufficient
- Identity-based networking
- Least privilege access
- Continuous verification
- Zero Trust implementation in Kubernetes
- Amazon EKS Zero Trust architecture
- Enterprise policy enforcement
- Zero Trust monitoring and best practices
Zero Trust Networking is one of the most important security models for modern Kubernetes environments. By combining strong identities, least privilege, micro-segmentation, Mutual TLS, Service Mesh, policy enforcement and continuous monitoring, organisations can significantly reduce the risk of lateral movement, privilege escalation and cloud-native attacks in Amazon EKS.
Knowledge Check
Section titled “Knowledge Check”Question 1
Section titled “Question 1”What is the core principle of Zero Trust?
- A. Trust all internal traffic
- B. Never Trust, Always Verify
- C. Allow all authenticated users unrestricted access
- D. Encrypt traffic only when leaving the network
Answer: B
Question 2
Section titled “Question 2”Which security principle grants workloads only the permissions they require?
- A. Default Allow
- B. Least Privilege
- C. Flat Networking
- D. Shared Identity
Answer: B
Question 3
Section titled “Question 3”Which combination of technologies is fundamental to implementing Zero Trust in Kubernetes?
- A. ReplicaSets and ConfigMaps
- B. RBAC, Network Policies, Service Mesh and Mutual TLS
- C. StatefulSets and Persistent Volumes
- D. Node Affinity and Taints
Answer: B
Question 4
Section titled “Question 4”Which Amazon EKS feature allows workloads to securely access AWS services using temporary credentials?
- A. Elastic IP
- B. IAM Roles for Service Accounts (IRSA)
- C. Amazon Route 53
- D. AWS CloudFormation
Answer: B
Question 5
Section titled “Question 5”Which statement best reflects an enterprise Zero Trust architecture?
- A. Internal traffic is automatically trusted.
- B. Authentication occurs only when users log in.
- C. Every request is authenticated, authorised, encrypted and continuously evaluated regardless of its source.
- D. Firewalls alone provide sufficient protection.
Answer: C
What’s Next?
Section titled “What’s Next?”In the next lesson, you will learn about Enterprise Kubernetes Network Architecture, where you’ll bring together everything covered in this module to design secure, highly available, enterprise-scale networking for Amazon EKS. You’ll explore multi-VPC architectures, hybrid connectivity, multi-account networking, shared services, centralized inspection, and security controls that support large-scale cloud-native environments.
➡️ Next Lesson: Lesson 10 — Enterprise Kubernetes Network Architecture