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 : admin
--- PostgreSQL
----- User: sonarqube
----- Password : 1OyoszoecyBlc8rg
////////////////////////////////////////////////////////
Log in to SonarQube.
Login ID: admin
Password: admin
Then you can change an admin password.
