Installing Prerequisites for Wizard-Based Deployments on All Cloud Platforms
Kyvos provides a single deployment script that automatically installs all necessary prerequisites across AWS, GCP, and Azure. This script is designed to work with all instance types, including BI Server, Query Engine, Kyvos Manager, and Kyvos.
Configuring the Script
Before running the script, you need to define two types of variables in the script:
Common Variables: These apply to all cloud platforms. Ensure that common variables are mandatory to complete.
Cloud-Specific Variables: These are specific to AWS, GCP, or Azure.
Executing the script
Begin by downloading the deployment script.
Configure the Required Variables:
Open the script file and enter the required values.
Ensure that all common variables are filled in.
Provide the appropriate cloud-specific variables based on your deployment platform.
Execute the script based on your cloud provider:
For AWS: Perform the following steps:
Create a new EC2 instance.
SSH into the instance.
Navigate to the /tmp/ directory and place the script file there (ensuring all variables are pre-configured).
Run the following commands:
chmod 777 PrereqScriptAllCloud.sh./PrereqScriptAllCloud.sh
For Azure: Perform the following steps:
Create a new Virtual Machine.
SSH into the VM.
Navigate to the /tmp/ directory and place the script file there (ensuring all variables are pre-configured).
Run the following commands:
chmod 777 PrereqScriptAllCloud.sh./PrereqScriptAllCloud.sh
For Kyvos Manager node, do the following:
Switch to Deployment user, then go to /data/kyvos/installs location and run the following commands:
export CLIENT_SECRET={Enter the Bundle download Client Secret} KyvosBundleName=`export AZCOPY_SPA_CLIENT_SECRET=$CLIENT_SECRET && /data/kyvos/installs/bin/azcopy login --service-principal --application-id 78df1698-2e9e-40c9-befe-ea2203788da2 --tenant-id b9dfa905-6761-4a54-8aa0-7b7647bbafb8 && /data/kyvos/installs/bin/azcopy list https://kyvosjarsservice.blob.core.windows.net/kyvossetup/2024.9/latest/` KyvosBundleName=`echo $KyvosBundleName | grep -oP 'Kyvos[^[:blank:]]*' | awk -F '.tar.gz' '{print $1".tar.gz"}' | head -1` export AZCOPY_SPA_CLIENT_SECRET=$CLIENT_SECRET && /data/kyvos/installs/bin/azcopy login --service-principal --application-id 78df1698-2e9e-40c9-befe-ea2203788da2 --tenant-id b9dfa905-6761-4a54-8aa0-7b7647bbafb8 && /data/kyvos/installs/bin/azcopy copy https://kyvosjarsservice.blob.core.windows.net/kyvossetup/2024.9/latest/$KyvosBundleName /data/kyvos/installs/ tar -xzvf $KyvosBundleName rm -rf $KyvosBundleNameRun the below command with the root user. Replace $user with the deployment user name.
chown -R $user:$user /data/kyvos/Switch to $user and run the following command:
Go to /data/kyvos/installs/kyvosmanager_war/kyvosmanager/bin
For GCP: Perform the following steps:
Create a new compute engine instance.
SSH into the instance.
Navigate to the /tmp/ directory and place the script file there (ensuring all variables are pre-configured).
Run the following commands:
chmod 777 PrereqScriptAllCloud.sh./PrereqScriptAllCloud.sh
After completing prerequisites, you must navigate to the wizard-based deployment for the required cloud.
Dedicated Compute Cluster
If you use dedicated compute cluster, see the Working with dedicated compute cluster section for all clouds.