Manually install SSM Agent on SUSE Linux Enterprise Server 12 instances
Connect to your SLES instance and perform the following steps to install the SSM Agent. Perform these steps on each instance that will run commands using Systems Manager.
To install SSM Agent on SUSE Linux Enterprise Server
-
Create a temporary directory on the instance.
mkdir /tmp/ssm
-
Change to the temporary directory.
cd /tmp/ssm
-
Run the following commands one at a time to download and run the SSM Agent installer.
region
represents the identifier for an AWS Region supported by AWS Systems Manager, such asus-east-2
for the US East (Ohio) Region. For a list of supportedregion
values, see the Region column in Systems Manager service endpoints in the Amazon Web Services General Reference.64-bit instances:
wget https://s3.
region
.amazonaws.com/amazon-ssm-region
/latest/linux_amd64/amazon-ssm-agent.rpmsudo rpm --install amazon-ssm-agent.rpm
-
Run the following command to determine if SSM Agent is running. The command should return the message
amazon-ssm-agent is running
.sudo systemctl status amazon-ssm-agent
-
Run the following commands if the previous command returns the message
amazon-ssm-agent is stopped
.-
Start the service.
sudo systemctl enable amazon-ssm-agent
sudo systemctl start amazon-ssm-agent
-
Check the status of the agent.
sudo systemctl status amazon-ssm-agent
-
If you're unable to download the agent from the Region you specify, use one of the global URLs below. Note that even though the following URLs show 'ec2-downloads-windows', these are the correct URLs for Linux operating systems.
-
Intel 64-bit (x86_64)
https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm
An updated version of SSM Agent is released whenever new capabilities are added to
Systems Manager or
updates are made to existing capabilities. If an older version of the agent is running
on an
instance, some SSM Agent processes can fail. For that reason, we recommend that you
automate
the process of keeping SSM Agent up-to-date on your instances. For information, see
Automating updates to SSM Agent. To be notified about SSM Agent updates, subscribe to the SSM Agent
Release Notes