This topic lists questions related to ECS operation & maintenance and monitoring.

What is Cloud Assistant?

Cloud Assistant provides native O&M and deployment services in Alibaba Cloud ECS. This tool supports a visualized console and API operations. With Cloud Assistant, you can run Bat, PowerShell, or Shell commands in batches without the need to connect to an instance. For more information, see Cloud Assistant.

How can I use Cloud Assistant?

You can use Cloud Assistant through ECS console or by calling the API operation.

What operating system is Cloud Assistant supported on?

Cloud Assistant is supported on the following operating systems:

  • Windows: Windows Server 2008, 2012, and 2016
  • Unix: Ubuntu 12, 14, and 16, CentOS 5, 6, and 7, Debian 7, 8, and 9, RedHat 5, 6, and 7, SUSE Linux Enterprise Server 11 and 12, OpenSUSE, Aliyun Linux, and CoreOS
Note
  • The Cloud Assistant client is pre-installed on instances created from ECS public images.
  • For instances created by using custom images or Alibaba Cloud Marketplace images, you must first verify that operating systems on these instances support Cloud Assistant, and then configure the Cloud Assistant client.

How many Cloud Assistant commands can I have in an Alibaba Cloud region?

You can have a maximum of 100 to 10,000 Cloud Assistant commands in an Alibaba Cloud region, depending on the usage of ECS instances.

Can I modify a created Cloud Assistant command?

You can modify the name and description of a command, but other information such as the script content, expiration time, and execution path cannot be modified.

If you want to modify the script content or execution path, you can clone the command to create a new version of the command based on the existing command.

Do I need any permissions to run Cloud Assistant commands on ECS instances?

Yes. You must install and use Cloud Assistant as an administrator or the root user.

  • To run commands on Windows instances, you must have administrator permissions.
  • To run commands on Linux instances, you must have root permissions.

Can I run Cloud Assistant commands on multiple instances at the same time?

Yes. You can run Cloud Assistant commands on up to 50 instances at a time. In an Alibaba Cloud region, you can run a maximum of 5,000 Cloud Assistant commands each day.

How can I check the execution results of Cloud Assistant commands?

Cloud Assistant commands can be executed only when all required conditions are satisfied, regardless of whether you run commands on the Cloud Assistant client or on an ECS instance. You can use one of the following methods to check the execution results:

  • ECS console
  • DescribeInvocationResults
  • Connect to instances to view the log file.
    • Windows instances: C:\ProgramData\aliyun\assist\${version}\log\aliyun_assist_main.log
    • Linux instances: /usr/local/share/aliyun-assist/${version}/log/aliyun_assist_main.log

      The ${version} variable is the version of the Cloud Assistant client on instances, such as 1.0.1.226.