CodeDeploy 에이전트 설치하기

By | 2020년 3월 29일
Table of Contents

CodeDeploy 에이전트 설치하기

루비 등 필요한 라이브러리를 추가합니다.

sudo apt-get update
sudo apt-get install ruby
sudo apt-get install wget

설치파일을 다운받습니다.

# wget https://bucket-name.s3.region-identifier.amazonaws.com/latest/install
# https://docs.aws.amazon.com/codedeploy/latest/userguide/resource-kit.html#resource-kit-bucket-names
wget https://aws-codedeploy-ap-northeast-2.s3.ap-northeast-2.amazonaws.com/latest/install

설치합니다.

chmod +x ./install
sudo ./install auto

active (running) 가 확인될 때까지 stop, start 를 반복합니다.

sudo service codedeploy-agent status
sudo service codedeploy-agent start
sudo service codedeploy-agent status
sudo service codedeploy-agent stop
sudo service codedeploy-agent status
......
   Active: active (running) since Sun 2020-03-29 11:47:35 UTC; 2s ago
......

답글 남기기