Creating a Dedicated Compute Cluster for GCP

Creating a Dedicated Compute Cluster for GCP

Important

From Kyvos 2025.4 onwards, the High Availability of Compute Server process for Dedicated compute cluster support has been added. This ensures continuous service availability and automatically recovers from unexpected downtimes.

If an existing deployment is upgraded to version 2025.4, you must update the PostCreationDedicatedCompute script. Follow case 2 as specified for all cloud platforms (AWS, Azure, and GCP) and delete the existing attached script.

You can create a dedicated compute cluster either by downloading the JSON file or manually creating a compute cluster.

Note

The working directory and bucket name used by the dedicated compute must be the same as the deployment.

Case 1: By downloading the terraform.tar bundle file

  1. Download the terraform.tar bundle file, which is available in the GCP Installation Files folder.

  2. Log in to GCP portal and upload the terraform.tar bundle file to cloud shell.

  3. Navigate to conf folder and open the kyvosparams.tfvars file.

  4. In the file, set the value of the dedicatedCompute parameter to true. Also, set the value of other parameters to false.

  5. Now, go to the bin folder and execute the deploy.sh file.

CASE 2: Manually creating a dedicated compute cluster

  1. Log in to GCP portal and navigate to the Instance Group.

  2. Select the Instance Group that you want to modify.

  3. In the selected instance group, find the associated Instance Template.
    Note that you cannot directly edit an existing template.

  4. Since existing templates cannot be edited, click Create Similar to duplicate the current template.

  5. Modify the PostCreationDedicatedComputeGCP.sh available in the GCP Installation Files folder.

  6. In this script, modify the required details for the ZONE, BUCKET_NAME and KYVOS_WORK_DIR, DATA_VOLUME_DISK_SIZE and save the changes.

  7. In the newly created template, under the Management section, go to Automation.

  8. Update the bootstrap script with the content of modified PostCreationDedicatedComputeGCP.sh and click Create.

  9. Attach the Updated Instance Template to the instance group.

This process will create a new instance template with your required modifications and ensure that the changes are applied to the instance group accordingly.

NEXT: Refer to the wizard-based deployment section for further details on deploying Kyvos.

Copyright Kyvos, Inc. 2025. All rights reserved.