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; storage and querying of metrics are free. There will be a second release of AMP preview on March 15, 2021, at which point preview customers will be charged for stored and 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. 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 for 90 days (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 100 Prometheus metrics per node collected every 60 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 44.64 million samples (10 nodes * 100 metrics per node / 60 collection interval in seconds * 3,600 seconds in an hour * 744 hours in a month = 10 * 100/60 * 3,600 * 744 = 44.64 million samples).
The monthly metrics ingested costs is $8.93 ($0.002/10,000 for the first 2 billion metric samples * 44.64 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 = (100 metrics * 20 labels * 100 label values * 30 bytes * ~30 days per month) + (2 bytes * 44.64 million samples) = 180 million bytes + 89.28 million bytes = 91.08 million bytes = 0.25 GB).
The storage charge is $0.01 ($0.03/GB * 0.25 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, we will 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: $8.93 ($0.002/10,000 * 44.64 million samples)
- Storage costs: $0.01 ($0.03/GB * 0.25 GB)
- Query costs: $3.07 ($0.142/minute * 21.6 minutes)
Total Amazon Managed Service for Prometheus Monthly charges = $8.93 (metric ingestion) + $0.01 (storage) + $3.07 (query) = $12.01
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.