반응형
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
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] ec2 인스턴스(amazon linux 2)에 kibana를 설치하기 (0) | 2023.02.16 |
---|---|
Amazon EC2 인스턴스에 Elasticsearch를 설치하는 방법 (0) | 2023.02.16 |
aws gossm 설치 및 사용하기 (0) | 2023.02.06 |
[클라우드] 클라우드 서비스 공급자(cloud provider) (0) | 2023.01.17 |
AWS CodeDeploy 에이전트 설치(codedeploy-agent install) (0) | 2023.01.03 |