Menu
Amazon EC2 Systems Manager
User Guide

Executing Commands Using Systems Manager Run Command

This section includes information about how to send commands from the Amazon EC2 console, and how to send commands to a fleet of instances by using the Targets parameter with EC2 tags. This section also includes information about how to cancel a command.

For information about how to send commands using Windows PowerShell, see Systems Manager Run Command Walkthrough Using the AWS Tools for Windows PowerShell or the examples in the Tools for Windows PowerShell Reference. For information about how to send commands using the AWS CLI, see the Systems Manager Run Command Walkthrough Using the AWS CLI or the examples in the SSM CLI Reference.

Important

If this is your first time using Run Command, we recommend executing commands against a test instance or an instance that is not being used in a production environment.