- Newest
- Most votes
- Most comments
Thank you for your question about Transit Gateway tagging for cost allocation. I understand you're having some challenges with the results you're seeing. Let me clarify a few points to help you with your tagging strategy.
First, regarding your question about multiple VPC attachments in the shared services account:
If you have multiple VPC attachments in the shared services account (such as Ingress, Inspection, and Egress), you should tag each of these attachments separately. For example:
- Ingress VPC attachment: 'Team:Infra-Ingress'
- Inspection VPC attachment: 'Team:Infra-Inspection'
- Egress VPC attachment: 'Team:Infra-Egress'
This granular tagging will help you better understand and allocate costs for each specific function within your shared services.
Now, to address your second question about the "Transit Gateway resource" in workload accounts:
The "Transit Gateway resource" refers to the Transit Gateway itself as it appears in each workload account. In a multi-account setup using AWS Resource Access Manager (RAM), the Transit Gateway is shared from the central account to the workload accounts. In each workload account, you'll see a read-only representation of the Transit Gateway. This is what you should tag in each workload account.
To clarify the tagging process:
-
In the central/shared services account:
- Tag the Transit Gateway itself
- Tag each VPC attachment (including multiple attachments if present)
-
In each workload account:
- Tag the shared Transit Gateway resource
- Tag the VPC attachment in that account
Regarding the issue you're seeing with 99% of costs showing for the shared account, this could be due to a few factors:
- Ensure that you've activated the tags as cost allocation tags in the AWS Billing Console.
- There might be a delay in seeing the effects of tagging in your cost reports. It can take up to 24 hours for tags to be reflected in billing.
- Double-check that you've tagged both the Transit Gateway resource and the attachments in all accounts correctly.
- Remember that data processing charges are aggregated at the account level, not per attachment. This means that all data processing for VPCs from a single account attached to the same Transit Gateway will be grouped together.
If you're still seeing unexpected results after applying these tagging practices and waiting for the changes to propagate, you may want to consider using AWS Transit Gateway Flow Logs in combination with Cost and Usage Reports for a more detailed breakdown of traffic and costs between accounts.
Remember, effective cost allocation with Transit Gateway requires consistent tagging across all related resources and accounts. It's a powerful tool when set up correctly, but it can take some fine-tuning to get the results you're looking for.
Sources
Analyzing AWS Transit Gateway Data Processing charges with cost allocation tags | Networking & Content Delivery
Organizing and tracking costs using AWS cost allocation tags - AWS Billing
Using AWS Transit Gateway Flow Logs to chargeback data processing costs in a multi-account environment | Networking & Content Delivery
Relevant content
- asked 3 years ago
- asked 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 months ago