Sub topic 10
Consolidated billing, cost allocation and shared discounts
This chapter assumes you have an organization with a management account and several member accounts, and that you can read IAM policies and run the AWS CLI. Chapter 2 covered the management account. Here you will see how it pays for everything, how to trace costs back to teams, and where discounts are shared across accounts.
How consolidated billing works
Every organization has consolidated billing. The management account is the payer account. It receives one invoice that covers its own usage and the usage of every member account. Member accounts keep working as separate environments, but they no longer pay AWS directly.
Consolidation has four effects:
- One payment method. Member accounts do not need their own credit card or invoicing setup.
- Aggregated usage for tiered pricing. Services such as Amazon S3 and data transfer price by volume tier. AWS adds up usage across all accounts, so ten small accounts reach cheaper tiers together.
- A shared free tier. Free tier allowances are counted once per organization, not once per account. Creating many accounts does not multiply them.
- Shared commitment discounts. Reserved Instances and Savings Plans can apply to eligible usage in any account, as described below.
Shared discounts
When you buy a Savings Plan or a Reserved Instance (RI) in one account, AWS applies it first to matching usage in that account. If any of the commitment is left over, AWS applies it to matching usage in other accounts in the organization. This keeps you from paying for idle commitments when one team's usage drops and another's rises.
Three behaviors cause surprises:
- Sharing can be turned off per account. In the management account's Billing preferences you can disable RI and Savings Plans discount sharing for chosen accounts. Those accounts neither give nor receive discounts. Use this when a business unit must be billed separately, for example for chargeback reasons.
- Capacity is not shared. A zonal RI reserves capacity in one Availability Zone for the account that bought it. Other accounts can use the billing discount, but they do not get the reserved capacity. If you need guaranteed capacity, buy On-Demand Capacity Reservations in the accounts that need them.
- Credits are shared by default. AWS credits applied to the organization can offset charges in any account. You can disable credit sharing for individual accounts in the same preferences area.
Seeing which account spent what
The bill shows charges by linked account, but you still need to query it. In the management account, Cost Explorer can group by the LINKED_ACCOUNT dimension. This command lists last month's unblended cost per account:
aws ce get-cost-and-usage \
--time-period Start=2026-10-01,End=2026-11-01 \
--granularity MONTHLY \
--metrics UnblendedCost \
--group-by Type=DIMENSION,Key=LINKED_ACCOUNTCost Explorer offers several cost metrics. Pick the one that matches the question you are asking.
| Metric | What it shows | Use it for |
|---|---|---|
| Unblended cost | The charge as invoiced, on the day it is billed | Reconciling with the invoice |
| Blended cost | An average rate across the organization for shared usage | Rarely. It hides which account got a discount |
| Amortized cost | Upfront and recurring commitment fees spread over the term | Chargeback and trend analysis |
Unblended cost can mislead for chargeback. An upfront Savings Plan payment lands entirely in the account that bought it. Amortized cost spreads the fee across the period, so that account does not look expensive in one month and cheap in the next.
Cost allocation tags
An account is a coarse boundary. Inside one account, several applications or teams may share resources. Cost allocation tags let you split costs along other lines, such as CostCenter or Project.
Applying a tag to a resource is not enough. You must activate the tag key for cost allocation in the Billing and Cost Management console, or with the API, from the management account:
aws ce update-cost-allocation-tags-status \
--cost-allocation-tags-status TagKey=CostCenter,Status=ActiveTwo other points matter here:
- Tag keys are case sensitive.
costcenterandCostCenterare different keys, and both would need activation. A tag policy (covered in the chapter on other policy types) can enforce one spelling. - Untagged resources show up as an empty tag value. Track that share of spend as a quality metric for your tagging.
AWS Cost Categories add a second layer. You define rules that map accounts, tags or services to named groups such as "Platform" or "Customer-facing". Reports can then group by that category without anyone repeating the logic.
Budgets and alerts
AWS Budgets, created in the management account, can filter by linked account. This budget watches one member account and emails the finance team at 80% of the limit.
Save the budget definition as budget.json:
{
"BudgetName": "prod-app1-monthly",
"BudgetLimit": { "Amount": "500", "Unit": "USD" },
"TimeUnit": "MONTHLY",
"BudgetType": "COST",
"CostFilters": { "LinkedAccount": ["111122223333"] }
}Save the alert rule as notifications.json:
[
{
"Notification": {
"NotificationType": "ACTUAL",
"ComparisonOperator": "GREATER_THAN",
"Threshold": 80,
"ThresholdType": "PERCENTAGE"
},
"Subscribers": [
{ "SubscriptionType": "EMAIL", "Address": "[email protected]" }
]
}
]Then create the budget, replacing the account ID with your management account ID:
aws budgets create-budget \
--account-id 123456789012 \
--budget file://budget.json \
--notifications-with-subscribers file://notifications.jsonAn ACTUAL notification fires after the spend happens. For earlier warning, add a second notification with NotificationType set to FORECASTED.
Detailed data and access
For analysis beyond Cost Explorer, export the Cost and Usage Report (CUR) or use Data Exports. Create it in the management account and deliver it to an S3 bucket. It contains line items for every account, with the account ID and activated tag columns. Teams then query it with Amazon Athena. Treat that bucket as sensitive, because it exposes the whole organization's spend.
By default, member accounts see only their own costs. The management account can let IAM users and roles in member accounts view cost data through the billing preferences. Control access with IAM permissions for the ce:, budgets: and cur: actions. Finance staff usually need read access in the management account only, and that avoids granting broader access to it.
Common mistakes
- Running workloads in the management account. Its charges are mixed with the organization-wide ones and are hard to separate, and SCPs do not apply to it.
- Expecting separate invoices. Without AWS Billing Conductor, there is one invoice. Per-team bills must be built from reports.
- Forgetting that a closed account's past charges remain. Final usage in the month an account is closed is still billed to the organization.
- Assuming a Savings Plan covers all usage. Compute Savings Plans cover EC2, Fargate and Lambda. EC2 Instance Savings Plans and RIs are narrower. Check coverage reports before buying more.
Exercise
Account A buys a Compute Savings Plan and uses only half of it. Account B, in the same organization, runs eligible compute. Sharing is enabled for both. What happens to the unused half, and what must you do if Account B's owners want their usage excluded?
Show answer
AWS applies the unused half of the commitment to Account B's eligible usage, which lowers the organization's total bill. To exclude Account B, disable Reserved Instance and Savings Plans discount sharing for that account in the management account's Billing preferences. Then the commitment stays within the accounts that remain in sharing, and any part it cannot use is still billed.
Exercise
You tagged resources with CostCenter in January, but in March the cost reports show no CostCenter data for January or February. Why, and how do you avoid it next time?
Show answer
The tag key was not activated as a cost allocation tag, and activation is not retroactive. Cost data carries the tag only from the activation time onward. Activate standard tag keys, using the Billing console or aws ce update-cost-allocation-tags-status from the management account, when you set up the organization, before resources are created.