5. Upgrading/Maintaining RoostGPT Control-plane
There are multiple options available to refresh or upgrade the RoostGPT stack. The infrastructure engineer can use either of these approaches.
a. Using Terraform Script to upgrade RoostGPT version
Update Terraform Variables in "terraform.tfvars" to reflect the appropriate Roost Version
Field |
Values |
roost_version |
v1.1.17 |
Run below commands:
terraform apply
b. Using Terraform Script to refresh control-plane (without any config change)
Run below commands
terraform apply --replace="null_resource.provision-controlplane-system" --replace="null_resource.provision-roostgpt-server" --replace="null_resource.run-controlplane-services"
c. Using SSH to control-plane instance
RoostGPT control-plane runs a dockerĀ compose script and the entire offering can be updated using the below given steps.
- SSH Connect to your infrastructure bastion instance and then further ssh to control-plane instance as ubuntu user
- Execute the below snippet with the appropriate Roost Version (after replacing v1.1.17)
ssh cp
ROOST_VER="v1.1.17" /var/tmp/Roost/bin/roost-enterprise.sh -c /var/tmp/Roost/config.json -i roostai