With Amazon Managed Service for Prometheus, there are no upfront fees or commitments. You pay only for what you use, based on metrics ingested, queried, and stored. You will be charged at the end of the month for your usage.
AMP is currently in preview, which means that you will only be charged for usage of metrics ingested and stored; querying of metrics is currently free. When we announce our General Availability release of AMP, customers will be charged for queried metrics according to the pricing table below. The preview is open to all AWS accounts and you do not need to request access. Please note that features may be added or changed before announcing General Availability.
AMP counts each metric sample ingested to the secured Prometheus-compatible endpoint. AMP also calculates the stored metric samples and metric metadata in gigabytes (GB), where 1GB is 230 bytes. The storage charge is determined by the Prometheus metrics samples (typically 1 or 2 bytes) and metadata. The Prometheus metric metadata varies in size based on the name of the metric and its associated labels (key/value pairs). Charges for metrics ingested and stored are prorated by the hour and billed only when you send metrics to AMP, measured using gigabyte-month (GB-Mo). Note that there is no Data Transfer IN charge for AMP.
AMP calculates the query execution time of all query requests to the secured Prometheus-compatible endpoint. The charges for metrics queried are prorated by the minute and billed only when you query metrics. A Query Processing Minute (QPM) is the total execution time across all queries. QPM charges will be incurred for the seconds of usage in that minute.
Except as otherwise noted, our prices are exclusive of applicable taxes and duties, including VAT, GST, and applicable sales tax.
AWS Free Tier
As part of the AWS Free Tier, you can get started with AMP for free (in supported AWS Regions). Free Tier customers receive:
|Metric samples ingested||40 M|
|Sum of query execution time||60 min|
|Metrics stored||10 GB|
Learn more about AWS Free Tier here.
Note: Pricing values displayed here are meant to be examples only.
Example 1 - Amazon Elastic Kubernetes Service (EKS) on EC2 and Kubernetes
In this example you are monitoring 1 Kubernetes cluster with 10 nodes with 1000 Prometheus metrics per node collected every 30 seconds for the entire month (744 hours). The following usage and costs will be calculated 1) metric sample ingestion, 2) storage, and 3) query.
Metric sample ingestion usage and costs
First, we will calculate the number of metric samples ingested and the costs for these samples. The monthly number of samples ingested is 892.8 million samples (10 nodes * 1000 metrics per node / 30 collection interval in seconds * 3,600 seconds in an hour * 744 hours in a month = 10 * 100/60 * 3,600 * 744 = 892.8 million samples).
The monthly metrics ingested costs is $80.93 ($0.90/10,000,000 for the first 2 billion metric samples * 892.8 million samples).
Storage usage and costs
Second, we will calculate the storage in GB and the costs for the metric samples and metric metadata stored. For this example, we will assume that you have 20 labels per metrics with 100 unique label values per label. The metadata including the metric name, labels, and label values are stored daily. We will also assume an average of 30 bytes per label and label value and 2 bytes per metric sample ingested.
The monthly GB of storage is 0.25 GB (metric metadata * # of days per month) + (2 bytes * number of metric samples = (1000 metrics * 20 labels * 100 label values * 30 bytes * ~30 days per month) + (2 bytes * 892.8 million samples) = 1800 million bytes + 1,785.6 million bytes = 3,585.6 million bytes = 3.34 GB).
The storage charge is $0.10 ($0.03/GB * 3.34 GB).
Query usage and costs
We will now calculate the query execution time and query costs for this example. We will assume you have 1 end user monitoring a dashboard for an average of 2 hours per day refreshing it every 60 seconds with 20 chart widgets per dashboard (assuming 1 PromQL query per widget). The average execution time of a query is 10 to 300ms but for monitoring use cases execution times are typically faster. Therefore, queries for the last 24 hours of metric samples the execution time will be faster. We will assume 18ms per query for this example.
First, start by calculating the count of queries per month which is 72,000 queries (1 end user * 20 charts * 2 hours of viewing a dashboard * 3,600 seconds per hour / 60 seconds per dashboard refresh * ~30 days in a month).
Second, we calculate the query execution time in minutes per month which is 21.6 minutes (72,000 queries * 18ms / 1000 ms in a second / 60 seconds in a minute)
We can now calculate the query charge of $3.07 ($0.142/minute * 21.6 minutes).
We can now calculate your monthly costs for this example:
- Metric ingestion costs: $80.93 ($0.90/10M * 892.8 million samples)
- Storage costs: $0.10 ($0.03/GB * 3.34 GB)
- Query costs: $3.07 ($0.142/minute * 21.6 minutes)
Total AMP Monthly charges = $80.93 (metric ingestion) + $0.10 (storage) + $3.07 (query) = $84.10
Find answers to frequently asked questions for Amazon Managed Service for Prometheus.
Instantly get access to the AWS Free Tier.
Get started building with Amazon Managed Service for Prometheus in the AWS Management Console.