Fargate cost allocation tags not showing up in cost explorer

0

I have two issues I'm running into with Fargate billing.

  1. 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?
  2. 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?

2 Answers
2
Accepted Answer

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,

profile picture
answered 2 years ago
  • I believe you may also have to wait until the next month for the costs to show up. I added the tag propagation to my Terraform a few days ago, and validated that I can see the tags on the individual tasks, but still nothing in Cost Explorer.

    I think it may be because Cost Explorer only shows previous months, and anything during the current month is considered an estimated cost.

1
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions