Skip to content
Cloud

ReadyOn's Four Walls Model: Securing Multi-Tenancy on Amazon EKS

ReadyOn implements a Four Walls model on Amazon EKS to enhance tenant isolation, combining namespaces, compute, network, and data isolation.

Topic
Cloud
Reading time
5 min
Length
1,007 words
Published
Sep 19, 2026
06:23 pm IST
In this article
  1. Understanding the Four Walls Model
  2. Why This Matters
  3. Steps to Implement This Model
  4. Namespace Isolation in Detail
  5. Compute Isolation with Karpenter
  6. Network Isolation in the VPC Layer
  7. Data Isolation with Amazon Aurora
  8. Limitations and Trade-offs

In multi-tenant environments, robust tenant isolation is crucial, especially with sensitive enterprise data at stake. ReadyOn, an AWS Partner, has crafted a Four Walls model for tenant isolation on Amazon Elastic Kubernetes Service (EKS) to tackle these challenges head-on. This architecture cleverly weaves together Kubernetes namespaces, compute isolation, network security, and dedicated data layers to build a well-rounded isolation strategy.

Understanding the Four Walls Model

The Four Walls model is built on four distinct layers of isolation:

  • Namespace Isolation: Each tenant has its own dedicated Kubernetes namespace, protected by strict Role-Based Access Control (RBAC) policies, resource quotas, and admission controls. This forms the logical cornerstone of the isolation strategy, vital for securing the Kubernetes API level.
  • Compute Isolation: ReadyOn uses Karpenter to craft dedicated, auto-scaling node pools for each tenant. The dual-taint strategy prevents unauthorized cross-tenant pod placements, which is pretty central to this approach.
  • Network Isolation: Every tenant's environment is secured using Amazon Virtual Private Cloud (VPC) security groups, keeping unwanted network access at bay between tenants. This operates below the Kubernetes level, taking full advantage of AWS's solid networking capabilities.
  • Data Isolation: Tenants enjoy dedicated Amazon Aurora database clusters, which removes the risks associated with shared databases and ensures data encryption with unique AWS Key Management Service (KMS) keys. This layer zeros in on the ultimate goal: securing the data, even if other layers stumble.

Why This Matters

For those managing multi-tenant systems, the pressure is on. An isolation failure could lead to regulatory headaches and shake client trust, especially with big players like Fortune 100 companies. ReadyOn's approach is designed so that if one layer is breached, the others stand firm, creating multiple security barriers that must be taken down simultaneously, rather than one by one.

Steps to Implement This Model

To roll out ReadyOn’s Four Walls model, you’ll follow a few specific steps:

  • Namespace Configuration: Tools like Argo CD can automate namespace setup, ensuring consistent security policies across tenants. This automation sets up all necessary resources, from namespaces to network policies and RBAC bindings, preventing anyone from being stuck with outdated or weak policies.
  • Node Pool Management: Use Karpenter for handling tenant-specific node pools, employing dual-taint strategies for compute isolation. With this, each node gets both a tenant and a workload-type taint, which pods need to tolerate to get scheduled.
  • VPC Security Group Setup: Configure VPC security groups on a per-tenant basis to tightly control network access to tenant nodes and their corresponding databases. This setup blocks cross-tenant database access, making use of AWS's software-defined network security.
  • Dedicated Database Clusters: Deploy separate Aurora database clusters for each tenant, with AWS Secrets Manager managing secure credentials. This ensures data leakage is off the table due to application logic errors.

Namespace Isolation in Detail

Namespaces are your first line of defense, offering a logical resource separation. ReadyOn leverages Argo CD ApplicationSets to automate namespace creation and upkeep, ensuring no tenant is left with outdated or weakened setups. This automation avoids manual slips and keeps security consistent across all tenants.

Within each namespace, RBAC policies tightly restrict access to tenant-specific resources, while admission controls block unauthorized or harmful deployments. Unauthorized users can't list or access resources outside their namespace. The GitOps controller continuously checks that the live cluster matches the declared state in Git, automatically fixing unauthorized changes.

Compute Isolation with Karpenter

Compute isolation is all about the node level, using Karpenter's dual-taint strategy. ReadyOn ensures pods are only scheduled on nodes when they have the right tolerations for tenant identity and workload type. This stops cross-tenant scheduling, a known source of data leaks in shared environments.

Furthermore, ReadyOn uses admission controllers to verify pod tolerations against tenant identity, employing IMDSv2 to limit access to instance metadata. Scoped node credentials limit IAM roles to tenant resources, curtailing potential issues if a container escapes.

Network Isolation in the VPC Layer

Network isolation is achieved by separating tenant resources at the VPC level. Tenant database clusters are protected by security groups, allowing connections only from the respective tenant’s node pool. This separation moves beyond Kubernetes' control, using AWS's strong network isolation.

Kubernetes network policies enforce default-deny for inter-namespace traffic. Tenant pods communicate only with pods in their own namespace and explicitly allowed platform services. All other traffic is denied and logged. Amazon VPC Flow Logs capture all network traffic, which can help detect anomalies and carry out security audits.

Data Isolation with Amazon Aurora

The final, and perhaps most crucial, layer is data isolation. Each tenant's data resides in a separate Amazon Aurora database, avoiding the risks of shared databases. With unique AWS KMS keys encrypting each database, even if storage is accessed, only the intended tenant's data can be decrypted.

This setup benefits from short-lived AWS STS credentials, cutting down risks tied to long-term credentials. Per-tenant observability instances ensure precise monitoring and troubleshooting without exposing data.

Limitations and Trade-offs

The Four Walls model offers solid tenant isolation but comes with trade-offs. Dedicated resources like Aurora clusters and node pools per tenant can drive up costs. You'll need to balance security needs with cost management, possibly requiring optimization strategies for optimal resource use.

This setup also demands a deep understanding of AWS networking, Kubernetes management, and ongoing monitoring to keep everything in shipshape. Shared control planes, such as the EKS control plane and IAM, require careful handling since they aren't fully isolated despite the independent layers.

In my experience, rolling out a model like this benefits from a phased strategy. Start with strong namespace isolation and enforce consistent policies across the board. Gradually weave in compute and network isolation, testing each layer thoroughly before moving forward. Ultimately, implement data isolation with correctly configured and observed databases. Regular audits and checks are critical for maintaining the isolation model's integrity over time.

ReadyOn's Four Walls model on Amazon EKS paves the way for securing multi-tenant environments, offering a substantial framework for engineers and architects building similar systems. By stacking multiple independent isolation techniques, ReadyOn effectively tackles risks linked to tenant data exposure, setting a solid standard in multi-tenant security architecture.

Sources

ReadyOn’s Four Walls of tenant isolation on Amazon EKS

Every claim above was checked against this source before publishing. The analysis, the code and the opinions are mine.

Frequently asked

What is the purpose of the Four Walls model?

The Four Walls model is designed to enhance tenant isolation in multi-tenant environments on Amazon EKS, providing layered security through namespaces, compute, network, and data isolation.

How does ReadyOn use Amazon Aurora for data isolation?

ReadyOn uses dedicated Amazon Aurora clusters for each tenant, ensuring data is encrypted with unique AWS KMS keys and eliminating the risks associated with shared databases.

What role does Karpenter play in the Four Walls model?

Karpenter provisions dedicated node pools for each tenant, using a dual-taint strategy to prevent cross-tenant scheduling and enhance compute isolation.

What are the potential trade-offs of the Four Walls model?

The model can increase costs due to dedicated resources for each tenant and requires advanced AWS and Kubernetes knowledge for setup and maintenance.

Deepak Kumar

Written by

Deepak Kumar

Sr Software Engineer at India Today Group | Aaj Tak · MERN Stack · Generative AI

I run containerised services in production for my own products and have done the unglamorous half of Kubernetes — the upgrades, the resource limits nobody set, the 3am rollback. I write here about what those systems actually do once real traffic hits them.

Message me