After you create a Cloud Assistant command, you can run it on one or more Elastic Compute Service (ECS) instances. The execution status and results of the command on multiple instances do not affect each other.
Prerequisites
- The instances are in the Running (
Running
) state. - The Cloud Assistant client is installed on the instance. For more information, see
Install the Cloud Assistant client.
If you are concerned about recurring tasks, make sure that the version of the Cloud Assistant client is not earlier than the following ones. A recurring task is a task that is scheduled to run a command at a specified interval, only once at a specified time, or on a schedule defined by a cron expression with a specified year or time zone.
- Linux: 2.2.3.282
- Windows: 2.1.3.282
If the
ClientNeedUpgrade
error code is returned after a recurring task is executed, update the Cloud Assistant client to the latest version. For more information, see Upgrades or disable upgrades for the Cloud Assistant client.
Background information
- You can call an API operation to run a command on up to 50 instances.
- If you select more than 50 instances to run a command in the ECS console, the system runs the command on the instances in batches.
- You can run Cloud Assistant commands up to 5,000 times within a region per day. This
quota may increase based on your ECS usage. For more information about how to view
the quota, see Step 1: View resource quotas.
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 that you can run Cloud Assistant commands within in a region per day.
Procedure in the ECS console
- Log on to the ECS console.
- In the left-side navigation pane, choose .
- In the top navigation bar, select a region.
- On the Commands tab of the Cloud Assistant page, find the command that you want to run and click Create Task in the Actions column.
- In the Create Task panel, configure parameters.
- Click Create Task.