New EC2 Run the Command - remote instance of
When you fell from a relatively static and homogeneous, with a small number of permanent and well-known server (or useAmazon Elastic Compute Cloud (EC2)Term called the computing environment of instances) migrated to larger, more dynamic and heterogeneous environment, you may want to consider in a new way to manage and control these instances.
New EC2 Run the Command
This new feature will help you in a simple and safe way to manage your instance (no matter how much you have instances).This feature is designed to support a variety of different business scenarios, including software installation, run special scripts, orMicrosoft PowerShellCommand, to the Windows Update Settings, and so on.You can start yourAWS Management Console(the AWS management console),AWS CLI;AWS Tools for Windows
PowerShell(applicable to Windows PowerShell AWS tools), andAWS SDKAccess to this feature.If you are now run PS1 script or single PowerShell commands to manage each Windows instance, now you can run on one or more instances the script or command.
Communicate with many users in their management requirements, we have developed this feature.Below is the conversation after the formation of some themes:
; On the basis of consistent but special demand across instances implementing configuration changes
; Across multiple instances to realize reliable and consistent results
; To change the perpetrators and change the control permissions
; About the clear audit action by path
; Do not need to complete the remote desktop (RDP) access to complete the above requirements of
Command execution is safe, reliable, convenient, scalable.You can create your own command, useAWS IAMFor fine-grained control execute permissions.For example, you can specify management command can be controlled strictly by a group of trusted users to perform in the specific instance of the group.All the commandsAWS
CloudTrailConcentration generates a log, to facilitate the audit.
The advantage of the Run Command
New the Run Command features designed to provide you with the following advantages:
Control/safety - you can use IAM policies and rules to limit access to commands and examples.This allows you to reduce the number of instances of direct access to the user.
Reliability - via the configuration changes to create a template for you, you can enhance the reliability of the system.This will enhance predictability and reduce configuration change over time at the same time, gives you more control.
Visibility - because the Run Command support Command tracking and also realized with CloudTrail integration, so you will have greater visibility for configuration changes.
Using simple - you can choose from a set of pre-defined commands, run, and then use the Console, CLI, or API to track their progress.
Can be customized, you can create a custom Command, to Run the Command in line with the requirements of your organization.
From EC2 Console to Run the Run Command
Run the Command can Run across all of your Windows instance, use existing EC2Config agent on the instance.Open the Console, select Commands, review using the Run Command a prerequisite for:
Click the Run a command, open the Run command the main page.You will see the run command given (if any) and run a command button: