In this article
Hetzner Cloud's low unit prices make individual servers easy to approve. When several teams add resources without recording who owns them, the monthly invoice shows a total that nobody can assign to a team or service. The April and June 2026 price increases make those ownership gaps more costly.
Cost governance answers three questions a business owner will ask sooner or later: what do we spend, who spends it, and is it still worth it. The FinOps Foundation groups this work into three phases: inform, optimise and operate. On Hetzner Cloud, all three depend on one small feature: labels.
The short version. Hetzner Cloud supports custom labels on servers, volumes, load balancers, IP addresses, snapshots and networks, but its invoices ignore them. Four business questions define mandatory owner, service, env and cost-center labels, checked in CI and daily scans, with a target of under 5% unallocated spend. Give teams daily costs without Hetzner account access and hold a 30-minute monthly review per owner.
This article describes a label-based governance model you can put in place in a month. It is written for founders, engineering leads and finance partners running one or several Hetzner Cloud projects.
Hetzner invoices ignore resource labels
Hetzner gives you three cost controls out of the box (Hetzner Cloud billing FAQ):
- Projects. Every cloud resource lives in one project, and Console Usage reports totals per project.
- The invoice. It arrives monthly, after the usage closes, with a summary by product category and a consumption CSV (Hetzner billing system).
- A billing alert. You set a limit per project under Usage in Hetzner Console and get an email when that project crosses it.
These controls tell you the total and the project (see how to track Hetzner Cloud costs). They do not tell you the team, product, client or environment. A project named production with forty servers across four teams has one line of accountability, and it belongs to nobody.
Splitting into more projects helps only so far. Private networks, firewalls and API tokens are scoped to a project, so every split adds work. Teams sharing a network or Kubernetes cluster stay in one project.
Labels fill that gap. A label is a custom key=value pair on a Hetzner Cloud server, volume, load balancer, IP address, image (snapshot or backup) or network (Hetzner Cloud API reference). Dedicated-vCPU cloud servers (CCX) support the same labels.
Object Storage buckets and bare-metal servers in Robot, such as the AX line, sit outside this Cloud API workflow. Storage Boxes support labels through the separate Hetzner API and current hcloud storage-box commands. Include these products in a separate cost inventory if they appear on the same invoice.
Hetzner stores labels and lets you filter by them in the API and hcloud CLI, whereas invoices ignore them. Tracking spend by label is the step you have to build or buy.
Four questions define your label schema
A label schema should come from the questions the business asks, and four questions cover almost every growing company. Each one maps to a single mandatory label.
| Business question | Label key | Example values |
|---|---|---|
| Who is accountable for this cost? | owner | payments, platform, data |
| Which product or client does it serve? | service | checkout, reporting, acme-portal |
| Is it production or non-production? | env | prod, staging, dev |
| Which budget pays for it? | cost-center | cc-1040, rnd, managed-hosting |
Four rules keep the schema consistent and easy to enforce:
- Keep it to four or five keys. Require a key only when it answers a recurring business question. Optional keys such as
expiresormanaged-bycan be added without enforcement. - Publish the allowed values.
owner=Payments,owner=paymentsandowner=pay-teamshow up as three different owners in any report. Keep the approved list in version control and validate against it. - Use team names instead of individuals. People change roles. A team name stays valid, and it matches how budgets are set.
- Respect Hetzner's limits. Label names and values are limited to 63 characters, and the
hetzner.cloud/prefix is reserved by Hetzner.
Apply the labels where the resource is created. In Terraform, define the map once and pass it to every resource:
locals {
labels = {
owner = "payments"
service = "checkout"
env = "prod"
cost-center = "cc-1040"
}
}
resource "hcloud_server" "api" {
name = "checkout-api-1"
server_type = "cx33"
image = "ubuntu-24.04"
labels = local.labels
}Existing resources can be labelled without redeploying: hcloud server add-label checkout-api-1 owner=payments. Label volumes, load balancers, IP addresses and snapshots too. A team that labels only servers will find a growing share of its bill has no owner.
Show teams daily costs by label
Cost drops when the people who create it can see it. An engineer who starts a server decides its size, its lifetime and whether backups are turned on. If the resulting cost is visible only to the account owner a month later, that engineer has no feedback to decide differently next time.
Transparency on Hetzner needs three things.
Daily figures instead of a monthly invoice. Hetzner's billing FAQ says invoices may be created up to 28 days after month-end (see also Hetzner Cloud billing explained). A test cluster left running on the 3rd can go unnoticed until the invoice arrives; its billable resources keep accruing charges until they are deleted. Because Hetzner publishes hourly prices per resource type, cost can be calculated every day from the resource inventory so a month-end surprise becomes a next-morning question.
Cost grouped by label. A total per project confirms what finance already knows. A total per owner and service tells a team lead what their team spent this week and which service caused the change. For agencies running managed hosting on fixed retainers, grouping by client slug also reveals when extra staging clones or snapshots start eroding hosting margin.
Access without risk. Sharing the Hetzner account or an API token so people can look at costs gives them far more than visibility. Cost reporting should live in a separate, read-only place: a dashboard, a scheduled summary per team, or both. The reader needs no permissions on the infrastructure.
A useful test: can a team lead answer "what did my team spend last week, and why did it change?" in under a minute, without asking the platform team?


CloudTally Cost Explorer over the last 30 days, grouped by env; vertical ticks mark the previous 30 days. The demo uses its own label values; roughly €340 in No env label exposes a large allocation gap to resolve.
Keep unallocated spend below 5%
A label schema decays unless something checks it. Hetzner has no built-in policy that rejects an unlabelled resource, so the control has to sit in your own process.
Enforce labels before and after creation
Check before creation. With Terraform or OpenTofu, validate planned labels in CI. Save a plan with terraform plan -out=tfplan, export it as JSON with terraform show -json tfplan, and check it with a Conftest policy. Reject missing mandatory keys or unapproved values for each managed resource type with labels, and fail the CI job before terraform apply. This prevents gaps before resources incur charges.
Scan after creation. Some resources will be created by hand during an incident or by another tool. Run a daily job that checks all four keys across billable Cloud resource types. Restrict the image check to snapshots and backups:
for key in owner service env cost-center; do
selector="!${key}"
for resource in server volume load-balancer floating-ip primary-ip; do
hcloud "$resource" list --selector "$selector"
done
hcloud image list --type snapshot,backup --selector "$selector"
doneThis scan finds missing keys; also check existing values against the approved list. It does not calculate costs: use cost reporting to measure the unallocated share. Send the findings to a channel that someone owns, and give each one a deadline.
Measure the unallocated share. Track one number next to total spend: the percentage of monthly cost carrying no valid owner. Aim for under 10% within the first quarter and under 5% after that. If the number rises, the process has a gap, and the number tells you before the finance review does.
Set explicit rules for shared and linked costs
Two cases need a written rule because labels on individual servers alone do not settle them.
- Shared resources. A load balancer or Kubernetes cluster serves several teams. Assign it to the platform team as an accepted platform cost, or split it by a documented rule. Node count works for separate team node pools; for shared nodes, agree a split based on CPU requests per namespace. A simple documented rule is more useful than a precise formula nobody can reproduce.
- Costs that follow another resource. Automated server backups (a 20% surcharge on the server price) and outbound traffic overages exist because of a server or load balancer. Attribute them to that parent resource's labels so the owner sees the full cost.
Most organisations should start with internal cost visibility without recharging departments. Formal chargeback works reliably only once unallocated spend is low and every team accepts the shared-cost rules.
Run a monthly review per owner
Optimisation done once is a clean-up. Governance means the review repeats, and each finding has an owner. A company-wide list of idle servers is noise, whereas a list per owner is a clear task for a named team.
A 30-minute monthly review per team is enough. Ask the same four questions each time.
- What changed? Compare this month's cost per
servicewith last month's. Explain every move above an agreed threshold, such as 15%. - What is paid for while unused? On Hetzner, the usual findings are specific (see the Hetzner Cloud costs you're probably missing):
- Powered-off servers. Hetzner bills stopped servers at the full rate until you delete them (see why Hetzner charges for stopped servers).
- Detached volumes, and floating or primary IP addresses assigned to nothing.
- Snapshots kept for months or years, billed per GB each month.
- Backups enabled on servers that can be rebuilt from code.
- What is too large? Compare CPU, disk and network load against the server type (Hetzner does not expose RAM usage from the host, so memory checks need an inside agent). Start with non-production:
env=devandenv=stagingrarely need production sizes, and teams can delete and rebuild them from code outside working hours rather than leaving them powered off. Check locked-in pricing before shrinking any server created before 15 June 2026. A rescale (Hetzner's operation for changing a server's size) moves a protected server onto current prices permanently, so downsizing can raise its monthly bill (see Hetzner legacy pricing: downsizing can cost more). - Is the budget still right? Set a budget per
ownerorcost-centerand alert on the month-end forecast rather than waiting for actual spend to cross the line. An alert that fires once the budget is spent leaves nothing to decide.
Record each finding with an owner and a date, and open the next review with last month's list.
Two figures show whether the process works: the share of spend without a valid owner label, and unit cost per service, such as hosting cost per customer or per thousand orders. Total spend that grows with the business is healthy. A unit cost that grows needs an explanation.
Roll out label governance in four weeks
- Week 1: agree on the schema. Four keys, a published value list, and one person who approves changes.
- Week 2: label what exists. Start with the 20 most expensive resources; they usually hold most of the bill. Measure the unallocated share for the first time.
- Week 3: add the controls. Put the Terraform CI policy, the daily scan across resource types and label keys, and the shared-cost rules in place.
- Week 4: make costs visible. Give every team daily costs by label and hold the first 30-minute monthly review.
The schema, CI policy and daily scan can live in your existing infrastructure workflow. Tracking daily costs by label, keeping history and running budgets takes further engineering effort.
CloudTally handles that reporting layer through a read-only API token. It groups costs by label with a No <key> label bucket and runs label-scoped budget forecasts.
Whichever tooling you choose, the order matters: questions first, then labels, then controls, then reviews. A dashboard on top of unlabelled resources shows the same total the invoice already shows.
More from the blog
Hetzner vs AWS: what the same work costs on 5 clouds
Compare what the same jobs cost on Hetzner, AWS, OVHcloud, Scaleway and DigitalOcean: 85 servers tested for cost per job, speed and availability.
Hetzner Cost-Optimized not available? Four options
Hetzner CX23 not available? Try a direct API request, compare larger CX plans, and preserve a 40 GB disk if you use CPX temporarily. Includes exact EU prices.