Add the Grafana APT Repository:
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 -
Install Grafana:
sudo apt-get update
sudo apt-get install grafana
Start and Enable the Service:
sudo systemctl start grafana-server
sudo systemctl enable grafana-server
Access Grafana:
Open a browser and navigate to http://<your-server-ip>:3000
.
Default login credentials:
Username: admin
Password: admin
Note: Make sure port 3000 is open in aws