How To Remotely Run Commands On An EC2 Instance With AWS Systems Manager
Within Amazon Web Services (AWS) System Manager you have the ability to execute commands remotely using the System Manager Run command to your EC2 instances. This service can also be used with on premise servers, in this video, we will cover the EC2 instances only. In this video Nick will take you through the steps required to execute Powershell commands like Get-Service, on your EC2 instances. You be see how to assign the correct privilege to an IAM (Identity Access Management) account, this will let you connect to the SSM Agent (Systems Manager Agent) on the windows EC 2 instance and execute a remote command from the EC2 console. Then view the output from that command.
Prerequisites include: AWS Account IAM User account This demo can be done in the free tier