AWS/SSM-Systems-Manager

sudo /etc/init.d/docker start

docker build -t ssm-agent-build-image .

docker run -it --rm --name ssm-agent-build-container -v pwd:/amazon-ssm-agent ssm-agent-build-image make build-release

Conditions for AWS SSM to work on instance

  1. Must be running the SSM agent, e.g. use Amazon image with it pre-loaded
  2. The Instance must have a Instance Profile/Policy with "AmazonSSMManagedInstanceCore"
  3. The SSM endpoint must be reachable for the instance, out to internet or PrivateLink.

    • ssm.region.amazonaws.com
    • ssmmessages.region.amazonaws.com
    • ec2messages.region.amazonaws.com