ladderlore
Request a guide
  • Type a service name, like S3 or IAM.

Concept · Builds on CLF-C02

Cost allocation tags

Activate tags in Billing so they show in cost data, and enforce them so the bill can be split.

You know from Cloud Practitioner

  • Tags are key-value labels on resources.
  • You group costs by tag to see who spends what.
  • They help split a bill by team or project.
Read the Cloud Practitioner lesson
Tag resources
Activate in Billing
Group by tag
Showback or chargeback
  1. 1Put tags such as Project and Team on resources.
  2. 2Activate the tag keys in Billing and Cost Management. Wait up to 24 hours.
  3. 3Group and filter costs by tag in Cost Explorer, Budgets and the Cost and Usage Reports.
From a tag to a cost report.

Step by step

  1. 1Put tags such as Project and Team on resources.
  2. 2Activate the tag keys in Billing and Cost Management. Wait up to 24 hours.
  3. 3Group and filter costs by tag in Cost Explorer, Budgets and the Cost and Usage Reports.

From a tag to a cost report.

  • User-defined

    Prefix
    None
    Example
    Project=Alpha
  • AWS-generated

    Prefix
    aws:
    Example
    aws:createdBy
The two kinds of cost allocation tags.

What it is

A tag does nothing for billing until you activate it as a cost allocation tag in the Billing and Cost Management console. It can take up to 24 hours to show. New tags apply from activation on. To tag older cost, the management account can start a backfill for up to 12 months. A backfill only works for months when the tag was already on the resource. In an organization, the management account activates tags for all accounts.

There are two kinds. User-defined tags are yours, such as Project or Team. AWS-generated tags start with aws:, for example aws:createdBy, and must also be activated.

What it is

Tags only help if they are on every resource. AWS Organizations tag policies set allowed keys and values and report resources that do not comply. They can also block non-compliant tagging on supported resource types. Then group costs by tag in Cost Explorer, Budgets and the Cost and Usage Reports. Showback shows each team its cost. Chargeback bills the team for it.

Remember

  • Activate a tag in Billing before it shows in cost data. A backfill can cover up to 12 past months.
  • Allow up to 24 hours after activation.
  • Tag keys are case-sensitive: Project and project are two keys.
  • Tag policies standardize keys and values across accounts.
  • Showback shows teams their cost. Chargeback bills them.

Remember

  • Untagged spend stays a blind spot. Require tags when resources are created.

On the exam

  • “Split the bill by project across many resources” points to cost allocation tags.
  • “Tags are applied but do not appear in Cost Explorer” points to activating them in Billing.
  • “Make every team use the same tag keys” points to an Organizations tag policy.