Hope you are now clear with the basics of grafana, like why we use it, where we use it, what can we do with this and so on.
Now, let's do some practical stuff.
Launch an EC2 instance and connect it through SSH...
Update System:
sudo apt update sudo apt upgrade
Install Grafana:
sudo apt-get install -y software-properties-common sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main" wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add - sudo apt-get update sudo apt-get install grafana
Start Grafana:
sudo systemctl status grafana-server sudo systemctl start grafana-server
Access Grafana:
Edit inbound rules and allow 3000 port
By default, Grafana runs on port 3000. You can access it in your web browser by navigating to http://ur_Public-IP:3000.
The default login credentials are:
Username: admin
Password: admin
You will be prompted to change your password on the first login.
Configure Data Sources and Dashboards:
You can configure data sources (e.g., Prometheus, InfluxDB) and create dashboards in Grafana as needed.
Thank you so much for reading
Follow me on LinkedIn to see interesting posts like this : )