728x90
Amazon Linux 2 인스턴스에 SSM Agent(Systems Manager Agent) 업데이트하기
테스트 환경
$ cat /etc/os-release
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
ssm agent(amazon-ssm-agent) 버전 확인
amazon-ssm-agent -version
$ amazon-ssm-agent -version
SSM Agent version: 3.0.1124.0
yum info 명령으로 ssm agent(amazon-ssm-agent) 버전 확인
yum info amazon-ssm-agent
$ yum info amazon-ssm-agent
Loaded plugins: extras_suggestions, fastestmirror, langpacks, priorities, update-motd
Loading mirror speeds from cached hostfile
* epel: d2lzkl7pfhq30w.cloudfront.net
247 packages excluded due to repository priority protections
Installed Packages
Name : amazon-ssm-agent
Arch : x86_64
Version : 3.0.1124.0
Release : 1.amzn2
Size : 108 M
Repo : installed
Summary : Manage EC2 Instances using SSM APIs
URL : http://docs.aws.amazon.com/ssm/latest/APIReference/Welcome.html
License : ASL 2.0
Description : This package provides Amazon SSM Agent for managing EC2 Instances using SSM APIs
Available Packages
Name : amazon-ssm-agent
Arch : x86_64
Version : 3.1.1732.0
Release : 1.amzn2
Size : 24 M
Repo : amzn2-core/2/x86_64
Summary : Manage EC2 Instances using SSM APIs
URL : http://docs.aws.amazon.com/ssm/latest/APIReference/Welcome.html
License : ASL 2.0
Description : This package provides Amazon SSM Agent for managing EC2 Instances using SSM APIs
728x90
ssm agent 업데이트
ssm agent(amazon-ssm-agent) 업데이트
yum update -y amazon-ssm-agent
ssm agent(amazon-ssm-agent) 버전 확인
amazon-ssm-agent -version
$ amazon-ssm-agent -version
SSM Agent version: 3.1.1732.0
ssm agent(amazon-ssm-agent) 시작
systemctl restart amazon-ssm-agent
ssm agent(amazon-ssm-agent) 상태 확인
systemctl status amazon-ssm-agent
참고URL
- AWS Systems Manager User Guide : Manually installing SSM Agent on Amazon Linux 2 instances
--- https://docs.aws.amazon.com/systems-manager/latest/userguide/agent-install-al2.html
--- https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-agent-get-version.html
--- https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-agent-status-and-restart.html
- aws knowledge center : AWS Systems Manager Agent(SSM Agent)를 설치하는 방법
728x90
'퍼블릭 클라우드' 카테고리의 다른 글
AWS CLI 설치하는 방법 (0) | 2023.02.17 |
---|---|
aws ec2 인스턴스(ubuntu)에 goofys를 설치하고 S3 버킷을 마운트하는 방법 (0) | 2023.02.17 |
aws gossm 설치 및 사용하기 (0) | 2023.02.06 |
Amazon Route 53(cli53) 명령어 도구 (0) | 2023.01.04 |
AWS CodeDeploy 에이전트 설치(codedeploy-agent install) (0) | 2023.01.03 |