SSM

Running commands on managed instances through Systems Manager: ssm:SendCommand and Session Manager shells under the instance's role.

1 நிமிட வாசிப்பு7 அக்., 2026 அன்று புதுப்பிக்கப்பட்டதுflorianamette1 பங்களிப்பாளர்
உங்கள் உதவியாளரிடம் கேளுங்கள் (MCP)GitHub இல் திருத்து

AWS Systems Manager (SSM) is a legitimate remote-administration channel, and it is one of the cleanest ways to run code on EC2 from the API alone. Any instance running the SSM agent with a role that allows it is reachable: no SSH key, no open port, no touching the metadata service. Command execution lands as root or SYSTEM, which then yields the instance role and on-host secrets.

What folds in here#

  • Run command: ssm:SendCommand to execute commands on one or many managed instances.
  • Session Manager: ssm:StartSession to open an interactive shell.

Finding managed instances#

bash
aws ssm describe-instance-information --query 'InstanceInformationList[].InstanceId'

References#