SonarQube on Azure - Getting Started

  • Home
  • /
  • SonarQube on Azure - Getting Started
SonarQube on Azure - Getting Started

SonarQube on Azure - Getting Started

Documentation 27 Sep 2022

This documentation is provided as a quick start guide to our Azure MarketPlace Clients.

Overview

SonarQube is an open-source platform for continuous inspection of code quality. It’s a tool that can perform automatic reviews with static analysis of code to detect bugs, coding standards violations, unit test coverage, code complexity, comments, etc.

Quality is important for any software product, and it’s becoming increasingly critical. This listing includes SonarQube on top of rock-solid Ubuntu 20.04, making it easy for you to start a Quality Analysis practice for your organisation in One-Click.

With over 29 programming languages supported by this platform today and growing fast, it makes sense to leverage SonarQube as your source for every code quality-related requirement you have in mind.

What are the benefits of using SonarQube?

Quality is important in software development, and ensuring the code meets a quality standard is essential to its growth. Using SonarQube, companies identify errors, bugs, and security issues in their code. Users can get reports on duplicated code, coding standards, unit tests etc. It also has a reporting module where you can find out about the number of security-related issues in your codebase. Other benefits include;

  • #1 Code Quality Analysis platform with great community support.
  • Very easy to use Web UI with point and click administration.
  • Multiple programming language support
  • Integrates easily with Github, Gitlab and other SCM tools.

Gettings started with SonarQube on Azure VM

First, you will need to have an Azure account. If you don’t, you can register for a free Azure account here https://azure.com

Once ready to go, access Azure MarketPlace to get started, or click here Azure MarketPlace.

Install On Azure with One-Click

Next…

Go through Azure options to launch a VM using our baked “SonarQube on Azure” image. We recommend the following specifications, you are welcome to try lower, especially if you are testing things. (Recommended: 2VCPU’s and 4GB RAM)

Finally…

Once your instance is launched, it will take about 5 minutes to bootstrap for the first time. When ready, you should be able to browse to SonarQube web-ui located at http://ip.address.of.instance:9000 for example, if your instance is on IP address 1.2.3.4, you should be able to access the web-ui by browsing to http://1.2.3.4:9000 The default username is “admin” and the password is stored under /opt/default-sonar-login.txt

username: admin
password: As retrieved above

Shoud you need to, SSH is available as well. The credentials for that are;

username: azureuser or user account setup during provisioning
password: use SSH-Key or Password used during VM instance provision

Conclusion

SonarQube is a very powerful tool that can assist organisations uplift the quality of their products and code. In this guide, we showed you how to set up SonarQube on Azure using our custom-baked image in the Azure MarketPlace. We explained the benefits of using SonarQube and its features. We hope you are excited to use SonarQube in your projects.

Looking for Support?

We work with our clients to get their Cloud Automation journey right the first time. Our teams use only the best Open-Source and Proprietary tools on the market to deliver secure, robust and scalable cloud and On-Premises infrastructure for our clients. Our MarketPlace offerings extend this expertise to allow even more Azure clients enjoy our products with ease. To show our commitment to this, all our marketplace offerings come with 1hr free support to get you started. Shoot us an email: support [+] solvedevops.com

Disclaimer:

All product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them. This product contains the latest patched software from respective vendors, we do not, however, claim that all vulnerabilities have been addressed.

Frequently Asked Questions

Can I use SonarQube to discover and fix bugs in my codebase?

Yes, SonarQube can be used to uplift the quality of your code by helping your developers discover and fix bugs quicker. Apart from bug discovery, SonarQube can also be used for automated testing, code reviews, and more.

What are some best practices for using SonarQube in a production environment?

SonarQube is a powerful tool that can help you to analyze your codebase and identify potential issues. It also provides insights into how well your code is coded, which helps with the development process.

One of the best practices for using SonarQube in a production environment is to keep it up-to-date. This means queuing up new releases as soon as they are released so that you always have the latest features and bug fixes available. You should also use SonarQube’s performance analysis feature to find areas where your code may be slow or causing Issues. Finally, make sure to share findings with team members so that everyone can get started on identifying potential problems early on in the development cycle.

Using SonarQube saves time and money both down the road and during initial development projects.

Is there a license cost for using SonarQube on Azure?

There is no license cost for using SonarQube CE server on Azure. However, you will still incur costs for using the underlying Azure infrastructure and Marketplace fees.

All our Marketplace images come with 1 hr FREE Support to get you started. Contact us to get started.