MaxAI Upgrade Guide
Setup Access Credentials
Our team will provide you with aws cli
credentials to pull the MaxAI images and docker configs.
Configure them on the VM with: aws configure
:
- Enter the keys provided when prompted.
- Region: us-east-1
Connect to Server as Max User
Connect to the server and login as the as themax
user (or whichever user that owns the /opt/answerrocket
dir):
sudo su max
Shutdown Service
cd /opt/answerrocket
./scripts/prod-compose.sh down
Pull Latest Version
run the following command replacing {version}
in the aws s3 cp
command with the latest version:
cd /opt/answerrocket
aws s3 cp s3://aglabs-deployment/docker/docker-upgrade-bundle-v{version}.tar /opt/answerrocket/
tar -xvf /opt/answerrocket/docker-upgrade-bundle-v{version}.tar
Authenticate AWS
./scripts/aws-cli-registry-auth.sh
Start the MaxAI Application
You can now restart the MaxAI application.
Depending on where you host your SSL Certificates you must run either theprod-compose.sh
orinternal-compose.sh
script.
If using self-provisioned SSL Certs placed in the VM:
cd /opt/answerrocket
./scripts/prod-compose.sh up -d
If using a Load Balancer to manage SSL Certs:
cd /opt/answerrocket
./scripts/internal-compose.sh up -d
Updated 7 days ago