Overview
This AMI runs Prometheus (metrics), Grafana (dashboards and alerting) and Loki (log aggregation) on Ubuntu 24.04 LTS (64-bit x86). All three start automatically under systemd. Remote servers send metrics through Node Exporter (TCP 9100) and logs through Promtail or another Loki-compatible agent.
Who it is for
- DevOps and SRE engineers at startups and small to mid-sized businesses running workloads on EC2.
- Teams that need self-hosted metrics and logs without per-user, per-sample or per-GB fees.
- Organisations that prefer to keep monitoring data inside their own VPC and EBS volumes.
What it does for you
See problems as they happen
Prometheus collects time-series metrics such as CPU, memory, disk and network from every target, so you can spot saturation before users notice it.
Find the cause faster
Grafana Explore shows Loki logs next to Prometheus metrics for the same time range, so you can go from a spike in a graph to the matching log lines without switching tools.
Get alerted before users complain
You can set Prometheus alert rules and Grafana notification channels, such as email or Slack, on thresholds you choose.
Pricing
- Software: $0. There are no hourly, metered or per-user software charges.
- Infrastructure: you pay standard AWS rates for EC2, EBS, data transfer and public IPv4.
- Optional services: paid setup, tuning and SLA-backed support from Meyi Cloud are optional, quoted separately, and not required to use the AMI.
Limits and prerequisites
- Single instance with no high availability by default.
- x86_64 only. t3.medium or larger is recommended.
- Retention depends on your EBS size and Prometheus and Loki retention settings, which you configure.
- You install Node Exporter and Promtail on each monitored server.
- Prometheus (9090) and Loki (3100) have no authentication by default.
Security built in, and how to harden it
- Services run under systemd. SSH uses key pairs only.
- You must change the Grafana admin password at first login.
- Restrict TCP 22, 3000, 9090 and 3100 to your admin IP or VPC CIDR. Never open them to 0.0.0.0/0.
- Keep 9090 and 3100 private. Only Grafana (3000) should be reachable by users, ideally behind an ALB or Nginx with HTTPS.
- Enable EBS encryption and CloudTrail, and use MFA on AWS accounts.
Support
- Standard (included): email support@meyicloud.com , Monday to Friday, 9:00 AM to 6:00 PM IST. Response targets: critical , standard.
- Extended or SLA-backed: available on request [CONFIRM terms].
About Meyi Cloud
Meyi Cloud is an AWS Advanced Tier Services Partner with the AWS Cloud Operations Services Competency and the AWS Small and Medium Business (SMB) Services Competency. Based in Puducherry, India, it provides managed cloud services, migration, DevOps and consulting.
Get started
Email support@meyicloud.com for a free 30-minute setup consultation covering target onboarding
Highlights
- Pre-wired and ready, unlike installing it yourself. Prometheus, Grafana and Loki are installed as systemd services, and Prometheus and Loki are already added as Grafana data sources. Grafana opens on first boot. You only add your servers as targets.
- Advanced Grafana dashboards and visualization: Build intuitive dashboards with charts, alerts, and multi-source integrations to accelerate troubleshooting and system insight.
- Proactive alerting and notifications: Configure Prometheus alert rules and Grafana notification channels to detect issues early, reduce MTTR, and maintain high operational reliability.
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
Vendor refund policy
Refunds follow AWS Marketplace terms. We offer refunds within 7 days of first subscription if the product does not function as described and our support cannot resolve the issue. To request a refund, contact support@meyicloud.com with your AWS account ID and order ID.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Initial release of the Prometheus, Grafana, and Loki monitoring and log aggregation solution on Ubuntu. This version includes Prometheus for metrics collection, Grafana for visualization and dashboards, and Loki for centralized log aggregation.
Additional details
Usage instructions
Usage Instructions
This AMI provides a pre-configured monitoring and log aggregation solution with Prometheus, Grafana, and Loki on Ubuntu. It is designed to act as a central monitoring server for other systems.
- Launch and Connect
Launch an EC2 instance from this AMI using a supported instance type. The recommended instance type is t3.medium or larger.
The default SSH user is:
ubuntu
Connect using the key pair selected during launch:
ssh -i <your-key.pem> ubuntu@<PUBLIC_IP>
- Configure Security Group Access
Allow only the network access required for your environment:
- TCP 22: SSH
- TCP 3000: Grafana
- TCP 9090: Prometheus
- TCP 3100: Loki
Restrict these ports to trusted IP addresses, VPC CIDR ranges, VPN networks, or authorized systems. Do not expose monitoring services to 0.0.0.0/0 unless protected by appropriate security controls.
- Access Grafana
Open:
http://<PUBLIC_IP>:3000
Default login:
Username: admin Password: admin
Change the default administrator password immediately after the first login.
Grafana provides dashboards for visualizing Prometheus metrics and exploring logs stored in Loki.
- Access Prometheus
Open:
http://<PUBLIC_IP>:9090
Prometheus collects and stores time-series metrics from configured remote monitoring targets.
- Configure Remote Servers for Metrics
Install and run Node Exporter on each Linux server you want to monitor. Node Exporter typically listens on TCP port 9100.
On the monitoring instance, edit:
sudo nano /etc/prometheus/prometheus.yml
Add the target servers under scrape_configs:
- job_name: 'servers'
static_configs:
- targets: ['10.0.0.11:9100', '10.0.0.12:9100']
Replace the example addresses with reachable IP addresses or hostnames.
Restart Prometheus:
sudo systemctl restart prometheus
Check the configured targets at:
http://<PUBLIC_IP>:9090/targets
Ensure that the target servers show an UP status.
- Configure Remote Servers for Logs
Install and configure Promtail or another compatible log collection agent on each remote server.
Configure the agent to send logs to:
http://<MONITORING_INSTANCE_IP>:3100/loki/api/v1/push
Where possible, use private VPC networking.
Logs can be queried in:
Grafana > Explore > Loki
- Verify Services
Connect to the instance through SSH and run:
sudo systemctl is-active prometheus sudo systemctl is-active grafana-server sudo systemctl is-active loki
Each service should return:
active
Verify Prometheus:
curl http://localhost:9090/-/ready
Verify Loki:
curl http://localhost:3100/ready
- Security and Operational Notes
- Change the default Grafana administrator password immediately.
- Restrict ports 22, 3000, 9090, 3100, and remote exporter ports to trusted sources.
- Prometheus and Loki do not have authentication enabled by default.
- Use private networking whenever possible.
- Consider placing Grafana behind a reverse proxy or load balancer with HTTPS/TLS for production use.
- Configure storage capacity, data retention, backups, and recovery according to your requirements.
Remote servers are not monitored automatically. Each target server must be configured with Node Exporter or another Prometheus-compatible exporter for metrics and Promtail or another compatible agent for logs.
This is a single-instance deployment and does not provide high availability by default.
Support
Vendor support
Meyi Cloud is an AWS Advanced Tier Services Partner holding the AWS Cloud Operations Services Competency and the AWS Small and Medium Business (SMB) Services Competency.
How to reach us
- Email: support@meyicloud.com
- Hours: Monday to Friday, 9:00 AM to 6:00 PM IST (UTC+5:30), excluding Indian public holidays
- Please include: AWS account ID, AWS Region, EC2 instance ID, AMI version, a description of the issue, and any relevant output from: sudo systemctl status prometheus grafana-server loki
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.