← sources

How can i get per-tenant AWS cost in a shared multi-tenant Product?

source: reddit (reddit:aws)published 2026-09-08 17:26ingested 2026-09-09 10:49

retained text

Hi everyone,  
i hope you all are doing well, kindly help me:

We have a multi-tenant product and trying get per-tenant AWS cost.

  
**Setup:**

* Shared EKS cluster
* Shared Database — tenant separated only by an application-level `tenantId` (no DB-per-tenant)
* Tenants identified per request (header / domain)

I am getting cost, but not able to justify tenant wise

**Where I've landed so far:**

* Get per-service/pod cost from Kubecost
* Split each service's cost across tenants by their **request share** (from logs)
* For data transfer (CDN), use **bytes per domain** since each tenant has its own domain
* For DB, split by `tenantId` row/storage share

what's your suggestion on this?





document fetched 2026-09-09 10:27 · canonical https://reddit.com/r/aws/comments/1wauwhu/how_can_i_get_pertenant_aws_cost_in_a_shared