You can send remote commands to perform O&M operations on one or more instances without logging on to the instances.
Prerequisites
- The instances that are used to receive commands are in the Running state.
- The Cloud Assistant client is started on the instances. For more information, see Start, stop, or uninstall the Cloud Assistant client.
Background information
You must use Cloud Assistant to send and run remote commands, and the remote commands consume the quota of Cloud Assistant commands. For more information about Cloud Assistant and its limits, see Overview.Procedure
- Log on to the ECS console.
- In the left-side navigation pane, choose .
- In the top navigation bar, select a region.
- Use one of the following methods to send remote commands:
- To send a remote command to a single instance, find the instance on the Instances page and click the ID of the instance to go to the instance details page. Click the Remote Commands/Files tab and click Send Remote Commands.
- To send a remote command to multiple instances, go to the Cloud Assistant page by choosing Create or Run Command in the upper-right corner, and then select multiple instances in the Select Instances section of the Create Command panel. in the left-side navigation pane, click
- In the dialog box that appears, perform the following operations.Note If some instances run Linux and others run Windows, you must configure the instances based on their operating systems when you perform batch operations on multiple instances.