- Documentation
Elastic Compute Service
Elastic Compute Service
API Reference
Cloud assistant
InstallCloudAssistant - Installs cloud assistant Agent
Cloud assistant
InstallCloudAssistant - Installs cloud assistant Agent
InstallCloudAssistant - Installs cloud assistant Agent
Call the InstallCloudAssistant operation to install the cloud assistant Agent for one or multiple specified ECS instances.
Usage notes
After installing the cloud assistant Agent by calling this operation, you need to call the RebootInstances operation to restart the instance. Then, the Agent can take effect. Debugging
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
Request parameters
Only the request parameters specific to this operation and some common parameters are listed below. For more information, refer to Common parameters. Action string required Sample value: InstallCloudAssistant
The action that you want to perform. Value: InstallCloudAssistant.
Version string required Sample value: 2020-04-01
The version of the API. Valid value: 2020-04-01.
InstanceIds.N string[] required Sample value: InstanceIds.1=i-ervasv*****&InstanceIds.2=i-uihrdgh*****
The instance ID. Up to 50 instance IDs are supported. You can call the DescribeInstances operation to query and obtain the instance ID. - Argument - N: specifies the serial number of the instance.
- Separate multiple instance IDs with &.
Response parameters
Only the response parameters specific to this operation are listed below. For more information, refer to the response structure. InstallingInstanceIds string[] Sample value: \["i-ycm4ru8\*\*\*\*","iyclwwbhbls\*\*\*\*" \]
The ID of an instance for which the Agent installation request is submitted.
FailedInstances object[] Sample value: --
The information about the instance for which the installation failed, and that meets the condition.
Id string Sample value: i-yci89z1gpml8j1\*\*\*\*
The ID of the instance for which the installation fails.
ErrorMessage string Sample value: --
The failure information.
Sample request
Sample response
Error codes
The table below lists the business-related error codes of the operation. For more information, refer to Common error codes.
Last updated: 2026.04.17 10:57:34