Fargate cost allocation tags not showing up in cost explorer
I have two issues I'm running into with Fargate billing.
- I have tagged my cluster, and my task definitions using the Tag Editor. Some of the tags have shown up in the Cost allocation tags view within billing, but some have not. Do I need to wait some time for them to show here to be able to activate them?
- I've activated the tags that did show up, but when I look in cost explorer, there are no tags available for partitioning my costs.
Just now I have tagged my ECS Fargate service using my cloud formation template. This isn't possible through the tag editor, so I thought I'd try this and see if that makes a difference. I am aware I need to wait 24 hours for this to show in cost explorer though.
Any ideas on getting these tags to show up in the cost allocation view or cost explorer?
Cluster costs 0$ and so do Task Definitions, so it is expected you won't see any costs for these.
As for your tasks (i.e the Fargate containers), you need to make sure that the tags propagation to the tasks is set to either the service tags or the task definition tags. See https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-propagatetags
Hope this helps,
RDS DB migrations using ECS and Fargateasked 2 years ago
Overriding Hostname on ECS FargateAccepted Answerasked 5 months ago
Cost explorer boto3 cost and usage without specific tagasked 6 months ago
Use API Gateway to run a Fargate task and then terminate that pod upon completionasked 3 months ago
AWS Cost Explorer Tags Not Showing All CloudFormation Stacksasked 3 months ago
Fargate: how to stop task after finishingAccepted Answerasked 5 months ago
cost explorer for August not showing costs by tagsasked 2 years ago
How to tag unlimited CpuCredits for Cost Explorer?asked 4 months ago
Fargate cost allocation tags not showing up in cost explorerAccepted Answerasked 19 days ago
Account name changes are not reflected in Cost Explorerasked 4 months ago