You can find SonarQube initial password from EC2 management console System Log.
- 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 also SSH into your instance and find the login credential using the following command.
$ cat /home/ec2-user/credentials ////////////////////credentials info//////////////////// --- SonarQube ----- User: admin ----- Password : kVsxPJpd --- PostgreSQL ----- User: sonarqube ----- Password : LbBKexIJoVOAOUlBFoyX ////////////////////////////////////////////////////////
Input initial password, “kVsxPJpd” in this case, and click “Log in”.
You will see top page as below.
