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 年前檢視次數 2688 次
2 個答案
2
已接受的答案

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
已回答 2 年前
profile picture
專家
已審閱 1 個月前
  • 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
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南