AWS Security ChangesHomeSearch

AWS prometheus documentation change

Service: prometheus · 2026-04-19 · Documentation low

File: prometheus/latest/userguide/obs_accelerator.md

Summary

Updated documentation to introduce two collector profiles for AWS Observability Accelerator: managed metrics (agentless) using Amazon Managed Service for Prometheus collector and self-managed OpenTelemetry Collector. Added detailed setup instructions, prerequisites, and resource creation details for both options.

Security assessment

The changes are documentation updates introducing new deployment options and clarifying existing ones. There is no mention of security vulnerabilities, incidents, or patches. The addition of security group configuration for the scraper is a standard networking requirement, not a security fix. The changes are feature-focused, describing different observability collection methods without addressing security weaknesses.

Diff

diff --git a/prometheus/latest/userguide/obs_accelerator.md b/prometheus/latest/userguide/obs_accelerator.md
index 2d67e203f..18a45ced0 100644
--- a//prometheus/latest/userguide/obs_accelerator.md
+++ b//prometheus/latest/userguide/obs_accelerator.md
@@ -7 +7 @@
-PrerequisitesUsing the infrastructure monitoring example
+PrerequisitesUsing the managed metrics (agentless) exampleAlternative: Self-managed OpenTelemetry CollectorViewing dashboards
@@ -13 +13 @@ AWS provides observability tools, including monitoring, logging, alerting, and d
-AWS Observability Accelerator provides examples for monitoring infrastructure, [NGINX](https://nginx.org/en/) deployements, and other scenarios. This section gives an example of monitoring infrastructure within your Amazon EKS cluster.
+AWS Observability Accelerator provides two collector profiles for Amazon Managed Service for Prometheus:
@@ -15 +15,10 @@ AWS Observability Accelerator provides examples for monitoring infrastructure, [
-The Terraform templates and detailed instructions can be found on the [AWS Observability Accelerator for Terraform GitHub page](https://github.com/aws-observability/terraform-aws-observability-accelerator). You can also read the [blog post announcing AWS Observability Accelerator](https://aws.amazon.com/blogs/mt/announcing-aws-observability-accelerator-to-configure-comprehensive-observability-for-amazon-eks/).
+  * **Managed metrics (agentless)** – Uses the [Amazon Managed Service for Prometheus collector](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector.html), a fully managed, agentless scraper that runs outside your cluster. No collector pods to manage. Metrics only.
+
+  * **Self-managed** – Deploys an OpenTelemetry Collector via Helm in your cluster. Supports metrics, traces (AWS X-Ray), and logs (Amazon CloudWatch).
+
+
+
+
+This section walks through both options, starting with the recommended agentless approach.
+
+The Terraform templates and detailed instructions can be found on the [AWS Observability Accelerator for Terraform GitHub page](https://github.com/aws-observability/terraform-aws-observability-accelerator).
@@ -25 +34 @@ To use AWS Observability Accelerator, you must have an existing Amazon EKS clust
-  * [Terraform](https://learn.hashicorp.com/tutorials/terraform/install-cli) – used to automate creation of the resources for this solution. You must have the AWS provider setup with an IAM role that has access to create and manage Amazon Managed Service for Prometheus, Amazon Managed Grafana, and IAM within your AWS account. For more information about how to configure the AWS provider for Terraform, see [AWS provider](https://registry.terraform.io/providers/hashicorp/aws/latest/docs) in the _Terraform documentation_.
+  * [Terraform](https://learn.hashicorp.com/tutorials/terraform/install-cli) (>= 1.5.0) – used to automate creation of the resources for this solution. You must have the AWS provider set up with an IAM role that has access to create and manage Amazon Managed Service for Prometheus, Amazon Managed Grafana, and IAM within your AWS account. For more information about how to configure the AWS provider for Terraform, see [AWS provider](https://registry.terraform.io/providers/hashicorp/aws/latest/docs) in the _Terraform documentation_.
@@ -30 +39 @@ To use AWS Observability Accelerator, you must have an existing Amazon EKS clust
-## Using the infrastructure monitoring example
+## Using the managed metrics (agentless) example
@@ -32 +41 @@ To use AWS Observability Accelerator, you must have an existing Amazon EKS clust
-AWS Observability Accelerator provides example templates that use the included Terraform modules to set up and configure observability for your Amazon EKS cluster. This example demonstrates using AWS Observability Accelerator to set up infrastructure monitoring. For more details about using this template and additional capabilities that it includes, see [Existing Cluster with the AWS Observability Accelerator base and Infrastructure monitoring](https://github.com/aws-observability/terraform-aws-observability-accelerator/tree/main/examples/existing-cluster-with-base-and-infra) page on GitHub.
+This example uses the Amazon Managed Service for Prometheus collector to scrape Prometheus metrics from your Amazon EKS cluster without deploying any collector pods. The collector requires at least two subnets in two distinct Availability Zones. For more details, see the [eks-amp-managed](https://github.com/aws-observability/terraform-aws-observability-accelerator/tree/main/examples/eks-amp-managed) example on GitHub.
@@ -34 +43 @@ AWS Observability Accelerator provides example templates that use the included T
-###### To use the infrastructure monitoring Terraform module
+###### To use the agentless infrastructure monitoring Terraform module
@@ -42 +51 @@ AWS Observability Accelerator provides example templates that use the included T
-        cd examples/existing-cluster-with-base-and-infra
+        cd examples/eks-amp-managed
@@ -46 +55 @@ AWS Observability Accelerator provides example templates that use the included T
-  3. Create a new `terraform.tfvars` file, as in the following example. Use the AWS Region and cluster ID for your Amazon EKS cluster.
+  3. Create a new `terraform.tfvars` file, as in the following example. Use the AWS Region, cluster ID, and VPC networking details for your Amazon EKS cluster. The collector requires at least two subnets in two distinct Availability Zones.
@@ -53,0 +63,6 @@ AWS Observability Accelerator provides example templates that use the included T
+    # (mandatory) Subnets for the managed scraper (>= 2 AZs)
+    scraper_subnet_ids = ["subnet-aaa", "subnet-bbb"]
+    
+    # (mandatory) Security group allowing scraper access to the EKS API
+    scraper_security_group_ids = ["sg-xxx"]
+
@@ -77 +92,51 @@ This will create resources in your AWS account, including the following:
-  * Alert manager configuration, alerts, and rules in your Prometheus workspace.
+  * An Amazon Managed Service for Prometheus collector (agentless scraper) configured to scrape Prometheus metrics from your Amazon EKS cluster.
+
+  * Prometheus recording and alerting rules in your Amazon Managed Service for Prometheus workspace.
+
+  * kube-state-metrics and node-exporter deployed in your Amazon EKS cluster for infrastructure metrics.
+
+  * New Amazon Managed Grafana data source and dashboards in your current workspace. The dashboards will be listed under **EKS Monitoring**.
+
+
+
+
+## Alternative: Self-managed OpenTelemetry Collector
+
+If you need traces, logs, or full control over the collection pipeline, use the self-managed profile. This deploys an OpenTelemetry Collector via Helm in your Amazon EKS cluster, configured to scrape Prometheus metrics and remote-write to Amazon Managed Service for Prometheus. It also supports traces (AWS X-Ray) and logs (Amazon CloudWatch). For more details, see the [eks-amp-otel](https://github.com/aws-observability/terraform-aws-observability-accelerator/tree/main/examples/eks-amp-otel) example on GitHub.
+
+###### To use the self-managed Terraform module
+
+  1. Clone the repo and initialize Terraform.
+    
+        git clone https://github.com/aws-observability/terraform-aws-observability-accelerator.git
+    cd examples/eks-amp-otel
+    terraform init
+
+  2. Create a new `terraform.tfvars` file, as in the following example.
+    
+        # (mandatory) AWS Region where your resources will be located
+    aws_region = "eu-west-1"
+    
+    # (mandatory) EKS Cluster name
+    eks_cluster_id = "my-eks-cluster"
+
+  3. Set up your Amazon Managed Grafana workspace and API key using the same steps as the managed metrics example (steps 4–6 above).
+
+  4. Deploy the solution with the following command.
+    
+        terraform apply -var-file=terraform.tfvars
+
+
+
+
+This will create the following resources in your AWS account (unlike the agentless approach, the collector runs inside your cluster):
+
+  * An Amazon Managed Service for Prometheus workspace (if not provided).
+
+  * An Amazon Managed Grafana workspace with data source and dashboards.
+
+  * An OpenTelemetry Collector deployed via Helm in your Amazon EKS cluster, configured to scrape Prometheus metrics and remote-write to Amazon Managed Service for Prometheus.
+
+  * An IAM role for service accounts (IRSA) for the OpenTelemetry Collector.
+
+  * Traces pipeline to AWS X-Ray (enabled by default).
@@ -79 +144 @@ This will create resources in your AWS account, including the following:
-  * New Amazon Managed Grafana data source and dashboards in your current workspace. The data source will be called `aws-observability-accelerator`. The dashboards will be listed under **Observability Accelerator Dashboards**.
+  * Logs pipeline to Amazon CloudWatch (enabled by default).
@@ -81 +145,0 @@ This will create resources in your AWS account, including the following:
-  * An [AWS Distro for OpenTelemetry](https://aws.amazon.com/otel/) operator set up in the provided Amazon EKS cluster, to send metrics to your Amazon Managed Service for Prometheus workspace.
@@ -84,0 +149 @@ This will create resources in your AWS account, including the following:
+## Viewing dashboards
@@ -86 +151 @@ This will create resources in your AWS account, including the following:
-To view your new dashboards, open the specific dashboard in your Amazon Managed Grafana workspace. For more information about using Amazon Managed Grafana, see [Working in your Grafana workspace](https://docs.aws.amazon.com/grafana/latest/userguide/AMG-working-with-Grafana-workspace.html), in the _Amazon Managed Grafana User Guide_.
+To view your new dashboards, open the specific dashboard in your Amazon Managed Grafana workspace. The infrastructure dashboards are provisioned automatically by Terraform. For more information about using Amazon Managed Grafana, see [Working in your Grafana workspace](https://docs.aws.amazon.com/grafana/latest/userguide/AMG-working-with-Grafana-workspace.html), in the _Amazon Managed Grafana User Guide_.