Uninstallation of Releem Agent
To remove Releem Agent from your server, choose your installation type and follow these steps:
- Linux
- Docker
- Windows
- AWS RDS
- GCP Cloud SQL
- Azure MySQL
Run the uninstall command as root:
bash -c "$(curl -L https://releem.s3.amazonaws.com/v2/install.sh)" uninstall
The command stops and removes the releem-agent service, removes the installed agent files, and removes Releem cron entries.
Stop and remove the container:
docker rm -f releem-agent
If you used Docker Compose, remove the service from docker-compose.yml and run:
docker compose down
Run the following command in Windows PowerShell as Administrator:
$env:RELEEM_UNINSTALL_CONFIRM=1; iex "& { $(iwr -useb https://releem.s3.amazonaws.com/v2/install.ps1) } -Uninstall"
If the agent was installed by CloudFormation, delete the releem-agent CloudFormation stack.
If the agent was installed manually on EC2, use the Linux uninstall command on that EC2 instance.
If the agent runs on a Compute Engine VM, use the Linux uninstall command on that VM.
If the agent runs in Docker, remove the container or Docker Compose service.
If the agent runs on an Azure VM, use the Linux uninstall command on that VM.
If the agent runs in Docker, remove the container or Docker Compose service.
Remove Azure RBAC role assignments only if the identity is not used by other services.