The Cloud Assistant client is an agent that runs Cloud Assistant scripts on ECS instances. This topic describes how to update and disable updates for the Cloud Assistant client.
Prerequisites
Automatically update the Cloud Assistant client
Every hour the Cloud Assistant client automatically runs the update process aliyun_assist_update, which is located in the following path:
- Windows instances: C:\ProgramData\aliyun\assist\${version}/aliyun_assist_update
- Linux instances: /usr/local/share/aliyun-assist/${version}/aliyun_assist_update
Manually update the Cloud Assistant client
If the automatic update fails, you can create an update script and run the script on a regular basis. For more information, see Create commands.
If you are using an RPM installation package, you can run the following Cloud Assistant
script to update the Cloud Assistant client. For information about the update scripts
for other installation packages, see Install the Cloud Assistant client.
wget "https://aliyun-client-assist.oss-accelerate.aliyuncs.com/linux/aliyun_assist_latest.rpm" && rpm -ivh --force aliyun_assist_latest.rpm
Manually disable updates for the Cloud Assistant client
You can disable updates for the Cloud Assistant client by disabling the automatic update process aliyun_assist_update.
- In Windows Server, run the following command in the Command Prompt:
rename aliyun_assist_update
- In Linux, run the following command:
chmod a-x aliyun_assist_update