{"slug": "multi-tenant-infra-on-amazon-eks-with-definition-on-git", "title": "Multi-Tenant Infra on Amazon EKS with definition on Git", "summary": "A hands-on AWS workshop lab showed that a single Git-committed Tenant resource on Amazon EKS can provision tiered multi-tenant infrastructure, with kro ResourceGraphDefinitions, Argo CD and ACK creating DynamoDB, S3, IAM and EKS Pod Identity resources across two EKS Auto Mode clusters. In the lab, three Basic tenants shared compute, S3 and DynamoDB and used Amazon Nova Micro, while one Pro tenant received a dedicated NodePool, its own bucket and table, three starting replicas and an HPA scaling to ten, using Nova Lite. The author found IAM is the real model-access boundary — a Basic pod calling the Pro model failed with AccessDeniedException — but noted per-tenant roles do not address a shared account-level Amazon Bedrock quota, and that DynamoDB's LeadingKeys condition cannot restrict Scan.", "body_md": "# Multi-Tenant Infra on Amazon EKS with definition on Git\n\nExplore multi-tenant SaaS on Amazon EKS using Argo CD, ACK, kro, and GitOps for automated tenant provisioning, Kubernetes security, and Amazon Bedrock AI integration.\n\nI recently worked through an AWS-hosted workshop on building multi-tenant SaaS on Amazon EKS. I had a three-hour lab window and finished it. The app was a number-guessing game with an optional AI game host. What I cared about was the platform around it: can a new customer be onboarded with a Git commit and end up with the right compute, storage, identity and model access?\n\n## How a tenant definition turns into infrastructure\n\nThe lab gave me two EKS Auto Mode clusters, one for GitOps and one for tenant workloads. I deployed the game in mock mode, then used ACK (AWS Controllers for Kubernetes) to create DynamoDB and S3 and wire up IAM and EKS Pod Identity, so the pod gets short-lived credentials and no access keys.\n\nDoing that by hand showed me why kro is useful. A kro  \n\n`ResourceGraphDefinition`  describes a custom resource and the dependencies between everything behind it, so the platform can offer one  `Tenant`  resource instead of a pile of manifests.\n\nImage \n\n*Source: AWS Workshop Studio.*\nI added three Basic tenants and one Pro tenant to the workloads repo. Argo CD synced them, kro picked the tier package, and ACK created the AWS resources:\n\n```\nkubectl --context data-plane get tenant -n tenantskubectl --context data-plane get hpa -n tenant-004kubectl --context data-plane get nodepool pro-tenant-004\n```\n\nBasic tenants shared compute, S3 and DynamoDB. The Pro tenant got a dedicated NodePool, its own bucket and table, three starting replicas and an HPA up to ten. The image was identical. Basic used Amazon Nova Micro for the game host and Pro used Nova Lite.\n\nOne gotcha if you repeat it: wait on ACK's  \n\n`ACK.ResourceSynced`  condition, not just on  `kubectl apply` . The API server accepts the manifest long before AWS has created the resource.\n## A feature flag doesn't enforce a tier\n\nThe model difference is only configuration. If a Basic pod can call the Pro model with its own credentials, the tier exists in the app code and nowhere else. The workshop covers this with a negative test, and when I ran it from a Basic pod, calling the Pro model failed with  \n\n`AccessDeniedException`  while the Basic model worked.\nThat makes IAM the actual boundary. It controls which model a tenant can use, not how much, so a production AI feature also needs per-tenant metering, budgets and throttling. Per-tenant roles don't help when everyone shares one account-level Bedrock quota.\n\nDynamoDB shows the same gap. The lab scopes items with  \n\n`dynamodb:LeadingKeys` , and the  [AWS docs](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/specifying-conditions.html)say`Scan`  can't be limited that way, so a role that allows it can read the whole table. I'd review every action a tenant role allows, not only the ones I tested.\n## What I'd test next\n\nI ran the isolation tests too, and each one came back as the workshop said it would. The cases I'd want to see are a blueprint changing while tenants are live, a half-finished provisioning, a tenant moving from Basic to Pro, and a deletion stuck on a finalizer. Offboarding also needs a plan: removing a Basic tenant doesn't delete its rows in the shared table, and removing a Pro tenant can delete its storage.\n\nI wrote up the whole thing, including isolation tests, cost attribution and what I'd change for production, on my blog:  \n\n[How Much Can a Single Tenant Definition Provision on Amazon EKS?](https://karuifeather.com/blog/how-much-can-a-single-tenant-definition-provision-on-amazon-eks)\nTo try the workshop, start with the  \n\n[public Building SaaS on EKS workshop](https://catalog.workshops.aws/building-saas-on-eks/en-US). I used the AWS-hosted edition, so some exercises may differ. Check costs and cleanup before running it in your own account.\nThanks to AWS for the workshop, sample app and lab environment. The diagram is from AWS Workshop Studio.\n\n**Enjoyed reading this content? Let the author know!**\n\nYour likes, comments, shares, and saves help creators reach more builders.\n\nLoading recommendations", "url": "https://wpnews.pro/news/multi-tenant-infra-on-amazon-eks-with-definition-on-git", "canonical_source": "https://builder.aws.com/content/3N1pvl5nofwuMJr069YXqEC7BLc/multi-tenant-infra-on-amazon-eks-with-definition-on-git", "published_at": "2026-12-04 23:09:22+00:00", "updated_at": "2026-12-05 02:13:20.850887+00:00", "lang": "en", "topics": ["ai-infrastructure", "ai-agents", "ai-tools"], "entities": ["Amazon EKS", "AWS", "Argo CD", "ACK", "kro", "Amazon Bedrock", "Amazon DynamoDB", "Amazon Nova"], "also_reported_by": [], "takeaway": "Define each tenant as one kro ResourceGraphDefinition-backed Tenant resource and gate model access with per-tenant IAM roles — a Basic pod calling the Pro model returned AccessDeniedException — but add per-tenant metering and throttling because IAM controls which model, not how much, and shared acco", "recommendation": {"advice": "Model tenant tiers as a single kro Tenant resource synced by Argo CD, wait on ACK's ResourceSynced condition before assuming AWS resources exist, and enforce model access with per-tenant IAM roles plus separate metering for shared Bedrock quotas.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/multi-tenant-infra-on-amazon-eks-with-definition-on-git", "markdown": "https://wpnews.pro/news/multi-tenant-infra-on-amazon-eks-with-definition-on-git.md", "text": "https://wpnews.pro/news/multi-tenant-infra-on-amazon-eks-with-definition-on-git.txt", "jsonld": "https://wpnews.pro/news/multi-tenant-infra-on-amazon-eks-with-definition-on-git.jsonld"}}