Overview
This AMI provides a fully managed, secure, and production-optimized Prometheus and Grafana monitoring stack, preconfigured with Docker Compose and Apache. It simplifies deployment, configuration, and security management for modern observability environments.
On first boot, an interactive setup script automates domain mapping, DNS validation, and SSL certificate provisioning via Let's Encrypt Certbot. The stack comes pre-tuned for performance, reliability, and ease of use, featuring an Apache reverse proxy for HTTPS access and centralized environment configuration through an .env file.
Designed for both developers and DevOps engineers, this AMI delivers a ready-to-use monitoring solution ideal for Docker, Kubernetes, or standalone server infrastructures.
Key Features:
Automated installation of Prometheus and Grafana using Docker Compose
SSL/TLS provisioning via Certbot with auto-renewal
Domain mapping and DNS validation through guided first-boot setup
Apache-based secure HTTPS access
Optimized container configuration for production use
Centralized environment file for easy updates and management
Whether you're setting up a new monitoring stack or scaling existing infrastructure, this AMI ensures rapid deployment, strong security, and minimal manual configuration.
Highlights
- Unified Monitoring Stack: Preconfigured Prometheus and Grafana setup with Docker Compose for end-to-end observability out of the box.
- Automated SSL & Domain Mapping: Integrated Let's Encrypt Certbot handles HTTPS configuration and DNS verification seamlessly.
- Production-Ready & Secure: Apache reverse proxy, optimized containers, and centralized .env management ensure a stable and secure monitoring environment.
Details
Unlock automation with AI agent solutions

Features and programs
Financing for AWS Marketplace purchases
Pricing
- ...
Dimension | Cost/hour |
|---|---|
t2.medium Recommended | $0.00 |
t3.micro AWS Free Tier | $0.00 |
m7i.16xlarge | $0.00 |
m6idn.large | $0.00 |
inf1.2xlarge | $0.00 |
m8i.48xlarge | $0.00 |
c3.2xlarge | $0.00 |
x1.32xlarge | $0.00 |
c7i.metal-48xl | $0.00 |
m5d.24xlarge | $0.00 |
Vendor refund policy
This product is currently offered free of charge on AWS Marketplace. Since there are no fees associated with the use of this AMI, refunds are not applicable.
Buyers may cancel use of the product at any time by terminating the associated Amazon EC2 instance.
For any questions or concerns, please contact: Perimattic.com Email: aws@perimattic.comÂ
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
-
Unified Monitoring Stack: Preconfigured environment with Prometheus, Grafana, and Apache, deployed via Docker Compose for seamless observability and visualization.
-
Guided First-Boot Script: Interactive setup script for domain mapping, SSL configuration, and initial deployment, including input validation, DNS verification, and failsafe retry logic.
-
Automated SSL/TLS Provisioning: Integrated with Let's Encrypt and Certbot to automatically issue and configure SSL certificates for secure HTTPS access.
-
Secure Configuration Management: Centralized .env file securely stores domain, IP address, port configuration, and Grafana admin credentials for easy management and future updates.
-
Failsafe Initialization: Built-in failsafe mechanism ensures setup completion by automatically retrying interrupted or failed installation steps for both Prometheus and Grafana.
-
Optimized Container Architecture: Docker Compose-based deployment ensures portability, isolation, and performance optimization for production-ready monitoring.
-
Apache Virtual Host Automation: Automatically configures Apache virtual hosts and updates domain details for HTTP and HTTPS access for both services.
-
Custom Domain Support: Simplified domain configuration process with DNS propagation checks before SSL issuance.
-
Preconfigured Grafana Data Source: Grafana is ready to connect to Prometheus out-of-the-box, minimizing manual configuration.
-
Production-Ready Monitoring: Tuned Prometheus and Grafana setup is ideal for monitoring infrastructure, Docker, Kubernetes, or standalone environments with minimal overhead.
-
Secure Access Options: Easily extendable to enable Basic Authentication or other access controls for Grafana and Prometheus dashboards.
Additional details
Usage instructions
-
Launch an Instance
From AWS Marketplace, click Continue to Subscribe and then Continue to Configuration.
-
Choose the Recommended Instance Type
Select t2.medium or larger for optimal performance.
-
Configure Security Group
Allow inbound traffic on ports 22 (SSH), 80 (HTTP), and 443 (HTTPS).
-
Connect to the Instance
ssh -i <your-key.pem> ubuntu@<public-ip>
-
First-Boot Setup
On first boot, the failsafe script automatically runs and performs:
- Prompts to optionally map a custom domain for Grafana and/or Prometheus.
- Validates that the domain's DNS A record points to your instance's public IP.
- Configures Apache and prepares the environment for both services.
-
Configure DNS (if using a domain)
- Add an A record in your DNS pointing to the instance's public IP.
- The script automatically verifies DNS propagation using multiple global resolvers.
-
Automatic SSL Setup
- Enter your email address when prompted for SSL notifications.
- Certbot automatically issues and installs Let's Encrypt SSL certificates once DNS is validated.
- Apache is reconfigured to serve both Grafana and Prometheus securely over HTTPS.
-
Start Monitoring Stack
Both Prometheus and Grafana containers start automatically using Docker Compose. You can manually check or restart the containers:
cd /opt/app docker compose ps docker compose restart
-
Access Dashboards
-
Prometheus:
- If no domain: http://<public-ip>:9090
- If domain with SSL: https://<your-domain>
-
Grafana:
- If no domain: http://<public-ip>:3000
- If domain with SSL: https://<your-domain>
-
-
Login to Grafana
Use the admin credentials stored in the environment file:
/opt/app/.env
Default username: root Password: (auto-generated and saved securely in .env)
-
Environment File
Centralized configuration for both Prometheus and Grafana:
/opt/app/.env
/opt/app/promethesu/.env
Includes: domain, IP addresses, ports, and Grafana admin credentials.
Support
Vendor support
For any assistance or inquiries, our dedicated support team is here to help 24/7. Feel free to reach out to us anytime.
Email: support@cro-digital.co.ukÂ
We are committed to providing timely and effective solutions to meet your needs.
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.