概念 · 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.
- 1Put tags such as Project and Team on resources.
- 2Activate the tag keys in Billing and Cost Management. Wait up to 24 hours.
- 3Group and filter costs by tag in Cost Explorer, Budgets and the Cost and Usage Reports.
流れ
- 1Put tags such as Project and Team on resources.
- 2Activate the tag keys in Billing and Cost Management. Wait up to 24 hours.
- 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
| Kind | Prefix | Example |
|---|---|---|
| User-defined | None | Project=Alpha |
| AWS-generated | aws: | aws:createdBy |
概要
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.
混同しやすいもの
AWS Cost ExplorerSee and forecast spend, and get rightsizing and Savings Plans recommendations.
AWS Cost and Usage ReportsThe most detailed billing data, delivered to S3 so you can query it with SQL.
AWS OrganizationsUse many accounts as walls between workloads, and run shared services from delegated administrator accounts.
ほかのタスクにも登場
このタスクの内容 · 4.1
- Choosing an S3 storage class
S3 Glacier
- Lifecycle rules
- S3 cost levers
- EBS cost choices
- EFS and FSx cost choices
- Storage auto scaling
- Choosing a data migration service
- Cost allocation tags
Cost Explorer
Budgets
Cost and Usage Reports
- Multi-account billing
Organizations
Backup
- Choosing object, file or block
- S3 request and transfer performance
EBS
EFS
FSx
Storage Gateway
DataSync
Transfer Family
Snow Family
- Data transfer cost design
S3