Amazon EC2 Run Command lets you remotely and securely manage servers or virtual machines running in your data center or on a cloud platform. Amazon EC2 Run Command provides a simple way of automating common administrative tasks like executing Shell scripts and commands on Linux, running PowerShell commands on Windows, installing software or patches, and more. Amazon EC2 Run Command allows you to execute these commands across multiple instances and provides visibility into the results, making it easy to manage configuration change across fleets of instances.

Amazon EC2 Run Command works with any instance or virtual machine across AWS, on-premises systems and even other cloud platforms. If you have hybrid environments that span on-premises and AWS, you now have a consistent experience to extend your scripts across locations. Through a single interface, you can now run scripts for both Windows and Linux operating systems running within Amazon EC2, VMware ESXi, Microsoft Hyper-V, and many other platforms.

Through integration with AWS Identity and Access Management (IAM), you can apply granular permissions to control the actions users can perform against instances. All actions taken with Run Command are recorded by AWS CloudTrail, allowing you to audit change throughout your environment.

Sign Up Now

Create a Free Account


Run Command provides a simple way of automating common administrative tasks such as installing or updating software, executing Linux scripts or commands, joining instances to a domain, or running PowerShell commands; allowing you to easily manage an entire fleet of EC2 instances.


Run Command is integrated with AWS Identity and Access Management (IAM) to allow you to control both the users and level of access, down to specific administrative tasks against different fleets of instances.


With Run Command you can improve the reliability of your workloads by consistently implementing, tracking, and auditing configuration changes across entire fleets of instances.


Using Run Command increases your visibility into configuration changes with easy command tracking and seamless integration with AWS CloudTrail for recording API call history.


In addition to offering predefined commands, Run Command allows you to create custom actions to easily perform the most common tasks required for your environment.

AWS Benefits Trade Capital

With Run Command you can manage configuration updates across virtual machines in a hybrid cloud implementation through a single interface.  You can run scripts across Windows and Linux operating systems running within Amazon EC2, Vmware ESXi, Microsoft Hyper-V and many other platforms.

Consistently installing, configuring, or uninstalling applications on remote servers is a critical administrative function. Run Command provides predefined commands to help simplify management of applications across an entire fleet of remote EC2 instances.

In order to simplify the task of making changes at scale, Run Command allows you to perform operating system changes, manage local users and permissions, and also provides support for all PowerShell and Linux commands.

If you need to frequently install and bootstrap software on your EC2 instances, Run Command provides an easy automation tool that can help you deploy configuration management solutions or install and configure 3rd party agents.

Execute custom commands or scripts that check for software updates, gather logs, evaluate certain parameters of your instances, and act upon any of this information that you gathered.

Run Command is available at no additional charge beyond the standard usage charges for Amazon EC2, Amazon S3, and other AWS services you may use.

Run Command is available in the following regions: US East (N. Virginia), US West (Oregon), US West (N. California), EU (Ireland), EU (Frankfurt), Asia Pacific (China), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Tokyo), Asia Pacific (Sydney), South America (Sao Paulo).

Run Command is supported on all versions of Windows Server, and on popular distributions of Linux. To get started with Run Command, visit Manage Amazon EC2 Instances Remotely.