Quickstart guide for Enterprises

A checklist for administrators setting up their initial installation of SonarQube Server Enterprise edition.

If you want a briefer guide, especially for lower editions such as Developer Edition, please check out our Quickstart guide.

Required Infrastructure

A dedicated VM or container is recommended for each of the following:

  1. SonarQube Server, See Server host requirements.

  1. External Database, see Installing database.

  2. Reverse Proxy to enforce HTTPS, see Reverse Proxy.

Please refer to the following reference architectures for sizing estimates Up to 10 M LOC and Up to 50 M LOC.

Required Networking

Network connectivity is required from all SonarScanners to the SonarQube Server. Additionally, ensure your SonarQube Server can connect to your self-hosted or Cloud DevOps platform.

Advanced Security requires an outbound connection to URLs listed here.

Required Software

Installation Steps

We recommend installing SonarQube Server from a Docker image or Helm chart (Kubernetes/OpenShift). These methods make it easier to update to newer versions and to operate your instance. Install from the ZIP file only if neither of those options is feasible for your environment.

SonarQube Server can be installed From Docker image to a container, from Helm chart, or From ZIP file. See Try out SonarQube Server for help once you are ready to install SonarQube Server.

To connect SonarQube to an external database, provide the configuration to the SonarQube server on startup. The configuration can be provided via the sonar.properties configuration file or via environment variables. If your SonarQube installation fails to start due to database connection issues, please set the log level to DEBUG, restart the SonarQube server, and check the Server logs for error messages related to the database connection.

DevOps Platform integration

Reverse Proxy

By default, SonarQube communicates via HTTP. To enforce mandatory HTTPS, the server must sit behind a Reverse Proxy. See Reverse proxy and network security for more details.

Caution: Self-signed certificates are not recommended as they require extra setup on every CI build agent's JVM trust store. For more information, please refer to TLS certificates on client side.

Advanced Security

Advanced Security is only available on SonarQube Server Enterprise Edition v2025.3 or later

To enable Advanced Security, navigate to Administration > Configuration > General > Advanced Security and click "Enable Advanced Security". SonarQube Advanced Security requires an outbound network connection. You can find out more about the connectivity requirements here.

Develop with Sonar

Now that you have installed SonarQube Server with your DevOps platforms or CI pipeline, managers and tech leads can check out the Security reports and Portfolios features to begin monitoring the security and releasability of projects. Development teams should also complete Connected mode setup so SonarQube for IDE can surface issues, quality profile changes, and server-side issue states directly in their IDE.

Last updated

Was this helpful?