본문 바로가기

퍼블릭 클라우드

[aws] ubuntu에 ssm agent 설치하기

728x90

ubuntu에 ssm agent 설치하기

mkdir /tmp/ssm
cd /tmp/ssm
wget https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/debian_amd64/amazon-ssm-agent.deb
sudo dpkg -i amazon-ssm-agent.deb
$ dpkg -i amazon-ssm-agent.deb
Selecting previously unselected package amazon-ssm-agent.
(Reading database ... 63640 files and directories currently installed.)
Preparing to unpack amazon-ssm-agent.deb ...
Preparing for install
-> Systemd detected
inactive
Failed to stop amazon-ssm-agent.service: Unit amazon-ssm-agent.service not loaded.
Unpacking amazon-ssm-agent (3.1.1927.0-1) ...
Setting up amazon-ssm-agent (3.1.1927.0-1) ...
Starting agent
Created symlink /etc/systemd/system/multi-user.target.wants/amazon-ssm-agent.service → /lib/systemd/system/amazon-ssm-agent.service.
sudo systemctl enable amazon-ssm-agent
systemctl status amazon-ssm-agent

amazon-ssm-agent --version
$ amazon-ssm-agent --version
SSM Agent version: 3.1.1927.0

 

참고URL

- snap으로 설치 : https://docs.aws.amazon.com/ko_kr/systems-manager/latest/userguide/agent-install-ubuntu-64-snap.html

 

728x90