AWS : How to avoid charges incurred by GetMetricData API in the free tier AWS Budgets Service

Prince Arora
Jun 22, 2021

--

Problem statement:

AWS free tier account bill was showing following charges : $0.01 per 1,000 metrics requested using GetMetricData API

Analysis:
I had created one cost budget in the mumbai region. While configuring the threshold for the budget, I had selected the “Forecasted Cost” option instead of actual cost. Seems selecting the forecasted cost option enabled the CloudWatch Anomaly Detection on the metrics. I could see 2 models under the CallCount metrics for the API resource “GetMetricData”. Anomaly detection was enabled for “sum” and “average” for the CallCount Metric

Action Taken:
Delete the models for both sum and average. Disable the anomaly detection for metric CallCount. Change the threshold for the created budget and configure it to use actual cost instead of forecasted cost for threshold.

Screenshots for the solution:

--

--

Prince Arora
Prince Arora

Written by Prince Arora

IT professional | Technology enthusiast | Cloud | AWS | Docker | Machine Learning

No responses yet