Trying to setup SonarQube on EC2 using what should be basic install settings.
- List item
- Setup a standard EC2 AWS LINUX Ami attached to M4 large
- SSH into EC2 instance
- Install JAVA
- Set to use JAVA8
- wget https://sonarsource.bintray.com/Distribution/sonarqube/sonarqube-6.4.zip
- unzip into the /etc dir
- run sudo ./sonar.sh start
- Instance starts
But when I try to go to the app it never comes up when I try either the IPv4 Public IP 220.127.116.11:9000 (ex not real IP) or try ec2-134-73-134-114.compute-1.amazonaws.com:9000 (not real IP either just for example)
Perhaps it is my ignorance or me not configuring something correctly as it pertains to the initial EC2 setup.
If anyone has any ideas, please let me know.
Issue was that
SonarQube default port is
9000. and by default this port is not open in the security group if you dont apply the default security group in which all the ports are open(which is Not recommended).
As suggested in comment @Issac, opened the 9000 port to allow incoming request to
SonarQube, in AWS security group setting of instance. Which solved the issue.