After you create a Cloud Assistant script, you can run it on one or more instances. The script running status and results of one instance do not affect those of other instances.


Before you can run a Cloud Assistant script on ECS instances, ensure that the ECS instances meet the following requirements:
  • The instances are in the Running state.
  • The instances have a Cloud Assistant client installed. For information about how to install a Cloud Assistant client, see Install the Cloud Assistant client.
  • The ECS instances must reside in VPCs.

Background information

  • A single script can run on a maximum of 50 instances at one time.
  • In an Alibaba Cloud region, you can run Cloud Assistant scripts a maximum of 5,000 times within a single day. This limit may be increased based on your ECS usage.
    Note You can also call the DescribeAccountAttributes operation, with the AttributeName.N parameter set to max-axt-invocation-daily, to query the maximum number of times you can run Cloud Assistant scripts within a single day in a region.


  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Maintenance & Monitoring > Cloud Assistant.
  3. In the top navigation bar, select a region.
  4. Find the script that you want to run and click Create Task in the Actions column.
  5. In the Create Task pane, configure required parameters.
    1. Optional: Click View to check the script content.
      If the script content is not correct, you can re-create the script before running it.
    2. Click Select instance. In the dialog box that appears:
      1. Select one or more instances.
      2. Click the Icon icon to select them.

        You can select only Windows instances for batch or PowerShell scripts and select only Linux instances for Shell scripts. Furthermore, all instances must have the Cloud Assistant client installed. Otherwise, the instance cannot be selected even after you click the The icon of select icon.

      3. Click OK.
    3. In the Parameters field, enter the values of the custom parameters specified in the script. There are no data type restrictions for custom parameters. If the current API call does not require values for the custom parameters, you can enter empty strings.
      Note If you do not select Use Parameters when you create the script, the Parameters field is not be displayed.
  6. Click Create Task.

What to do next

Query execution results and statuses