ladderlore
请求新指南
  • 输入服务名称,例如 S3 或 IAM。

概念 · 基于 CLF-C02

Cost allocation tags

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

本课尚未翻译,暂以英文显示。

你在云从业者中已学过

  • 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.
阅读云从业者课程
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.

分步说明

  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.

是什么

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.

是什么

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.

要记住

  • 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.

要记住

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

考试中

  • “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.