Executing a Command Using Amazon EC2 Run Command
You can run commands on EC2 instances using the Command History page in the Amazon EC2 console. You can also execute commands using the CLI, the Amazon EC2 Simple Systems Manager API Reference, or the AWS SDKs.

