Certified Security - Specialty

Sign Up Free or Log In to participate!

CHAPTER 6.11 Session Manager Lab – Missing step

Just a comment.
In the Session Manager lab session, all works fine because the Amazon Linux that was used already comes with the SSM Agent pre-installed.
For other instances, it is necessary to manually install the SSM Agent in order for Session Manager to start working.

Tyler Slove

thanks for the tip

behnam.anisi

@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 ?

Alexandre Cezar

@behnan. Yes. In the lab, Faye used an Amazon Linux instance and those already comes with the agent pre-instaled.

Alexandre Cezar

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

Kirk Rohani

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

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

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?