Amazon Managed Service for Prometheus is a fully managed, Prometheus-compatible monitoring service designed to efficiently monitor containerized applications at scale. Built to offer a seamless experience for developers and DevOps engineers who are already familiar with the power and flexibility of Prometheus, this service is optimized for monitoring metrics generated not just from Amazon EC2 instances but also from container services such as Amazon Elastic Kubernetes Service (EKS) and Amazon Elastic Container Service (ECS).
Amazon Managed Service for Prometheus runs as a serverless monitoring service.
The Amazon Managed Service for Prometheus collector is an agentless scraper that automatically discovers and monitors Amazon EKS applications and infrastructure without requiring you to manage Prometheus collection agents.
Prometheus has been the de-facto open-source standard for metric collection and alerting in Kubernetes environments, and by offering a managed service, Amazon brings the reliability and scalability of AWS infrastructure to the Prometheus ecosystem. One of the most significant benefits of using Amazon Managed Service for Prometheus is the reduction of operational complexity. Traditionally, maintaining a Prometheus setup involves configuring the Prometheus server, setting up storage, scaling the infrastructure to accommodate an increasing amount of metrics, and managing data retention policies. This service abstracts these complexities, allowing users to focus on defining metrics, setting up alerts, and gaining insights from their application's performance without worrying about the underlying infrastructure.
Workspace metrics are retained for 150 days by default and then automatically deleted. You can configure retention up to 1095 days (three years).
Moreover, Amazon Managed Service for Prometheus is designed to be scalable and secure. It can automatically scale its storage and query processing capabilities to meet the demands of thousands of container instances producing millions of metrics. This scalability is critical for modern applications that can experience variable load and need the monitoring system to adapt quickly. In terms of security, the service integrates with AWS Identity and Access Management (IAM), enabling fine-grained access control policies for different users and applications accessing the metrics data.
Active-series capacity per workspace automatically adjusts from 2 million to 50 million based on the last 30 minutes of usage. The active-series quota is adjustable up to 1.5 billion; a series counts as active when a sample has been reported within the past two hours.
Another notable feature is its compatibility with the Prometheus Query Language (PromQL), which offers users the flexibility to query their metrics in a highly expressive manner without needing to modify their existing dashboards and alerts. This compatibility ensures that teams can migrate to Amazon Managed Service for Prometheus without significant changes to their monitoring configurations.
The service exposes two APIs: an AWS API for managing resources such as workspaces, rule groups, and alert managers, and a Prometheus-compatible API for working within a workspace.
The integration with other AWS services further enhances the value of this managed service. For instance, it can be used alongside Amazon Managed Grafana, a complementary service that provides a powerful visualization tool for metrics, logs, and traces. This integration allows users to create comprehensive dashboards that aggregate and display data from multiple sources, offering a unified view of an application's performance and health.
In summary, Amazon Managed Service for Prometheus brings together the scalability, reliability, and security of AWS with the flexibility and popularity of Prometheus. It addresses the operational challenges of running a Prometheus server at scale while preserving the core functionalities and open-source ethos that have made Prometheus a favorite among developers and operators of containerized applications. Whether you're running a small setup or a large-scale Kubernetes cluster, this service provides a robust solution for monitoring your applications' performance and ensuring they run smoothly.
