Member-only story
Monitoring a Rails app using Prometheus and Grafana — DevOps Project 08
This is me learning and building in public, I have complete 8 DevOps Projects by far, see them all here.
4 min readJun 28, 2024
In this one, we will be using Prometheus and Grafana to monitor our rails application, Geeky.
First: key pair
Press enter or click to view image in full size![]()
2. security groups
Ensure that your security groups allow the necessary traffic between these instances. For example:
- Rails instance: Allow traffic on port 3000 (or whichever port your app is running on).
- Prometheus instance: Allow traffic on port 9090.
- Grafana instance: Allow traffic on port 3000.
- Allow internal communication between these instances on necessary ports.
We will create two security groups:
- app-sg: for rails
- monitoring-sg: for prometheus and grafana
Create instances
Press enter or click to view image in full size![]()
Application prereqs
