Armakuni Contact us
← All case studies

On-demand AWS platform engineering and operations for a multi-tenant AI talent platform

A multi-tenant AI talent platform runs on AWS. Each client firm gets its own isolated tenant on a shared platform made up of Kubernetes, managed databases, search, caching, email and generative AI. The platform kept growing, but the internal engineering team was focused on product. Infrastructure work, upgrades, compliance findings and production investigations were competing for the same few people. Armakuni became their AWS platform operations and engineering partner, taking continuous ownership of upgrade currency, compliance remediation, security posture and cost across sandbox, non-production and production, with new work raised through a single ticket queue and delivered under one change discipline.

Before

The challenge.

After
18.1 → 10.3 minutesfor a base infrastructure pipeline run with no changes
11 → 7governed regions in the Landing Zone footprint
29 GBof temporary data traced from one storage alarm

The challenge

This is not a single application. Every tenant gets its own provisioned infrastructure: database schemas, search indices, cache users, email configuration, Kubernetes workloads and AI agent endpoints. All of it sits on shared base infrastructure across three environments and a multi-account AWS Landing Zone. One change to the base layer can reach every tenant at once.

Four problems were compounding.

Infrastructure work had no owner. The people who built the platform were now building the product. Upgrades slipped. Managed service versions fell behind. Platform changes were made whenever someone had time, not when the platform needed them.

Compliance findings kept arriving. Continuous GDPR and GRC scanning ran across the production accounts, and each finding came with a remediation SLA. Missing alarms, logging gaps and configuration drift were found faster than an engineering team focused on product could close them.

Production knowledge was undocumented. Pipelines, tenant provisioning and drift between environments had built up over years. The traps were known only to whoever had last hit them, for example a deploy that quietly reset a security setting, or a console hotfix that survived every redeploy.

New AI capability needed new infrastructure. The roadmap included private agent-to-tool connectivity, vector document search, real-time email event streaming and cross-account data sharing. Each one needed network, security and IAM design before any application code could use it.

Scale: A production multi-account AWS estate running Amazon EKS, Aurora PostgreSQL, OpenSearch, ElastiCache Serverless for Valkey, Amazon SES, Amazon Cognito and Amazon Bedrock AgentCore, serving a growing number of isolated client tenants.

How we built it

6 decisions, in the order we made them. Each one says what we did and why, and what it was built with.

  1. A governed operating model across three environments
  2. Detection and production investigation
  3. Platform currency
  4. Security and tenant isolation
  5. New capability for an AI platform
  6. Cost and footprint

A governed operating model across three environments

Built withCDKKubernetes
The engineering

All work went through one ticket queue. Each ticket was scoped before any build started, and design questions went back to the client as explicit decisions rather than being settled quietly in code.

Changes went through the environments one at a time: sandbox first, then non-production, then production as a separate change. Each environment was verified before the next one started. The three environment lanes were independent and gated only on their own environment, so a sandbox experiment could never reach production by accident.

Pipeline scope was written down. The CDK pipeline shipped Kubernetes and Helm changes. One-off network changes, such as VPC endpoints, security groups and DNS, were handed to the client as reviewed commands for their engineers to run. Both sides knew exactly what the pipeline could change and what it couldn't.

Detection and production investigation

Built withCloudWatchAuroraRDSCognitoKubernetes
The engineering

Under the GDPR remediation stream, Armakuni added Amazon CloudWatch alarms for Aurora covering connection saturation, free local storage and volume IOPS. Connection limits were tuned to the real workload. RDS Proxy was evaluated and ruled out on evidence: the application sets the database search path on every query, so every proxied session would have been pinned and the proxy would have added nothing.

The new alarms proved their value in production. A free-local-storage alarm fired with about 4 GB of headroom left on the production reader. Armakuni traced it to a single duplicate-detection query that spilled roughly 29 GB of temporary data. The alarm was correct, the cause was in the application, and the client got a specific query to fix rather than a request for a bigger instance.

Other investigations followed the same pattern. They found a secret-rotation race between split database secrets in non-production, and Cognito activity logging that had silently stopped after an earlier deploy reset threat protection. They also found Kubernetes operators frozen by a deleted storage class, and stale ArgoCD migration jobs left out of sync for days. Each one ended with a root cause, a fix, and the trap written down.

Platform currency

Built withEKSOpenSearchLambdaNode.jsCDK
The engineering

Amazon EKS was upgraded to 1.36 in every environment, finishing in production in October 2026. The upgrade policy was behaviour-neutral: any new chart defaults were pinned back to current behaviour, so a version upgrade never shipped an unreviewed change along with it. Amazon OpenSearch Service moved from 2.7 to 2.19 in sandbox, with cross-cluster replication verified, before any other environment was touched. Lambda runtimes moved to Node.js 24, and every handler was read to check compatibility first.

The base infrastructure pipeline was measured and rebuilt. A run with no changes took 18.1 minutes in sandbox, and 73% of that was change-set preparation. Removing change sets and grouping deployments into waves cut it to 10.3 minutes. Pinning CDK versions stopped 15 to 17 nested provider stacks from rolling on every deploy.

Security and tenant isolation

Built withElastiCacheIAM
The engineering

Each tenant's cache access was isolated with ElastiCache role-based access control using IAM authentication instead of shared passwords. That gives two layers of isolation, IAM policy and ACL, between tenants on shared serverless Valkey. A guard was added for a CloudFormation behaviour that would otherwise remove tenant users created outside the template whenever the user group changed.

Tenant integration credentials got dedicated encryption infrastructure. IAM policy drift was found and reconciled environment by environment. Over-privileged legacy email credentials were retired, and email moved behind scoped IAM roles.

New capability for an AI platform

Built withBedrockAgentCoreAuroraS3EventBridgeLambda
The engineering
  • Private agent-to-tool connectivity. Amazon Bedrock AgentCore Gateway reaches tenant MCP servers privately through Amazon VPC Lattice, with no public exposure and no VPC peering.
  • Private cross-account data sharing. An analytics account gets read access to an Aurora reader through VPC Lattice. Peering had been rejected, and this design met the requirement without it.
  • Vector document search. One Amazon S3 Vectors bucket per account, with one index per tenant, deployed through both the base and tenant infrastructure lanes.
  • Real-time email events. A per-tenant SES configuration set sends events through EventBridge and Lambda into a Valkey stream for each tenant. This is live in production for every tenant.
  • Mailbox consolidation. Amazon WorkMail mailboxes moved to SES receipt rules with a Lambda forwarder. Nothing was deleted, and WorkMail keeps running until AWS ends support for it.
  • Shared webhook ingestion. A single webhook router serves third-party integrations for all tenants.

Cost and footprint

The engineering

The AWS Landing Zone Accelerator footprint was reduced from 11 governed regions to 7. Every remaining region was justified, and unused services were switched off. Config recording costs were traced to node churn at the source, rather than absorbed as background spend. Non-production cost tooling was scaled down. Over-requested resources were found to be what drove sandbox node counts, which made right-sizing a request problem rather than a capacity problem.

Built on AWS

Armakuni worked inside AWS accounts that stayed under the client's ownership throughout, governed by AWS Landing Zone Accelerator across an AWS Organizations structure.

Compute and containers. Amazon EKS with Karpenter and managed node groups, including Graviton and Spot capacity. Workloads deploy through Helm and ArgoCD from AWS CDK pipelines on AWS CodePipeline and AWS CodeBuild.

Data. Amazon Aurora PostgreSQL, Amazon OpenSearch Service with cross-cluster replication, Amazon ElastiCache Serverless for Valkey with IAM authentication, Amazon S3, and Amazon S3 Vectors.

AI. Amazon Bedrock and Amazon Bedrock AgentCore Gateway. The platform's intelligence pipeline was reviewed from an AWS perspective: AWS Glue, Amazon SageMaker, AWS Step Functions and AWS Lambda producing embeddings at the scale of hundreds of millions of profiles.

Networking. Amazon VPC, Amazon VPC Lattice, AWS PrivateLink endpoints, AWS RAM, Elastic Load Balancing, Amazon CloudFront and Amazon Route 53.

Identity, messaging and security. Amazon Cognito, Amazon SES, Amazon EventBridge, AWS Secrets Manager, AWS KMS, AWS IAM and AWS Config.

Observability. Amazon CloudWatch alarms and logs feeding environment-local SNS alerting, alongside OpenTelemetry instrumentation for the platform services.

This was an engineering and operations engagement, not a migration. The platform architecture was extended, not replaced, and every change went through the client's own pipelines and review.

Competency: AWS Managed Service Provider (MSP)

Tech stack: Amazon EKS, Karpenter, Amazon Aurora PostgreSQL, Amazon OpenSearch Service, Amazon ElastiCache for Valkey, Amazon S3, Amazon S3 Vectors, Amazon Bedrock, Amazon Bedrock AgentCore, AWS Lambda, AWS Step Functions, AWS Glue, Amazon SageMaker, Amazon VPC Lattice, AWS PrivateLink, Amazon CloudFront, Amazon Route 53, Amazon Cognito, Amazon SES, Amazon EventBridge, AWS Secrets Manager, AWS KMS, AWS Config, AWS Landing Zone Accelerator, AWS CDK, AWS CodePipeline, Amazon CloudWatch

What else changed

  • Infrastructure work got an owner without adding headcount. The client paid for engineering when it needed it, and product engineers stopped being the default for upgrades and compliance fixes.
  • Compliance findings were closed within their SLAs. Findings from the GDPR scans became tracked tickets with alarms and evidence attached, not a growing backlog.
  • Alarms caught real problems before customers did. The production storage near-miss was found, explained and handed back as a specific application fix, with headroom still left.
  • The roadmap got the infrastructure it needed. Private agent connectivity, vector search, email event streaming and cross-account data sharing were each designed for isolation from the first tenant.
  • The knowledge stayed with the client. Design documents, runbooks, migration plans and the recorded traps live in the client's own repositories. All infrastructure is defined as code in their pipelines and runs in AWS accounts they own.

Have a problem like this one?

A free workshop: a few hours with the architects who'd do the work, on your own systems. No cost.

Book a free workshop