You can find the password by accessing the System Log in the EC2 management console.
- Go to Amazon EC2 console at https://console.aws.amazon.com/ec2/.
- Chose your Instance and Click Actions → Monitor and troubleshoot → Get System log


You can alternatively SSH into your instance and find the login credentials by running the following command.
$ cat /home/ec2-user/credentials
////////////////////credentials info////////////////////
--- Prometheus
----- User: admin
----- Password : prometheus-password
--- Grafana
----- User: admin
----- Password : admin
////////////////////////////////////////////////////////
Input User Name, "prometheus"
, and password, "prometheus-password"
in this case, and click “Log in”.
You will see the Prometheus application as shown below.
