2023-10-07|閱讀時間 ‧ 約 1 分鐘

AWS ECS Fargate 需要 Tag 標籤(工作日常)


由於客戶需要透過  Cost Explorer 來監控 ECS Fargate tasks 成本,ECS 設置需要的 Tag 標籤, AWS Billing (Cost allocation tags)啟用 Tag 後,還是沒出現。


原因是,ECS Cluster 本生沒有產生費用,故才未顯示,需要開起 "Propagate tags" 這樣 tasks 才會帶上 Tag 標籤。


跟改設定流程

  1. 先不要刪除原本 Services
  2. Create new task definition 增加需要的 Tags
  3. Create 新 Service,把最底下 Tags > Propagate tags from 選 Task definitions or Service


  1. 確定沒問題再把原本 Services 刪除
分享至
成為作者繼續創作的動力吧!
嗨嗨 https://www.linkedin.com/in/puff666/
從 Google News 追蹤更多 vocus 的最新精選內容從 Google News 追蹤更多 vocus 的最新精選內容

發表回應

成為會員 後即可發表留言
© 2024 vocus All rights reserved.