DevOps, Day - 73

DevOps, Day - 73

Grafana πŸ”₯

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.

  1. Launch an EC2 instance and connect it through SSH...

  2. Update System:

     sudo apt update
     sudo apt upgrade
    
  3. 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
    
  4. Start Grafana:

     sudo systemctl status grafana-server
     sudo systemctl start grafana-server
    

  5. 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.

  1. 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 : )

Linkedin

Β