When the cloud bill arrives once a month, every month can hold surprises. A daily cost pipeline breaks spend down by team, detects anomalies and pings the owning engineers the day something misbehaves.
Estimated results
$4K/mo
Leak caught in one day
24 hrs
To detect a spike
-23%
Monthly cloud spend
2%
Untagged resources left
Illustrative example of an automation we build for this kind of business. Figures are illustrative estimates, not a promise or guarantee of results. Terms of use
The challenge
Cost spikes surface three weeks late, when the invoice arrives. A forgotten test cluster can burn $4,000 before anyone notices. A third of resources may carry no owner tag, so even when spend jumps, nobody knows whose it is, and finance chases engineers through screenshots and guesswork every month.
Before and after
Time to detect a cost spike
−95%Monthly cloud spend
−23%Untagged resources
−94%The automation
A Make pipeline pulls daily billing exports from the cloud provider, allocates every line to a team and service using tags, and computes rolling baselines per owner. When spend deviates from its baseline, the owning team's Slack channel gets an alert naming the exact resources and the cost change. Untagged resources open tagging tasks automatically, and a weekly digest tracks each team's spend against budget.
How it works
- 01
Ingest
Daily billing exports are pulled from the cloud provider and broken down by service, environment and team tag.
- 02
Baseline
Rolling spend baselines are computed per team and service, so 'normal' is always current.
- 03
Detect
Deviations from baseline are flagged with the exact resources driving the jump.
- 04
Alert
The owning team's Slack channel gets the anomaly, the cost delta and a link to the offending resources.
- 05
Digest
A weekly summary tracks every team's spend against budget, and untagged resources open tagging tasks automatically.
Starts from
- Daily cloud billing exports
- Team budgets & resource tags
Delivers
- Slack cost alerts
- Weekly budget digest
- Tagging tasks
The impact
Detection takes one day instead of three weeks, so a leak such as a forgotten test cluster is typically caught within 24 hours of starting. Untagged resources can go from about 34% to 2%, and with owners accountable for their own baselines, monthly cloud spend can go down by about a fifth or more.
Questions about this automation
How does it decide that spend is abnormal?
Daily billing exports are split by service, environment and team tag, and a rolling baseline is kept for each owner and service. When a day's spend rises past a set percentage or dollar amount above that baseline, it is flagged as an anomaly along with the specific resources driving the increase.
Who gets alerted, and through which channel?
The alert goes to the Slack channel of the team that owns the resources, with the cost change and links to the resources in question. Finance receives a weekly digest showing each team's spend against budget, so nobody has to chase engineers with screenshots at month end.
What about resources with no owner tag?
Untagged resources cannot be assigned to a team, so the automation opens a tagging task for the most likely owner, based on the account or project where the resource runs. Open tasks appear in the weekly digest until they are fixed. Simple automations like this are usually live within days of getting read access to the billing export.
