Menu
AWS Systems Manager
User Guide

Running 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 Walkthrough: Use the AWS Tools for Windows PowerShell with Run Command or the examples in the Tools for Windows PowerShell Reference. For information about how to send commands using the AWS CLI, see the Walkthrough: Use the AWS CLI with Run Command 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.