How to inactivate Cloudwatch GetMetricData API?

0

I am deleting the resources created in my account. I checked that the cost is being incurred because of the GetMetricData API in cloudwatch. I found various information, but I don't know how to inactivate the cost of the GetMetricData API. Does it just automatically delete resources if I delete an account? Please let me know how I can delete the CW getdatametic API. Thanks always.

已提问 1 个月前164 查看次数
2 回答
0

Hi,

Are you using any external monitoring tool, like NewRelic, Datadog etc which collects data from CloudWatch? It is one of the most common reasons for this cost.

profile picture
专家
已回答 1 个月前
  • No, there isn't. If I delete an account, will all resources be automatically deleted? If so, I want to choose this method

  • Yes, AWS will delete any content and resources in your account after the post-closure period (90 days).

    You can find more information at the following AWS documentation page.

0

GetMetricData is an API call, and not a resource. You are billed $0.01 per 1000 GetMetricData API calls. If you do not make any GetMetricData (or GetMetricStatists API calls for that matter) you are not billed anything.

You can identify the region and other details of the source of any GetMetricData calls in Cost Explorer in your billing console by filtering for CloudWatch in the Services filter and grouping by Usage Type. Cloudwatch Billing gives more information on understanding and finding the source of your Cloudwatch bills.

Lastly, any custom metrics you make, will auto-disappear from your console after 14 days if you no longer put data into them - and billing for them will stop once you no longer put data into them with any of the PutMetricData calls. Metric data however is retained for a period of 15 months. You are not charged for data retention in a Cloudwatch metric.

If you want to suspend your account - then all billing will cease immediately on suspension (with the exception of platform commitments that you may have purchased, such as reserved instances that are partial or no upfront). To suspend, and close your AWS account you can follow the process documented here: https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-closing.html

AWS
专家
已回答 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容