How should an organization design and roll out a comprehensive tagging strategy across a large, already existing AWS environment with thousands of untagged legacy resources?
Short answer
Rolling out a comprehensive tagging strategy for an existing environment typically starts with defining a clear, documented tagging standard agreed upon by all stakeholders, using AWS Config rules or Tag Editor to identify and report on currently untagged or non compliant…
Advertisement
AModel answer
Rolling out a comprehensive tagging strategy for an existing environment typically starts with defining a clear, documented tagging standard agreed upon by all stakeholders, using AWS Config rules or Tag Editor to identify and report on currently untagged or non compliant resources, running a coordinated retroactive tagging effort often prioritized by highest cost resources first, and finally enforcing ongoing compliance going forward using Organizations tag policies and automated remediation, recognizing that retroactively tagging a large legacy environment is often a substantial, multi week project requiring dedicated coordination across many teams.
aws resourcegroupstaggingapi get-resources --tag-filters Key=Environment --query 'ResourceTagMappingList[?length(Tags)==`0`]'Real-world example
A large enterprise with thousands of untagged legacy resources uses the Resource Groups Tagging API to systematically identify every untagged resource, prioritizes tagging their highest cost resources first, and then enforces a strict tag policy going forward to prevent the problem from recurring with any new resources.
Likely follow-ups
- How do you prioritize which untagged resources to address first in a large scale retroactive tagging project?
- What tools can help automate the process of identifying an appropriate owner for a previously untagged, ownerless resource?
Related topics