AWS in 1 Min · Episode 16

AWS tags explained

Labels that organise resources. Watch the one-minute video, then read the details.

David Gomez1:20 video · 3 min read

"Good names are enough to organise AWS." Not at scale. A name like web-prod-2 doesn't tell you who owns the server, which project it belongs to, or who should pay for it. Once an account has hundreds of resources across several services and Regions, you need something more structured. That's what tags are for.

What a tag is

A tag is a label you attach to a resource. Each tag has two parts:

  • a key, such as team
  • a value, such as payments

Most AWS resources, from EC2 instances to S3 buckets, RDS databases and Lambda functions, can carry several tags at once. Tags don't change how a resource works. They are metadata that you, your tools and AWS billing can read.

Agree on standard keys

Tags only help if everyone uses the same ones. Pick a short list of standard keys and apply them everywhere, for example:

  • team: who owns it
  • environment: prod, staging or dev
  • project: what it's for
  • cost-center: who pays

A common mistake is inconsistency. Tag keys and values are case sensitive, so Team and team are two different keys, and Prod and prod are two different values. Reports then split one team into two. Write your keys down, and enforce them:

  • Tag policies in AWS Organizations define the allowed keys and values across your accounts and report resources that don't comply.
  • Infrastructure as code (CloudFormation, Terraform, CDK) can apply the same default tags to everything it creates, which is far more reliable than tagging by hand.

Find resources by tag

With consistent tags you can answer "what does the payments team run?" in seconds. Tag Editor, in the AWS Resource Groups console, searches for resources by tag across services and Regions, and lets you add or fix tags in bulk. Resource groups save that search so you can manage the result as one group.

Tags can also drive access. An IAM policy can use conditions on resource tags, for example to let a team manage only resources tagged with its own team name. This is called attribute-based access control (ABAC).

Split the bill per team

This is where tags pay for themselves. To see costs by tag:

  1. Tag your resources.
  2. In the Billing and Cost Management console, activate those keys as cost allocation tags.
  3. Group by that tag in Cost Explorer, or use it in your cost and usage reports.

Two details catch people out. A newly activated tag can take up to a day to appear in cost tools, and cost allocation tags are not retroactive: spending is grouped by tag only from activation onward. Activate your standard keys early, before you need the report.

Where AI fits

AI makes the "who is spending this?" question urgent, because model calls are billed per token and many teams can share one account. With Amazon Bedrock, you can't tag an individual on-demand model call. Instead, you create an application inference profile for each team or application, tag it (for example team = search), and have that team call the model through the profile's ARN instead of the model ID. Once the tag is activated for cost allocation, each team's model usage appears separately in Cost Explorer.

Quick recap

  • A tag is a key and value label on a resource.
  • Agree on a few standard keys, keep the case consistent, and enforce them with tag policies or infrastructure as code.
  • Activate cost allocation tags early to see spending per team, including AI token spend through tagged Bedrock inference profiles.
AWS in 1 Min #16 · 1:20

Need an AWS expert on your team?

I'm David, an AWS expert and fractional cloud consultant. I work alongside your team to run your cloud and infrastructure: architecture, security, cost and day-to-day operations. You get senior AWS experience when you need it, without the cost of a full-time hire.

  • Architecture reviews and a clear plan for what to fix first
  • Security hardening: IAM, networking, audits
  • Lower AWS bills without slowing your team down
  • Hands-on help with AI workloads on AWS