Ensure that user-defined tags (metadata) are being used for labeling, collecting, and organizing resources available within your AWS cloud environment. Trend Cloud One™ – Conformity recommends the following tagging schema to help you identify and manage your cloud resources:
- Name: used to identify individual resources.
- Role: used to describe the function of a specific resource (e.g. web tier, database tier).
- Environment: used to distinguish between different stages (e.g. development, production).
- Owner: used to identify the person responsible for the resource.
This rule can help you with the following compliance standards:
- APRA
- MAS
- NIST4
For further details on compliance standards supported by Conformity, see here.
This rule can help you work with the AWS Well-Architected Framework.
This rule resolution is part of the Conformity Security & Compliance tool for AWS.
efficiency
optimisation
excellence
As your AWS cloud environment is becoming more and more complex, it requires better management strategies. Using a tagging schema will help you gain visibility over your cloud resources and organize them more efficiently. You can use tags for different scenarios such as tracking resources owners and their stack level, identify which resources are incurring the highest costs, and filter available resources based on particular deployment stage.
Note: This conformity guide will use Amazon EC2 instances for tagging operations in order to demonstrate how to implement a tagging schema like the one listed above. However, you can use the same steps to search and/or assign tags for other AWS cloud resources types as well such as load balancers, Auto-Scaling Groups (ASGs), CloudFormation stacks, etc.
Audit
To determine if your Amazon EC2 instances are using tags (metadata), perform the following actions (to simplify the process we will use AWS Tag Editor):
Remediation / Resolution
Case A: To assign tags to your Amazon EC2 instances without using the Tag Editor, perform the following actions:
Case B: To assign tags to your Amazon EC2 instances using the Tag Editor, perform the following actions:
References
- AWS Documentation
- Resources and Tags
- Tag your Amazon EC2 resources
- Tagging your AWS resources with Tag Editor
- Managing tags
- AWS Command Line Interface (CLI) Documentation
- describe-tags
- describe-instances
- create-tags
- tag-resources