Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension):8.4
- what are you trying to achieve : setup SQ server and database server in different network
- what have you tried so far to achieve this: NA
I am deploying sonarqube server in datacenter. however for database, I want to use aws postgresql instance. I read in documentation that both should be on same network. if so, then how can i make setup ? any suggestion ?
Hi!
Thanks for reaching out to the community. As you noticed in the docs, The Database should be on another host, but close to it in the network. We would recommend either installing a database in your existing data center or spinning up SonarQube in AWS along with your PostgreSQL database.
The largest concern we had when making these recommendations is latency and consistency, so regardless of what you do, you’ll want to make sure lag and packet loss between the SonarQube host and the Database host is as low as possible.
Cheers
Thanks for sharing reason behind it. Is it a suggestion or mandatory condition from sonarqube side? I mean if i put both servers in different networks, then SQ will throw error. is it ?