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
전문가
검토됨 한 달 전
  • 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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠