Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Install SSSM Agent on Amazon Linux 2

## --------------
## Amazon Linux 2
## --------------
 
## Install AWS SSM Agent (Replace <region> with the region where your ec2 instance is hosted)
sudo yum install -y https://s3.<region>.amazonaws.com/amazon-ssm-<region>/latest/linux_amd64/amazon-ssm-agent.rpm
 
## Start and enable SSM agent
sudo systemctl enable amazon-ssm-agent
sudo systemctl start amazon-ssm-agent
sudo systemctl status amazon-ssm-agent
Source by cloudaffaire.com #
 
PREVIOUS NEXT
Tagged: #Install #SSSM #Agent #Amazon #Linux
ADD COMMENT
Topic
Name
5+2 =