Uninstall
This section describes how to uninstall AIBooster. Please follow the steps below for the Server node and Agent node respectively.
For a single node configuration, please follow both the Server node and Agent node procedures.
Server Node
1. Stop and Remove Docker Containers
Execute the following command.
docker compose -p "faib-server" down
2. Delete Docker Volumes and Networks
This operation will delete all data including performance metrics acquired by AIBooster and dashboards modified by users.
If you are uninstalling temporarily for an update, skip this step.
Execute the following command to check the details of volumes that will be deleted by the subsequent command. If this list contains unintended volumes (volumes other than grafana-data and clickhouse-data), please appropriately select the volumes to delete and delete them individually.
docker volume ls -q --filter name=^faib-server_.+-data$
To actually delete volumes, execute the following command. Executing this command will also delete all data acquired by AIBooster.
docker volume rm $(docker volume ls -q --filter name=^faib-server_.+-data$)
Similarly, to delete networks, execute the following command.
docker network rm $(docker network ls -q --filter name=^faib-server_.+$)
3. Delete Docker Images
To completely delete Docker images acquired by AIBooster, execute the following command.
docker images | grep -E 'public.ecr.aws.*aibooster' | awk '{print $3}' | xargs docker rmi
4. Delete the Installation Folder
To delete the installed files, execute the following command.
sudo rm -r /opt/aibooster
Agent Node
1. Stop and Remove the systemd Service
Execute the following command.
sudo systemctl disable --now aibooster-agent.target
sudo rm /etc/systemd/system/aibooster-*
sudo systemctl daemon-reload
For stopping and removing systemd services, execute the following command instead of the above.
sudo systemctl disable --now aibooster-agent.service aibooster-agent-otel-collector.service
sudo rm /etc/systemd/system/aibooster-*
sudo systemctl daemon-reload
Additionally, to delete the Docker network and images created on the Agent node, execute the following commands as well.
# Delete Docker network
docker network rm $(docker network ls -q --filter name=^faib-agent_.+$)
# Delete Docker images
docker images | grep -E 'public.ecr.aws.*aibooster' | awk '{print $3}' | xargs docker rmi
2. Delete the Installation Folder
To delete the installed files, execute the following command.
sudo rm -r /opt/aibooster