Page cover

Install the CodeDeploy agent for Ubuntu Server

codedeploy-agent on ec2 instance

Steps:

sudo apt update
sudo apt install ruby-full
sudo apt install wget
cd /home/ubuntu
wget https://aws-codedeploy-ap-south-1.s3.ap-south-1.amazonaws.com/latest/install
chmod +x ./install
sudo ./install auto
  • Writing the output to a temporary log file is a workaround that should be used while we address a known bug with the install script on Ubuntu Server 20.04.

sudo ./install auto > /tmp/logfile
systemctl status codedeploy-agent
systemctl start codedeploy-agent # if services are stopped

Last updated