Install and upgrade the Amazon Managed Service for Prometheus data source plugin
This document covers how to install, upgrade, and verify the Amazon Managed Service for Prometheus data source plugin across different Grafana deployment environments. After the plugin is installed, refer to Configure the Amazon Managed Service for Prometheus data source to set up a connection.
Before you begin
Verify the following requirements before installing:
Install the plugin
The Amazon Managed Service for Prometheus plugin is a signed plugin available in the Grafana plugin catalog on all Grafana Cloud plans and self-managed Grafana. Choose the installation method that matches your Grafana deployment.
Grafana Cloud
To install the plugin on Grafana Cloud:
- In your Grafana Cloud instance, navigate to Administration > Plugins and data > Plugins.
- Search for Amazon Managed Service for Prometheus and click Install.
Plugins are automatically updated on Grafana Cloud, so no further action is required to stay current.
Note
SigV4 authentication must be enabled for your Grafana Cloud instance before you can configure the data source. If the SigV4 auth option is missing from the authentication drop-down, contact Grafana Support. For more information, refer to Troubleshooting.
Self-managed Grafana (CLI)
Install the plugin with the Grafana CLI:
grafana cli plugins install grafana-amazonprometheus-datasourceRestart Grafana after installation:
sudo systemctl restart grafana-serverDocker
Set the GF_INSTALL_PLUGINS environment variable:
environment:
- GF_INSTALL_PLUGINS=grafana-amazonprometheus-datasourceKubernetes (Helm chart)
Add the plugin to your Helm values:
plugins:
- grafana-amazonprometheus-datasourceOr use the GF_INSTALL_PLUGINS environment variable in your deployment spec:
env:
- name: GF_INSTALL_PLUGINS
value: "grafana-amazonprometheus-datasource"Kubernetes (init container)
If you don’t control the Helm chart, for example on a shared platform cluster, use an init container to download the plugin before Grafana starts:
initContainers:
- name: install-plugins
image: curlimages/curl:latest
command:
- sh
- -c
- |
curl -sL https://grafana.com/api/plugins/grafana-amazonprometheus-datasource/versions/latest/download \
-o /plugins/grafana-amazonprometheus-datasource.zip && \
unzip /plugins/grafana-amazonprometheus-datasource.zip -d /plugins/
volumeMounts:
- name: plugins
mountPath: /pluginsMount the same volume at /var/lib/grafana/plugins in the Grafana container.
Air-gapped (offline) installation
For environments without internet access:
Download the plugin ZIP from the Grafana plugin catalog on a machine with internet access.
Transfer the ZIP to the Grafana server.
Extract the ZIP to the plugins directory:
unzip grafana-amazonprometheus-datasource-<version>.linux_amd64.zip -d /var/lib/grafana/plugins/Set ownership:
chown -R grafana:grafana /var/lib/grafana/plugins/grafana-amazonprometheus-datasourceRestart Grafana.
If Grafana reports an “unsigned plugin” error, add the following to grafana.ini:
[plugins]
allow_loading_unsigned_plugins = grafana-amazonprometheus-datasourceCaution
Only allow unsigned plugins if you trust the source of the ZIP file. Official downloads from grafana.com are signed.
Verify the installation
After installing, confirm the plugin is loaded:
- Navigate to Administration > Plugins and data > Plugins.
- Search for Amazon Managed Service for Prometheus and verify the plugin appears with a status of Installed.
- Navigate to Connections > Add new connection and search for Amazon Managed Service for Prometheus to confirm it’s available as a data source.
- If the plugin doesn’t appear, check the Grafana server logs for errors and refer to Troubleshoot installation issues.
Upgrade the plugin
Upgrade steps depend on your Grafana deployment environment.
Grafana Cloud
Plugins are automatically updated on Grafana Cloud. No manual action is required. If you experience issues after an automatic update, contact Grafana Support.
Self-managed Grafana
To upgrade a self-managed installation:
Update the plugin:
grafana cli plugins update grafana-amazonprometheus-datasourceRestart Grafana.
Verify each data source connection with Save & test.
To install a specific version:
grafana cli plugins install grafana-amazonprometheus-datasource <version>For Docker or Kubernetes, append the version to the plugin name:
environment:
- GF_INSTALL_PLUGINS=grafana-amazonprometheus-datasource <version>Roll back to a previous version
If an upgrade causes issues on a self-managed instance, pin a specific plugin version:
grafana cli plugins install grafana-amazonprometheus-datasource 2.4.0Restart Grafana after the rollback.
Note
Rollback isn’t available on Grafana Cloud. If you experience issues after an automatic update, contact Grafana Support.
Uninstall the plugin
To remove the plugin from a self-managed Grafana instance:
grafana cli plugins remove grafana-amazonprometheus-datasourceRestart Grafana after uninstalling. Existing data source configurations are preserved in the Grafana database but become non-functional until the plugin is reinstalled.
For Docker or Kubernetes, remove grafana-amazonprometheus-datasource from the GF_INSTALL_PLUGINS variable and redeploy.
Troubleshoot installation issues
The following sections address common installation problems.
“Plugin not found” or install button missing
This problem usually means your Grafana instance can’t reach the plugin catalog.
Solutions:
- Grafana Cloud: Confirm your instance has finished provisioning and try the search again. If the plugin still doesn’t appear, contact Grafana Support.
- Self-managed: Verify the Grafana server has outbound access to
grafana.com. For environments without internet access, use the air-gapped installation method.
“Unsigned plugin” error (air-gapped installs)
This error means Grafana installed the plugin from a ZIP file and can’t verify its signature.
Solutions:
- Ensure you downloaded the ZIP from the official Grafana plugin catalog. Official downloads are signed.
- If the error persists, add
allow_loading_unsigned_plugins = grafana-amazonprometheus-datasourcetografana.iniunder[plugins]. - Restart Grafana.


