Differences between revisions 2 and 3
Revision 2 as of 2021-10-07 08:17:07
Size: 522
Editor: PieterSmit
Comment:
Revision 3 as of 2021-10-07 08:23:02
Size: 666
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
 3. The SSM endpoint must be reachable for the instance.  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

AWS/SSM-Systems-Manager

sudo /etc/init.d/docker start

  • docker ps

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

AWS/SSM-Systems-Manager (last edited 2021-12-08 23:34:28 by PieterSmit)