Azure Installation Guide
Instructions to install in Azure infra
Infrastructure Requirements
Minimal Installation:
You need a system with a minimum of 16 CPUs. We recommend using 2 nodes with 8 cores each, totalling 64GB.
All machines must reside in the same availability zone to avoid data transfer charges across zones. Our Obsrv installer will automatically create the AKS cluster for you.
Networking Environment:
Ensure your environment has a CIDR of 16
For example, a Virtual Network with a CIDR of
10.0.0.0/23
will have IP addresses ranging from10.0.0.0
to10.0.1.255
.
Subnets must be created in all availability zones within your region.
Software Prerequisites
Installation of Obsrv requires the following CLI tools as prerequisites. Please note that the following instructions for installing the prerequisites are provided only for Linux based operating systems. Please follow the instructions for the specific tools depending upon your operating system.
Terraform
Terraform CLI version 1.5.x or older. Versions above 1.5.x are not MPL licensed.
Download from here - https://developer.hashicorp.com/terraform/install
Terragrunt
Terragrunt CLI version 0.48 or later.
Download from here - https://terragrunt.gruntwork.io/docs/getting-started/install/
Terrahelp
Terrahelp version 0.7.5 or later
Download from here - https://github.com/opencredo/terrahelp?tab=readme-ov-file#installation
Helm
Helm version 3.10.2
Download from here - https://helm.sh/docs/intro/install/
Azure CLI
Azure CLI tool version 2.10 or later.
Download from here - https://learn.microsoft.com/en-us/cli/azure/install-azure-cli
Post installation, authenticate Azure CLI. Please refer to this link for more details about Signing In to Azure CLI
Installation Steps:
Clone the
obsrv-automation
repository:Navigate to the setup directory:
Export Azure Credentials:
Create a Resource Group, Storage Account and Storage Container through the Azure Portal. Once completed, export the below values as an environment variable.
Create the AKS cluster
The following commands will create an AKS Cluster
During creation of the cluster, you will be asked for prompts as and when required by the installation. Here is a sample of the inputs you have to provide while the above script executes.
Make a note of Resource Group created during the cluster creation. Usually it is a combination of
<building_block>-<env>
. For the above example the resorce group will beobsrv-dev
. You can look for the logs for the statement like below.Export the Resource Group name as an environment variable
Upgrade Steps:
Take latest code from
obsrv-automation
repositoryEnsure all the configuration configured during the installation is properly updated in all places.
Run the terraform to upgrade the cluster to the latest versions.
Last updated