Prometheus Installiton..!!
sudo tee /etc/yum.repos.d/prometheus.repo <<EOF
[prometheus]
name=Prometheus
baseurl=https://packagecloud.io/prometheus-rpm/release/el/7/x86_64
repo_gpgcheck=1
enabled=1
gpgkey=https://packagecloud.io/prometheus-rpm/release/gpgkey https://raw.githubusercontent.com/lest/prometheus-rpm/master/RPM-GPG-KEY-prometheus-rpm
gpgcheck=1
metadata_expire=300
EOF
sudo yum update -y
sudo yum -y install prometheus2 node_exporter
rpm -qi prometheus2
- Start Prometheus Node_exporter
sudo systemctl start prometheus node_exporter
- add port 9090 in security group

- Copy Your Public Ip :9090 And Hit Your Browser

- Add Node Exporter Port 9100 In Security Group

- Copy Your PublicIp :9100 And Hit Your Browser

Grafana Setup..!!
sudo yum install -y https://dl.grafana.com/oss/release/grafana-10.0.3-1.x86_64.rpm
- Copy Your Public Ip :3000 And Hit Your Browser
