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回答
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン