1 Answers
sudo yum install -y https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm [FOR INTEL]
sudo systemctl status amazon-ssm-agent
sudo systemctl enable amazon-ssm-agent (optional)
sudo systemctl start amazon-ssm-agent (optional)
https://docs.aws.amazon.com/systems-manager/latest/userguide/agent-install-al2.html
thanks for the tip
@Alexandre i was thinking the exact same! how come the SSM-user has privilege already.. so this mean we would need to get into the box first using SSH ( the first time ) install SSM agent in order to use session manager right ?
@behnan. Yes. In the lab, Faye used an Amazon Linux instance and those already comes with the agent pre-instaled.
For others (I tried with an Ubuntu) you will need to SSH to the instance and install the agent or bootstrap the agent during the instance initialization
It says in thee AWS documentation that the SSM Agent is alredy installed on several AMIs including Ubuntu 16.04, 18.04 – https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-install-ssm-agent.html