Build1 distinct publisher3 min readUpdated
The cloud bill is organised by service and region and can never see your tenants. So any per-tenant number is a blend of exact tagging and an honest estimate, and it fits in two small tables.
The Engineer · Build desk

Compiled by The EngineerSomething wrong?How this is made
A write-up on dev.to takes aim at a familiar quarter-end scramble: a board deck needs the cost to serve customer X, or its sharper cousin, which ten customers have the worst gross margin, and engineering opens a bill organised by service and region rather than by customer [1][2]. It matters because the reflex response is a project, billing exports into the warehouse joined against tenant telemetry, six months, two data engineers, and the author's argument is that pricing and margin decisions rarely need it [3][4].
The structural reason is not tooling. Cloud costs attach to resources, and in a multi-tenant product customers live inside shared resources: one Aurora cluster serving four hundred tenants, one Kubernetes cluster running everyone's workloads, one load balancer in front of all of it [5]. The bill knows what the cluster costs and cannot know which tenant caused which fraction, because the provider never sees your tenants [6]. That splits per-customer cost into two different problems. Dedicated resources, a customer's own database or VPC or SFTP endpoint, are a tagging exercise and the result is exact [7]. Everything shared needs an allocation key, and the output is a modelled estimate no matter who builds it or what the build costs [8]. The post's framing is that this is a management number, not a billing number: consistent, explainable, directionally right, and not exact to the cent [9].
The proposed mechanism is three buckets with three rules [10]. Dedicated spend gets a tenant tag carrying the customer id, enforced at provision time; the author asserts this is often 20 to 40 per cent of spend even in deeply multi-tenant products, and calls it the anchor that makes the rest credible [11]. Shared-variable systems each get one usage driver taken from telemetry you already collect: requests per tenant from gateway or load balancer logs for the API tier, read/write units from a nightly query for the shared database, CPU and memory requests per namespace where tenants map to namespaces, bytes per tenant for storage, job-minutes from the scheduler you already run [12]. What that produces is a per-tenant usage table shaped as (day, tenant_id, system, units), a handful of scheduled queries and usually a few hundred rows a day [13]. The other side of the join is billing data grouped by system, and the whole computation is described as a 20-line SQL job or a small script [14].
The third bucket is the one people fudge. Control planes, NAT gateways, observability, security tooling and staging have no honest usage driver, so the recommendation is to pick a policy, evenly per customer or proportional to revenue or proportional to the first two buckets, label it as policy on every report, and keep it as its own visible line rather than smearing it into the variable rate [15].
The arithmetic is unremarkable, which is the point. A shared Aurora cluster at $9,000 a month is about $300 a day, implying a 30-day month, and a tenant generating 42 per cent of read/write units on Tuesday carries $126 [16][1][2]. The sample monthly statement is $2,210 dedicated, $3,804 allocated by drivers and $310 platform share under an even split, totalling $6,324 [17][3]. Dedicated is 35 per cent of that, inside the band the author claims, and the policy bucket is under 5 per cent [4][5].
Two things decide whether this holds. Tagging has to be enforced at provision time [11], because untagged dedicated resources fall into the shared pools and quietly cross-subsidise the accounts you most want to price. And the policy line has to stay visible [15]: at 5 per cent of an example bill nobody argues, but the same policy applied to a heavier platform tax is where the first customer-facing challenge will land. Note also that the figures above are the author's illustration, not measurements from a named company [18].
Follow any of these and your For You feed starts watching them — no settings page required.
Ranked by verification strength, evidence, and original report placement.
Worked example: the shared Aurora cluster costs $9,000 a month, about $300 a day; Tenant A generated 42% of read/write units on Tuesday, so their share is $126 for that day, under the formula tenant share = system cost that day x (tenant units / total units).
The example monthly statement reads: dedicated (tagged) $2,210; shared-variable (allocated by drivers) $3,804; platform share (policy: even split) $310; cost to serve, September: $6,324.
A board deck eventually needs a number nobody has: what it costs to serve customer X, or its sharper cousin, which ten customers have the worst gross margin.
Engineering opens the cloud bill and finds it organised by service and region, not by customer, and the honest first answer is that they do not know.
The reflex answer is a project: pipe the billing export into the warehouse, join it against tenant telemetry, build the allocation logic, six months, two data engineers.
Cloud costs attach to resources, and in multi-tenant architectures customers live inside shared resources: one Aurora cluster serving four hundred tenants, one Kubernetes cluster running everyone's workloads, one load balancer in front of all of it.
Evidence-backed comparisons of source perspectives and observed adoption signals. Read the methodology
Which Builder, Operator, and Investor concerns the observed source mix emphasized—not a truth score.
Evidence, demonstrated adoption, hype gap, incentives, and confidence are assessed independently, each on its own current evidence. How these are measured.
One self-published explainer, internally consistent but externally unverified
All content comes from a single dev.to post by one author. Its arithmetic is internally consistent (42% of ~$300/day = $126; $2,210 + $3,804 + $310 = $6,324) and its structural claims about cloud billing granularity are uncontroversial, but the load-bearing empirical assertions -- 20-40% of spend being dedicated, weeks rather than six months, a 20-line job sufficing -- rest on assertion alone, and the dollar figures are explicitly a worked example rather than a measurement.
No adoption signal in the supplied material
The cluster contains no release, deployment, benchmark, pricing, licence or usage disclosure. No company, team or product is named as running the three-bucket model, so there is nothing to measure; inferring uptake from a how-to post would be guessing.
Modestly overstated feasibility, deliberately understated precision
The piece is unusually self-limiting for its genre: it concedes that shared-resource attribution is always a modelled estimate, frames the output as a management number rather than a billing number, and names what the method cannot do. The gap that remains is feasibility rhetoric -- weeks instead of six months, a 20-line SQL job, a few hundred rows a day, 20-40% of spend dedicated -- presented with the confidence of experience but no measured deployment anywhere in the cluster.
Low visible commercial stake: methodology post with no product or vendor pitch
The visible incentive structure is thin and mostly reputational: an individual author publishing a method on a developer community platform, naming no employer, customer, tool vendor or paid product, and presenting its numbers as a worked example rather than as a case study for sale. The residual incentive is the usual practitioner-authority payoff of advocating a contrarian, cheaper approach, plus the fact that no disclosure of the author's affiliation is available to check.
Confident about what was argued, weak on whether it works at claimed cost
Confidence is limited by cluster shape: one publisher, one item, zero adoption observations and no contradicting or corroborating source. The descriptive and arithmetic claims can be assessed with high confidence; the empirical and effort claims cannot be tested at all from this material.
build
Rate limit your MCP servers, because a retrying agent turns one error into a billing incident1 distinct publisher
build
Your meter now runs on someone else's machine: signed receipts, fsync, and failing open1 distinct publisher
build
Thirteen tasks green, then "give up (Recommended)" on the one that needed understanding1 distinct publisher
build
The date bug that only misfires when the day is 13 or higher1 distinct publisher
Distinct publishers with included, body-backed reporting in this cluster.
dev.to
1 article · August 19, 2026