Costing and Resource Tagging
- tag is a label assigned to AWS resource.
- tag consists of a key and an optional value, define by you.
- Used to categorize AWS resources by purpose/owner/environment.
- useful to quickly identify a specific resource based on assigned tags
- tagging can also be used for better cost allocation.
- With AWS IAM can control which users have permission to create, edit, or delete tags
- work with tags using
- the AWS Management Console
- the AWS CLI
- the Amazon EC2 API
- Tag Restrictions
- Maximum number of tags per resource – 50
- For each resource, each tag key must be unique, and each tag key can have only one value.
- Maximum key length – 128 Unicode characters in UTF-8
- Maximum value length – 256 Unicode characters in UTF-8
- Tag keys and values are case-sensitive.
Example – tags assigned to instances
- one tag with key Owner
- another with key Stack
- Each tag also has an associated value.
Resource Tagging
- Help track expenses throughout the model.
- Some of the tags are
- Owner – Used to identify who is responsible for the resource
- Cost Center/Business Unit – Used to identify the cost center or business unit associated with a resource; typically for cost allocation and tracking
- Customer – Used to identify a specific client that a particular group of resources serves
- Project – Used to identify the project(s) the resource supports
- Activate an AWS-generated createdBy tag
- Tag is automatically applied for cost allocation purposes
- Tag helps account for resources that might otherwise go uncategorized.
- The createdBy tag is available for supported AWS services and resources only
- Tag value contains data associated with specific API or console events.
https://www.testpreptraining.com/aws-certified-solutions-architect-associate-practice-examTake a Quiz