We want the CMDB to stay authoritative for business and cost details, while cloud resources carry a tag that lets those records be matched back to them. Is a single identifier tag a workable pattern, and how do teams handle reporting and keeping tags accurate?
Can one tag link cloud resources to a CMDB?
Answers
Yes, a stable identifier can connect a resource to a CMDB record, but I would avoid treating the tag itself as the whole cost-management solution. Cost tools generally report on the tags present in cloud billing data. They may not automatically look up a key in your CMDB and expand it into environment, owner, or cost center.
Keep the identifier stable and unique, and make sure the CMDB has a clear mapping for it. If reports need business attributes, either enrich the cost data from the CMDB or also publish the reporting tags directly to the resources. Test the full path with the billing and reporting tools you plan to use before rolling it out.
Reply to this answer
A GUID can work as a join key, but it is not very useful to people looking at a resource or a cost report. If you use one, make it a dedicated tag with a documented meaning, and have automation validate that it maps to an active CMDB entry.
Also decide what happens when a resource has no match, the CMDB record changes, or a resource is recreated. Those cases tend to matter more than the choice of identifier format.
Reply to this answer
For a large estate, I would use policy and deployment templates to apply the required tags, then run remediation and report on missing or invalid values. If you have multiple infrastructure-as-code repositories, make the tagging rules consistent across them rather than relying on people to remember them.
Resource groups can help organize resources, but they are not a complete substitute for resource-level tags. Group-level costs and inheritance depend on the services and reporting setup, so check how your actual billing data behaves.
Curlicue+N5:
We have several repositories and a lot of resource groups, so making the same required fields part of each deployment path sounds more manageable than fixing everything by hand.
Reply to this answer
I would start by checking what your CMDB discovery process can reliably observe and what your cost tools can consume. A tag that discovery can ingest is useful for reconciliation, but that does not mean a third-party cost tool will query the CMDB using it.
If the CMDB is the source of truth, define which system writes each tag and how updates flow. Avoid having separate systems overwrite the same fields without a clear owner, or the cloud values and CMDB values can drift.
Reply to this answer
Add your answer
Answers are reviewed before publication.
L8__Dawdle:
That distinction helps. The identifier would be for linking records, not something I should expect a cost dashboard to resolve by itself.