Prometheus on Windows Powered by GlobalSolutions
Prometheus is an open-source system monitoring and alerting application. It uses a multi-dimensional data model with time series data identified by metric name and key/value pairs. We have made it easy for our customers to subscribe to our AMI and start collecting metrics right away. We have installed and configured Prometheus, WMI Exporter, and Grafana so you can subscribe and start using them immediately.
Accessing Your AMI from AWS Marketplace
To get started with your Prometheus stack:
- Subscribe: Purchase the Prometheus AMI from the AWS Marketplace.
- Connect via RDP:
- In the AWS Console, select your launched instance and click Connect.
- Choose RDP Client, upload your .pem key file, and decrypt the password using your private key.
- Download the .rdp file and connect using the username Administrator and the decrypted password.
Installation Paths and Versions
All applications are configured as a Windows service and start automatically when the instance launches:
| Application | Location |
|---|---|
| Prometheus | C:\prometheus |
| Prometheus Configuration | C:\prometheus\prometheus.yml |
| Grafana | C:\grafana |
Usage Instructions
We have installed Prometheus, Grafana, and the Windows Node Exporter. This solution helps you get going right away with no time spent installing or configuring applications. All applications have been configured as a service — once you start the instance, all you have to do is open the prometheus.yml file and start adding your targets. As you add targets, metrics will start flowing and you can view them in either Prometheus or Grafana.
Below are key definitions to help you get started:
- Target — The resource you want to monitor.
- Exporter — A Prometheus client that emits metrics as an endpoint to Prometheus.
- prometheus.yml — The configuration file where you specify the targets you want to monitor.
- Grafana — Reads metrics from Prometheus to graph your data.
Pre-configured Dashboard
We have created a dashboard in Grafana to graph metrics from Prometheus and the EC2 instance where Prometheus is running. The Windows Node Exporter is installed on the EC2 instance and emits metrics on port 9182. The following section in prometheus.yml refers to this configuration:
- job_name: 'EC2_Instance'
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'
static_configs:
- targets: ['localhost:9182']
The Grafana Dashboard displays the following metrics for the instance: uptime, CPU, memory, network, disk usage, system load, and more. Using this as a sample, you can install the appropriate exporter for different targets and have Prometheus scrape them.
Accessing Prometheus
Open your browser and navigate to http://localhost:9090 to access the Prometheus query interface directly.
Accessing Grafana
Open your browser and navigate to http://localhost:3000.
| Username | Password |
|---|---|
| admin | admin |
Important: Change the default password immediately after your first login. Then go to Manage Dashboards on the left panel and select Windows Metric Dashboard to view your metrics.
AWS Cost Optimizer — CloudInsider
Our other popular offering is the AWS Cost Optimizer aka CloudInsider, available in AWS Marketplace. This service has helped our customers save significantly on AWS and other cloud spending. It is easy to subscribe and you can see the savings in minutes.
▶ Watch Demo Video Subscribe on AWS Marketplace
Support
For any questions or assistance with our AWS Marketplace offering, reach out to us at support@theglobalsolutions.net.