Day 73 - Grafana πŸ”₯

1 min read

Cover Image for Day 73 - Grafana πŸ”₯

Task 1

Setting up the Grafana environment in AWS EC2.

  1. Go to the AWS console, and create an EC2 instance.

  2. SSH/ec2 instance connect to your EC2 machine & Download the GPG keys and add them to the trusted keys list.

     sudo wget -q -O - https://packages.grafana.com/gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/grafana-archive-keyring.gpg
    
  3. After importing the key, you can add the Grafana APT repository to your system by creating a sources list file:

     echo "deb [signed-by=/usr/share/keyrings/grafana-archive-keyring.gpg] https://packages.grafana.com/oss/deb stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
    
  4. run sudo apt-get update

  5. then, run sudo apt install grafana

  6. sudo systemctl start grafana-server

  7. connect to public ipv4 address at port 3000(make sure to allow access from anywhere 0.0.0.0/0 in the security group)

  8. login : admin

    password: admin

Congratulation!! it's DoneπŸŽ‰πŸ’œ