Installing SonarQube Server Enterprise edition on Amazon Elastic Compute Cloud (EC2)

1 hour 30 minutes to complete

Overview

This course teaches you how to deploy SonarQube Server Enterprise Edition on Amazon Elastic Compute Cloud (EC2) using Terraform. This allows you to transform a complex manual operation into a repeatable process using Infrastructure as Code (IaC).

Learning objectives

After completing this course, you’ll be able to:

  • Deploy SonarQube Server Enterprise Edition inside an Amazon EC2 instance.
  • Create and configure an Amazon Aurora PostgreSQL database instance.
  • Provision network resources to enable secure external connectivity.
  • Activate a SonarQube Server Enterprise Edition commercial license.
  • Validate the health and status of the EC2 instance.
  • Perform a proper environment teardown using Terraform.

Key topics

  • Benefits of using EC2 and Terraform
  • Provisioning AWS infrastructure
  • Configuring network and security
  • Validation of deployment status and verification of DNS resolution
  • License activation and Server ID management
  • Troubleshooting common issues

Target audience

  • Administrator
  • Developer
  • DevOps engineer

Prerequisites

  • Access to an AWS account with IAM permissions to create resources 
  • AWS CLI installed and configured on your local terminal
  • Terraform installed for infrastructure provisioning

  • A valid SonarQube Server Enterprise Edition commercial license
  • A pre-existing Route 53 zone file for public URL configuration