Louisa shows you how to
use EC2 Run Command
with an EC2 Linux instance


How do I set up and use Amazon EC2 Run Command with my Amazon EC2 instances running Linux?

First, make sure that the following is true of your resources:

If these conditions are true, begin by installing the SSM agent on your instance. For detailed instructions for each supported operating system, see Installing the SSM Agent.

After the SSM agent is installed, you can run commands on your EC2 instances from the EC2 console, AWS CLI, or the SSM API.

Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2016-01-27