Installing JTL Reporter on Azure container instances
Prerequisites
- Azure Account
- Latest version of PSQLODBC to run PSQL commands.
Preparation
Create Azure Resources
you need to create the following azure resources before u begin:
- Azure Resource group.
- Azure storage account with 2 file shares (for mongo and Postgres databases).
- Azure storage account access key.
Installation steps:
- Create Azure resource group
- Create azure storage account with 2 file shares.
- Get the storage account access key.
- Clone the git repo and the azure scripts can be found under 'Azure-Deployment' folder.
- Download and install the latest version of PSQLODBC to run PSQL commands.
- Open DeployJTLReport.ps1 script using PowerShell ISE or any other editors and edit the following variables based on your environment.
$ResourceGroup = "<ResourceGroup Name>"
$Storageaccountname = "<Storage account name>"
$storageKey = "<Storage key>"
$mongodbshareName = "<MongoDB File share name >"
$postgresdbFileshare = "<PostgresDB File share name >" - Connect to Azure using PowerShell and run DeployJTLReport.ps1
- After script execution you can see 3 container instances in your Azure resource group (JtlReporter, postgres and Migration).
- Post success you can delete the Migration container.
- You can access JTL Reporter using the IP of JtlReporter container instance.
http://<JtlReporter-ContainerIP>:80