1. Networking setup

1. Networking setup

Before installing and configuring Prometheus and Grafana, perform following steps:

1.1 In the Cloud

Change ingress rules for ports 3000 (Prometheus port), respectively 9090 (Grafana port)

These two services are installed on an instance in the Cloud ("deploymentmachine")

1.1.1 Go to "Subnet"

1.1.2Select the corresponding Security List

1.1.3 Add follwing Ingress Rules for accessing the services from a browser:

  • Ingress Rule for Prometheus

  • Ingress Rule for Grafana

1.2. On the instance

Make sure same ports are opened for listening:

  • for Prometheus

root@deploymentmachine:/home# firewall-cmd --add-port=9090/tcp --permanent
success
root@deploymentmachine:/home# firewall-cmd --reload
success
root@deploymentmachine:/home#
  • for Grafana

root@deploymentmachine:/home# firewall-cmd --add-port=3000/tcp --permanent
success
root@deploymentmachine:/home# firewall-cmd --reload
success
root@deploymentmachine:/home#

Last updated