Skip to main content

Command Palette

Search for a command to run...

Amazon Managed Service for Prometheus

Updated
โ€ข4 min read
S

Having 16+ years of professional experience in IT with Masters education (MCA).

Working as Enterprise Architect \ Senior Manager - Hybrid Cloud, Security, Data & AI.

Helping customers with Implementation & Cloud Migration - Fintech

๐๐ซ๐จ๐Ÿ๐ž๐ฌ๐ฌ๐ข๐จ๐ง๐š๐ฅ ๐‚๐ž๐ซ๐ญ๐ข๐Ÿ๐ข๐œ๐š๐ญ๐ข๐จ๐ง๐ฌ:

๐€๐–๐’ ๐’๐จ๐ฅ๐ฎ๐ญ๐ข๐จ๐ง๐ฌ ๐€๐ซ๐œ๐ก๐ข๐ญ๐ž๐œ๐ญ ๐€๐ฌ๐ฌ๐จ๐œ๐ข๐š๐ญ๐ž / Microsoft Azure / Oracle Cloud Associate) / Certified Agile Service Manager / Prince 2 Certified

๐“๐ž๐œ๐ก๐ง๐ข๐œ๐š๐ฅ ๐’๐ค๐ข๐ฅ๐ฅ๐ฌ

โ€ข Cloud (AWS, Google Cloud, Microsoft Azure and Oracle Cloud), Automation & DevOps โ€ข Citrix โ€“ XenApp & XenDesktop, VMWare, HyperV, Windows, Active Directory, SCCM, SCOM โ€ข Power BI, Tableau โ€ข Atlassian tools (JIRA, Confluence), ServiceNow and Remedy โ€ข Agile Service Delivery, Stakeholder Management, ITSM, Project Management, Scrum

Having domain experience in Financial Services, Utilities, Oil and Gas, Telecommunications, Healthcare, Pharma, Industrial, E & U, Public Sector engagements.

Roles Performed: Solutions Architect / Technical Architect, Infra Lead, Tower Lead - Wintel

blogs: https://blog.cloudnloud.com/series/awscloudglance Profile: https://github.com/sraddepalli LinkedIn: https://www.linkedin.com/in/sraddepalli/

Why do we use Amazon Managed Service for Prometheus (AMP)

Amazon Managed Service for Prometheus (AMP) is a serverless, Prometheus-compatible monitoring service for container metrics. It securely monitors and alerts on container environments.

AMP is a solution for monitoring containers based on the popular Cloud Native Computing Foundation (CNCF) Prometheus project.

Amazon Managed Service for Prometheus reduces the heavy lifting required to get started with monitoring applications across Amazon Elastic Kubernetes Service and Amazon Elastic Container Service, as well as self-managed Kubernetes clusters.

Amazon Managed Service for Prometheus automatically scales as our monitoring needs grow. It offers highly available, multi-Availability Zone deployments, and integrates AWS security and compliance capabilities. Amazon Managed Service for Prometheus offers native support for the Prometheus query language (PromQL) as well as over 150+ Prometheus exporters (such as Java/JMX, Apache Kafka, and Redis) maintained by the open-source community.

Amazon Managed Service for Prometheus is powered by Cortex, an open-source CNCF project that adds horizontal scalability to ingest, store, query, and alert on Prometheus metrics.

Metrics ingested into a workspace are stored for 150 days and then automatically deleted.

Why should we use AMP?

We can use Amazon Managed Service for Prometheus if we want a service that is fully compatible with the Prometheus open-source project. We should also choose Amazon Managed Service for Prometheus if we are already running Prometheus and are looking to eliminate that ongoing operational cost while also improving security.

Amazon Managed Service for Prometheus (AMP) is specifically optimized for monitoring container-based workloads. Amazon Managed Service for Prometheus offers a Prometheus-compatible API for ingesting and querying your Prometheus metrics.

Amazon Managed Service for Prometheus is a metric-only service and does not collect logs or distributed trace data. We can export selected CloudWatch metrics to Amazon Managed Service for Prometheus to use PromQL as the common query language for querying and alarming on all your stored metrics.

Features

aws blog3 - image1.PNG

Highly secure, scalable, and available

AMP offers enterprise-ready security and compliance. AMP (Amazon Managed Service for Prometheus) includes built-in support for AWS Identity and Access Management (IAM).

With AWS PrivateLink, we can connect our VPCs to Amazon Managed Service for Prometheus and other services in AWS in a secure and scalable manner.

AMP manages the operational complexity of elastically scaling the ingestion, storage, and querying of metrics.

AMP is highly available and deployed in multiple AWS Regions and across Availability Zones, which are connected with low-latency, high-throughput, and highly redundant networking.

Cost-effective

Pay only for what we use. There are no upfront fees or commitments. We pay only for what we use based on metrics ingested, stored, and queried.

Easy to deploy and manage

We can create an Amazon Managed Service for Prometheus workspace, which is a Prometheus instance, with a few clicks in the AWS console.

Each AMP workspace is automatically deployed across multiple Availability Zones, and is immediately ready to ingest and query metrics. We can quickly enable metric collection in multiple ways.

We can configure AWS Distro for OpenTelemetry to collect metrics from a Prometheus-instrumented application, and send the metrics to Amazon Managed Service for Prometheus.

We can also ingest metrics from Prometheus servers in your Amazon EKS clusters and in self-managed Kubernetes clusters running on Amazon EC2.

Ingest and Collect

Amazon Managed Service for Prometheus includes a remote write-compatible API that can ingest metrics from OpenTelemetry, Prometheus libraries, and existing Prometheus servers.

Metrics can be ingested from any clusters running on AWS and hybrid environments, with on-demand scaling to meet your growing needs. Existing metric collectors such as the OpenTelemetry collector and the Prometheus server can be used to securely remote write Prometheus metrics to Amazon Managed Service for Prometheus from over 150+ third party Exporters such as Java/JMX, Apache Kafka, and Redis.

We can collect Prometheus metrics from Amazon EKS and Amazon ECS by using AWS Distro for OpenTelemetry (ADOT) or Prometheus servers as collection agents.

Monitor and Alert

AMP includes a query-compatible HTTP API that allows us to query metrics, metric labels, metric metadata, and time series metrics.

Tools such as Grafana, an open-source interactive visualization tool for time series data, are commonly used to query and visualize metrics from Prometheus.

Analyze

Prometheus provides a flexible query language called PromQL (Prometheus Query Language) to filter, aggregate, and alarm on metrics and quickly gain performance visibility without any code changes.

Supported Regions

Amazon Managed Service for Prometheus currently supports the following Regions:

โ€ข US East (Ohio)
โ€ข US East (N. Virginia)
โ€ข US West (Oregon)
โ€ข Asia Pacific (Singapore)
โ€ข Asia Pacific (Sydney)
โ€ข Asia Pacific (Tokyo)
โ€ข Europe (Frankfurt)
โ€ข Europe (Ireland)
โ€ข Europe (London)
โ€ข Europe (Stockholm)

References:

https://aws.amazon.com/prometheus/pricing/
https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-onboard-create-workspace.html
https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-onboard-ingest-metrics.html

Create Workspace

https://catalog.workshops.aws/observability/en-US/amp/setup

Ingest metrics from Amazon EKS

https://catalog.workshops.aws/observability/en-US/amp/ingest-metrics

Ingest metrics from Amazon ECS

https://catalog.workshops.aws/observability/en-US/amp/ingest-ecs-metrics

Configure Alert Manager

https://catalog.workshops.aws/observability/en-US/amp/setup-alert-manager

Ingest cost metrics from Kubecost

https://catalog.workshops.aws/observability/en-US/amp/ingest-kubecost-metrics

Community and Social Footprints :

Happy Learning ๐Ÿ“š

Thank you!

More from this blog

Srinivasa Raju Addepalli

11 posts