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,
Relevant questions
RDS DB migrations using ECS and Fargate
asked 2 years agoOverriding Hostname on ECS Fargate
Accepted Answerasked 5 months agoCost explorer boto3 cost and usage without specific tag
asked 6 months agoUse API Gateway to run a Fargate task and then terminate that pod upon completion
asked 3 months agoAWS Cost Explorer Tags Not Showing All CloudFormation Stacks
asked 3 months agoFargate: how to stop task after finishing
Accepted Answerasked 5 months agocost explorer for August not showing costs by tags
asked 2 years agoHow to tag unlimited CpuCredits for Cost Explorer?
asked 4 months agoFargate cost allocation tags not showing up in cost explorer
Accepted Answerasked 19 days agoAccount name changes are not reflected in Cost Explorer
asked 4 months ago