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 approach.
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
Using Terraform Script to refresh control-plane
Run below commands
terraform apply --replace="null_resource.provision-controlplane-system" --replace="null_resource.provision-roostgpt-server" --replace="null_resource.run-controlplane-services"
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 and execute the
ssh cp
ROOST_VER="v1.1.17" /var/tmp/Roost/bin/roost-enterprise.sh -c /var/tmp/Roost/config.json -i roostai