Skip to content

Find and reduce unexpected Amazon CloudWatch costs from API requests and custom metrics

7 minute read
Content level: Advanced
0

Amazon CloudWatch cost can grow quietly into a large share of the bill, and the drivers are rarely obvious: high-volume metric API requests, too many custom metrics, or verbose log ingestion, often from an agent or a third-party tool. This article shows how to find what drives your CloudWatch spend by usage type in Cost Explorer and reduce it at the source, using billing and configuration data only.

CloudWatch spend almost always traces back to a few specific features rather than the service as a whole, and each feature has its own cost driver and its own fix. Rather than guessing, the fastest and safest approach is to let the billing data tell you where the money goes, confirm that the usage is genuinely unnecessary, and then reduce it at the source. Every step below reads only billing and configuration data, so none of it affects your running workloads or your monitoring coverage.

1. See the trend and the split by feature

Start from the bill, not from assumptions. Open AWS Cost Explorer, under Filters set Service to CloudWatch, set the time range to the last 3 months, and set Group by to Usage Type. The 3-month window matters: it tells you whether the cost is a recent spike (which points to a change you can trace to a date) or a long-standing steady state (which usually means an inefficiency that has been quietly billing for months). This first view shows which one or two features dominate your CloudWatch cost, so you can focus your effort where it actually pays off. For the full cost-analysis method and the meaning of every usage type, see Analyzing, optimizing, and reducing CloudWatch costs.

2. Translate the usage types into features

The UsageType string is how CloudWatch tells you which feature generated the charge. It is formatted as Region-CW:Feature (for example, USE1-CW:GMD-Metrics), so read the suffix to identify the feature. The most common cost drivers are:

  • MetricMonitorUsage — custom metrics, detailed monitoring, and embedded metrics. This is the usual driver when an agent or a monitoring tool publishes many metrics.
  • CW:Requests — general metric API calls such as PutMetricData, GetMetricStatistics, ListMetrics, and dashboard APIs. Only these Requests-type calls count against the AWS Free Tier; other API usage types are billed from the first call.
  • GMD-Metrics — GetMetricData bulk requests, very frequently generated by third-party monitoring and observability tools that poll your metrics.
  • DataProcessing-Bytes — CloudWatch Logs ingestion (the volume of log data written). TimedStorage-ByteHrs — the ongoing storage of those logs.
  • AlarmMonitorUsage — metric alarms. Each alarm is billed based on the metric it monitors, so multiple alarms on the same metric each incur a charge. DashboardsUsageHour — dashboards.

Mapping your top usage types to this list turns an opaque bill into a short, prioritized list of things to fix. The complete usage-type reference is in Analyzing, optimizing, and reducing CloudWatch costs, and per-feature rates are on the Amazon CloudWatch pricing page.

3. Pinpoint the exact API calls and sources

Once you know the dominant usage type, re-group the same Cost Explorer view by API Operation to see which specific calls cost the most, and add a Region grouping if your workloads span Regions. This is what separates "CloudWatch is expensive" from an actionable finding: for example, a high GMD-Metrics value grouped by API Operation confirms GetMetricData polling (typically an external tool), while a high CW:Requests value driven by PutMetricData points at your own application or agent publishing metrics. For a step-by-step walkthrough of isolating drivers across Regions, see How do I identify and reduce unexpected CloudWatch charges across Regions?.

4. Reduce metric API-request cost

If CW:Requests or GMD-Metrics is a top driver, reduce the volume of calls rather than the monitoring itself:

  • Batch multiple PutMetricData requests into a single call, and pre-aggregate data points into a StatisticSet (min, max, sum, sample count) instead of sending one call per data point. This can collapse thousands of calls into a few.
  • Make ListMetrics and dashboard calls from the console rather than the CLI or an SDK where possible, which avoids the per-request API charge for those calls.
  • Remember that GetMetricData and GetMetricWidgetImage are not included in the AWS Free Tier, so third-party tools that poll them bill from the first call. Configure those tools to retrieve only the metrics you actively use, or move them to CloudWatch metric streams and compare which is cheaper for your volume.

The API-optimization best practices are detailed in How do I reduce and prevent CloudWatch charges?, and the streaming alternative is described in Using metric streams.

5. Reduce custom-metrics cost

If MetricMonitorUsage dominates, the fix is to reduce how many custom metrics you publish and how often. First identify the source, because custom metrics commonly come from the CloudWatch agent, Container Insights, or detailed monitoring rather than from your application directly. To list only custom metrics in the CloudWatch console, enter NOT AWS in the metric search box. Then:

  • Turn off detailed monitoring on resources where standard (5-minute) monitoring is sufficient.
  • Remove metrics and dimensions you do not actually use in dashboards, alarms, or investigations. Every unique metric-plus-dimension combination is billed separately, so trimming dimensions has a large effect.
  • Keep metrics at standard resolution unless you genuinely need 1-second high resolution, which costs more.

For a structured approach to finding and trimming custom-metric sources, see How can I manage and optimize CloudWatch custom metrics to control costs?.

6. Reduce logs cost when logs drive the spend

If DataProcessing-Bytes (ingestion) or TimedStorage-ByteHrs (storage) is high, act on both the volume you ingest and how long you keep it:

  • Lower the log level and stop ingesting logs you do not need. Verbose debug logging left on in production is a frequent, avoidable cost.
  • Set a retention policy on each log group so data ages out automatically instead of being stored indefinitely at the default "never expire."
  • For data you must keep long-term, export it to Amazon S3 (optionally with a lifecycle policy to Glacier), which is generally cheaper than retaining it in CloudWatch Logs.

Guidance on identifying and reducing log charges is in How do I reduce and prevent CloudWatch charges?.

7. Confirm the usage is unnecessary, then validate the savings

Before you disable anything, confirm the metric, log, or API call is genuinely unused, because a large share of CloudWatch overspend traces back to over-instrumentation by a partner or tool rather than a deliberate need. Check whether the metric feeds a dashboard or alarm, and whether the logs are queried, before turning them off. Then make the change durable and measurable: turn on a billing alarm so a future spike is caught early (see Amazon CloudWatch pricing to model the expected cost), and after a full billing cycle re-run the same Cost Explorer view from step 1 to confirm the reduction actually landed and stayed.

In summary

CloudWatch is rarely expensive by nature; a few high-volume features usually drive the cost. Once you let Cost Explorer show you which usage types dominate, the fix is almost always the same pattern: trim what you don't use, batch or stream what you do, and keep a billing alarm watching for the next surprise. A short, data-driven review like this often turns a top-five line item back into a rounding error, with your monitoring fully intact.